Skip to main content
Question

An exception of class NilObjectException was not handled FIX


Forum|alt.badge.img+1

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

Forum|alt.badge.img+1
  • New Contributor
  • May 11, 2021

Thanks, that was my issue too.


rstasel
Forum|alt.badge.img+13
  • Valued Contributor
  • June 10, 2022

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


PoisonApple
Forum|alt.badge.img+1
  • New Contributor
  • February 6, 2023

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


rstasel
Forum|alt.badge.img+13
  • Valued Contributor
  • February 6, 2023
PoisonApple wrote:

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


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


PoisonApple
Forum|alt.badge.img+1
  • New Contributor
  • February 6, 2023
rstasel wrote:

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!

rstasel
Forum|alt.badge.img+13
  • Valued Contributor
  • February 6, 2023
PoisonApple wrote:
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! 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings