Skip to main content
Question

An exception of class NilObjectException was not handled FIX

  • Mar 26, 2021 3:43 PM UTC
  • 6 replies
  • 233 views

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

6 replies

Forum|alt.badge.img+1
  • New Contributor
  • May 11, 2021 5:30 PM UTC

Thanks, that was my issue too.


rstasel
Forum|alt.badge.img+13
  • Valued Contributor
  • Jun 10, 2022 7:55 PM UTC

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


PoisonApple
Forum|alt.badge.img+1
  • New Contributor
  • Feb 6, 2023 12:50 PM UTC

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


rstasel
Forum|alt.badge.img+13
  • Valued Contributor
  • Feb 6, 2023 3:20 PM UTC

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
  • Feb 6, 2023 4:11 PM UTC

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
  • Feb 6, 2023 4:25 PM UTC
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!