Skip to main content

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")



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



Thanks, that was my issue too.


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


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


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


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


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


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!
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!

Cool, thanks!