An exception of class NilObjectException was not handled FIX

reyes_cornelio
New Contributor

Error: An exception of class NilObjectException was not handled. The application must shut down.

Scenario: I was uploading the following file, using Jamf Admin, and it failed every time: Install macOS Big Sur.app.pkg

Fix/Solution: Rename the file, the extra dot is causing the error

FROM: Install macOS Big Sur.app.pkg
TO: Install macOS Big Sur app.pkg (REMOVED dot before "app")
d82bb6eb334c41e2952a5ff7f0b7038b

NOTE: This error and solution may not help you. Other scenarios could also cause this.

Also tried (non worked):
- Updating file through Jamf Pro --> Settings --> Packages --> New Package --> Upload --> would not upload at all
- Updating Jamf Admin
- Changing file permissions

1e2960e9fba248718d183cae7ff71552

6 REPLIES 6

dbrady
New Contributor

Thanks, that was my issue too.

rstasel
Valued Contributor

Just ran into this. it's specifically .app or in my case, .apps. =(

PoisonApple
New Contributor II

Does anyone have a fix for this? I am having the same issue

rstasel
Valued Contributor

Does the pkg you’re uploading have “.app” in the name?

PoisonApple
New Contributor II
No, I have tried with .apps I repackaged as .pkg, regular .pkg and .dmg – with different errors it turns out something is wrong my copy of Jamf Admin, it works fine on another system. Thank you for the reply!

rstasel
Valued Contributor

Cool, thanks!