[2.1.1748.20306] NullPointException on Uninstallation

Add-in Express™ Support Service
That's what is more important than anything else

[2.1.1748.20306] NullPointException on Uninstallation
 
Sven Heitmann




Posts: 193
Joined: 2004-08-23
Good Evening,

I get a NullPointException when I try to Deinstall my Product.
This Exception is thrwon by the Method ADXAddinModule::GetAppCommandBars()

Help please =)

Best regards,
Sven
Best regards,

Sven Heitmann
Posted 19 Nov, 2004 13:50:52 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Sven,

Do you use the BeforeUninstall or AfterUninstall events
of ADXAddinModule?
Posted 20 Nov, 2004 09:50:39 Top
Sven Heitmann




Posts: 193
Joined: 2004-08-23
No, I don't use them.
Best regards,

Sven Heitmann
Posted 20 Nov, 2004 16:15:11 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
Hi Sven,

When your product is being unistalled ADX is trying to create an instance of your addin to remove controls from a host application. At this moment the constructor of your addin is called and the Initialize method is called too. Probably in the Intialize method your code calls some addin methods incorrectly. In any case I will be able to help you more if I see your code.
Posted 22 Nov, 2004 07:12:09 Top
Sven Heitmann




Posts: 193
Joined: 2004-08-23
FYI I solved it now, it was a method I called in UninstallControls wich caused the trouble... I moved it an now it's working like a charm =)
Best regards,

Sven Heitmann
Posted 23 Nov, 2004 03:23:59 Top
Sergey Grischenko


Add-in Express team


Posts: 7187
Joined: 2004-07-05
I am glad for you. Good luck.
Posted 23 Nov, 2004 04:02:18 Top