MessageSend Fails first execution

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

MessageSend Fails first execution
 
Harald Holzmann




Posts: 39
Joined: 2017-08-08
On the first Execution after installing the add-on, the following exception occurs:

Detailed technical information follows:
---
(Inner Exception)
Date and Time: 30-Nov-17 14:35:16
Machine Name: xxxxx
IP Address: xxxxx
Current User: Dxxxxx

Application Domain: xxxxx
Assembly Codebase: file:///xxxxx.DLL
Assembly Full Name: xxxxxx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9d6266c107d4907c
Assembly Version: 1.0.0.0

Exception Source: MehrwerkToolbar
Exception Type: System.NullReferenceException
Exception Message: Object reference not set to an instance of an object.
Exception Target Site: MessageSend

---- Stack Trace ----
MehrwerkToolbar.MainToolBar.MessageSend(e As ADXIESendMessageEventArgs)
MehrwerkToolbar.DLL: N 0177 (0xB1) IL
AddinExpress.IE.ADXIEToolbar.DoOnSendMessage(msg As Message)
MehrwerkToolbar.DLL: N 0035 (0x23) IL



(Outer Exception)
Date and Time: 30-Nov-17 14:35:16
Machine Name: xxxx
IP Address: xxxx
Current User: xxxx

Application Domain: xxxxxxxx
Assembly Codebase: file:///C:/WINDOWS/assembly/GAC_MSIL/AddinExpress.IE/9.6.6130.0__4416dd98f0861965/AddinExpress.IE.dll
Assembly Full Name: AddinExpress.IE, Version=9.6.6130.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version: 9.6.6130.0

Exception Source:
Exception Type: AddinExpress.IE.ADXIEExternalException
Exception Message: An error has occurred in the code of the extension.

---- Stack Trace ----
Posted 30 Nov, 2017 08:58:44 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Hello Harald,

This issue occurs in your code. You can attach to process to find what occurs on the first run.


Andrei Smolin
Add-in Express Team Leader
Posted 30 Nov, 2017 09:55:11 Top
Harald Holzmann




Posts: 39
Joined: 2017-08-08
Hi Andrei Smolin,

is there a possibility to get further information where the error occurs (line of code or similar)? Where can i send the code to?

Thanks and kind regards,
Harald
Posted 30 Nov, 2017 10:35:34 Top
Andrei Smolin


Add-in Express team


Posts: 18793
Joined: 2006-05-11
Hello Harald,

You should build your code in the Debug configuration and make sure that the .PDB file(s) is located in the folder where your assembly locates.

Alternatively, you can comment out blocks of your code to find what causes the issue.

If the above doesn't help, you can send me your code to the support email address; find it in {Add-in Express installation folder}\readme.txt; please make sure your email contains a link to this topic.


Andrei Smolin
Add-in Express Team Leader
Posted 01 Dec, 2017 04:28:53 Top