Skip to main content
Question

An exception of class NilObjectException was not handled FIX

  • March 26, 2021
  • 6 replies
  • 57 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
  • 7 replies
  • May 11, 2021

Thanks, that was my issue too.


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

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


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

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


rstasel
Forum|alt.badge.img+13
  • Valued Contributor
  • 338 replies
  • February 6, 2023

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
  • 5 replies
  • February 6, 2023

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
  • 338 replies
  • February 6, 2023
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!