| Author |
Message |
garethhayter
Joined: 20 Apr 2010 Posts: 31
|
Posted: Thu Dec 22, 2011 10:17 pm Post subject: Error in HeaderControl ctor |
|
|
I'm using version 6.5 with a custom UI. When an unhandled exception occurs, the exception reporting form no longer displays due to an internal exception in the SmartAssembly code:
NullReferenceException in SmartAssembly.SmartExceptionsCore.UI.HeaderControl.ctor()
Any ideas about how to fix this? I've recompiled the custom UI with the 6.5 assemblies.
Thanks,
Gareth. _________________ Gareth Hayter |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Tue Dec 27, 2011 3:51 pm Post subject: |
|
|
Hi Gareth,
That is not a lot of information to go on. Did you try rebuilding with diagnostic information and see if you can get an error report from the assembly when it fails? _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Wed Jan 04, 2012 2:17 pm Post subject: |
|
|
Sorry, but I can't see anything in the constructor that would cause a null-reference, except possibly something odd to do with fonts or system colors.
Can you get the complete stack trace from this application?
If you're not having any luck with the self-diagnostic, you can try attaching the Red Gate debugger to the protected version of the assembly. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Tue Jan 10, 2012 3:15 pm Post subject: |
|
|
Do you still have this problem if you run the program as administrator? I think it may be trying to get the application icon out of a different assembly. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
garethhayter
Joined: 20 Apr 2010 Posts: 31
|
Posted: Wed Jan 18, 2012 11:43 pm Post subject: |
|
|
Hi Brian. Sorry about the delay in my reply. I realised that I had the .Net 4.5 preview installed on my machine as well, which is supposed to install side-by-side with 4.0. When I uninstalled 4.5 and repaired 4.0 then this error went away, although I now have another error which I'll report separately.
Thanks for your help with this.
By the way, your Red Gate Debugger is a fantastic tool.
Kind regards,
Gareth. _________________ Gareth Hayter |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Thu Jan 19, 2012 10:18 am Post subject: |
|
|
Hi Gareth,
Thanks for the complement - Red Gate are looking into doing some new and exciting stuff with the MS Debugger Engine, which will hopefully benefit a lot of people.
Sounds to me like you had a problem with incompatible resources, in the end. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
claus.net
Joined: 26 May 2011 Posts: 2
|
Posted: Wed Nov 14, 2012 9:57 am Post subject: |
|
|
Brian, could you please be more specific what you mean by "incompatible resources"? I have the problem as well and I really don't want to uninstall .NET Framework 4.5, nor should I have to imo.
I'm targeting .NET 4.0. |
|
| Back to top |
|
 |
|