Author Topic: Application Error - Object variable or With block variable not set.  (Read 1038 times)

Offline vidockq

  • Newbie
  • *
  • Posts: 8
    • View Profile
We have had this error "Object variable or With block variable not set." appear on multiple applications in the past 3 weeks.
We had to delete the application and then redeploy it to fix it.

Can you help us with more information in regards to this error?

Offline Andrew Jimenez

  • Patch My PC - Support Engineer
  • Full Member
  • ***
  • Posts: 126
    • View Profile
Re: Application Error - Object variable or With block variable not set.
« Reply #1 on: August 12, 2020, 10:41:56 AM »
Hello,

Can you let me know exactly where you are seeing this error? In the applications themselves? In the PatchMyPC.log?

Offline vidockq

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Application Error - Object variable or With block variable not set.
« Reply #2 on: August 12, 2020, 11:51:42 PM »
Hello Andrew,

The only error we get in PatchMyPc.log is the following:
Component: Worker
Thread ID: 6
Entry: An error occurred while updating a package in SCCM: Object variable or With block variable not set. [System.NullReferenceException]

We saw the error poping in the notification mail sent when publishing occurs.
The latest one was today.

This is for ConfigMgr Applications only, with the settings Update exisitng applications metadata,deployment type... (Default)
« Last Edit: August 13, 2020, 01:15:48 AM by vidockq »

Offline Andrew Jimenez

  • Patch My PC - Support Engineer
  • Full Member
  • ***
  • Posts: 126
    • View Profile
Re: Application Error - Object variable or With block variable not set.
« Reply #3 on: August 13, 2020, 11:27:48 AM »
Could you please open a support case with us here: https://patchmypc.com/technical-support and send in the patchmypc.log? We'll take a deeper look at it and see if we can figure out what is going on here. Thanks!

Offline vidockq

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Application Error - Object variable or With block variable not set.
« Reply #4 on: August 14, 2020, 03:23:15 AM »
Done, thank you.