NullReferenceException after Outlook is closed while using ActiveSync

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

NullReferenceException after Outlook is closed while using ActiveSync
Issues relating to restarting Outlook 
Nick Randolph




Posts: 14
Joined: 2007-02-13
Issues were originally flagged in this forum post (http://www.add-in-express.com/forum/read.php?FID=5&TID=1820&MID=8525) which a subsequent build fixed. However we are now seeing similar issues when working with computers running Outlook and ActiveSync. The steps for repro are:

1) Run Outlook with Addin-express application installed (and ActiveSync installed)
2) Attach device (previously setup to sync with local PC)
3) Close Outlook - this will not terminate the Addin-express application
4) Start Outlook again
>> AddinExpress Exception raised (details below)

This issue is quite signficant as it will prevent adoption by our clients that regularly use ActiveSync (and the Windows Mobile Device Center under Vista) to synchronise their mobile devices with Outlook. We suspect that this issue goes beyond ActiveSync in that any 3rd party that prevents Outlook from exiting will result in this exception being raised the next time Outlook is executed.


Exception details
System.NullReferenceException occurred
Message="Object reference not set to an instance of an object."
Source="AddinExpress.OL.2005"
StackTrace:
at AddinExpress.OL.ADXOlFormsManager.AddWindowForSearching(IntPtr HostHandle, AdxItemType ItemType)

Stack Trace
> AddinExpress.OL.2005.dll!AddinExpress.OL.ADXOlFormsManager.AddWindowForSearching(System.IntPtr HostHandle = 919546, AddinExpress.OL.AdxItemType ItemType = OlNavigationPane) + 0x4ed bytes
AddinExpress.OL.2005.dll!AddinExpress.OL.ADXOlFormsManager.AddExplorerWindowForSearching(System.IntPtr HostHandle = 919546, AddinExpress.OL.AdxItemType ItemType = OlNavigationPane) + 0x22 bytes
AddinExpress.OL.2005.dll!AddinExpress.OL.ADXOlFormsManager.AddExplorerWindowsForSearching(AddinExpress.OL.ADXOlExplorerArguments ExplorerArgs = {AddinExpress.OL.ADXOlExplorerArguments}) + 0x103 bytes
AddinExpress.OL.2005.dll!AddinExpress.OL.ADXOlFormsManager.DoExplorerNew(AddinExpress.OL.ADXOlExplorerArguments ExplorerArgs = {AddinExpress.OL.ADXOlExplorerArguments}) + 0x5c bytes
AddinExpress.OL.2005.dll!AddinExpress.OL.OlExplorersEvents_SinkHelper.DoNewExplorer(object sender = {AddinExpress.OL.OlExplorersEvents_SinkHelper}, object explorer = {System.__ComObject}) + 0x6d bytes
AddinExpress.OL.2005.dll!AddinExpress.OL.OlExplorersEvents_SinkHelper.AddinExpress.OL.IExplorersEvents.NewExplorer(object explorer = {System.__ComObject}) + 0x20 bytes
Posted 06 Jun, 2007 03:44:28 Top
Fedor Shihantsov


Guest


Hello Nick,

This exception fixed in version 3.5.1872 (Premium Build)
What version of Add-in Express do you use?

P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 06 Jun, 2007 05:08:03 Top
Nick Randolph




Posts: 14
Joined: 2007-02-13
Out currently released product uses version 3.3.1867.2005. Do you know if there is a way around this issue without upgrading to the latest version of Add-in Express? The reason is that to upgrade to a new version requires us to put our product through our entire QA process, especially in light of some breaking changes that we have experienced with previous upgrades of this product.

Any assistance or a work around with this current version would be greatly appreciated.

Thanks
Posted 06 Jun, 2007 10:56:48 Top
Andrei Smolin


Add-in Express team


Posts: 18794
Joined: 2006-05-11
Hello Nick,

Do you know if there is a way around this issue without upgrading to the latest version of Add-in Express?


No chances, sorry.

We cannot support different versions of the same product. Hope you understand such a position.


Andrei Smolin
Add-in Express Team Leader
Posted 06 Jun, 2007 11:37:50 Top
Nick Randolph




Posts: 14
Joined: 2007-02-13
Ok, will have to look at upgrading to the next version. It was just an outside hope that there was a cludge/work around that could be retrofitted to an existing application.
Posted 06 Jun, 2007 12:24:26 Top
Nick Randolph




Posts: 14
Joined: 2007-02-13
Where's this 3.5 build - all I can see is 3.4?
Posted 06 Jun, 2007 20:36:03 Top
Andrei Smolin


Add-in Express team


Posts: 18794
Joined: 2006-05-11
Nick,

Sorry, there were some misunderstandings among us and it appeared that we published a Premium build labelled as 3.5.xxxx (instead of 3.4.xxxx). Please download it in the Premium Zone. Pay attention to the build number: 3.4.1872.

I've just sent you direct links.


Andrei Smolin
Add-in Express Team Leader
Posted 07 Jun, 2007 01:18:46 Top