Exception handler fails

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, melvyn.harbour, dom.smith

Exception handler fails

Postby GieltjE » Fri Mar 07, 2014 2:25 pm

This scenario only happens when compiling an X64 program with control flow lower than strongest.

This happens on: ExceptionReporting.Report(exception) and the normal exception handling.

System.NullReferenceException: Object reference not set to an instance of an object.
at SmartAssembly.SmartExceptionsCore.UI.HeaderControl..ctor()
at SmartAssembly.SmartExceptionsCore.UI.HeaderControl..ctor(String )
at SmartAssembly.SmartExceptionsWithUI.ExceptionReportingForm..ctor(UnhandledExceptionHandler , ReportExceptionEventArgs )
at SmartAssembly.SmartExceptionsWithUI.UnhandledExceptionHandlerWithUI.OnReportException(ReportExceptionEventArgs )
at SmartAssembly.SmartExceptionsCore.UnhandledExceptionHandler.ReportException(Exception , Boolean , Boolean )

Edit:

Found the culprit, setting debug info to Full in visual studio fixes it, the weird thing is that X84 works fine with pdb only
GieltjE
 
Posts: 13
Joined: Sat Aug 24, 2013 1:51 pm

Postby Chris.Allen » Mon Mar 10, 2014 2:52 pm

If you could send a sample reproduction project into us at support@red-gate.com we would investigate this.
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm


Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 2 guests