| Author |
Message |
cynicszm
Joined: 04 Jul 2007 Posts: 5
|
Posted: Mon Mar 05, 2012 12:22 pm Post subject: NullReferenceException SmartExceptionsCore.ErrorReportSender |
|
|
I'm using SmartAssembly version 6.6.2.35 Professional to obfuscate components of a WPF App. which was working fine with an older version of SA.
Now when I open part of the system I get the following error:
System.NullReferenceException: Object reference not set to an instance of an object.
at SmartAssembly.SmartExceptionsCore.ErrorReportSender..ctor(Guid userId, Exception currentException, IWebProxy proxy)
at
SmartAssembly.SmartExceptionsCore.UnhandledExceptionHandler.ReportException(Exception exception, Boolean canContinue, Boolean manuallyReported)
Any suggestions appreciated,
Thanks
John |
|
| Back to top |
|
 |
Chris.Allen
Joined: 12 Mar 2009 Posts: 454
|
Posted: Tue Mar 06, 2012 2:44 pm Post subject: Re: NullReferenceException SmartExceptionsCore.ErrorReportSender |
|
|
| cynicszm wrote: |
Now when I open part of the system I get the following error:
System.NullReferenceException: Object reference not set to an instance of an object.
at SmartAssembly.SmartExceptionsCore.ErrorReportSender..ctor(Guid userId, Exception currentException, IWebProxy proxy)
at
SmartAssembly.SmartExceptionsCore.UnhandledExceptionHandler.ReportException(Exception exception, Boolean canContinue, Boolean manuallyReported)
|
I'm perplexed- it seems as though smartassembly is simply catching and throwing this null-reference exception. What happens if you analyse the report- do you get a stack trace with local values? |
|
| Back to top |
|
 |
cynicszm
Joined: 04 Jul 2007 Posts: 5
|
Posted: Tue Mar 06, 2012 6:11 pm Post subject: |
|
|
I don't get a report. Just a message box with the error message above when opening a grid. The code base hasn't changed since upgrading from an older (working) version of SA
Since upgrading to 6.6.2.35 I've also started receiving multiple OutOfMemoryExceptions
Using DevExpress 11.2.8 WPF components and Entity Framework 4.0.
All the problems go away if I disable the SmartAssembly build task.
I will rebuild the SA projects and with the most basic options and see if that helps, and see if I can get a small project to reproduce the problem. |
|
| Back to top |
|
 |
Chris.Allen
Joined: 12 Mar 2009 Posts: 454
|
Posted: Thu Mar 08, 2012 6:09 pm Post subject: |
|
|
| That sounds like a very good idea- I have not yet heard of symptoms like the ones you are having... |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group