Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic strange error in visual studio (Read 3184 times)
maxnetpromo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 21
Joined: Mar 5th, 2006
strange error in visual studio
Apr 5th, 2006 at 8:39am
Print Post  
i am repeatedley getting an error in visual studio, mostly when i have 2 components and join them together with an arrow. This happens bothe wheh i do it with a mouse (during testing) and programatically. the error i get is the following:

An unhandled exception of type 'System.NullReferenceException' occurred in system.windows.forms.dll

Additional information: Object reference not set to an instance of an object.


I know the error is not direcly related to flowchart.NET as it appears to be in the system.windows.forms.dll. I also tried to trace the error in the disassambler and it seems to be located here:

0000000b  cmp         dword ptr [ecx],ecx

Address: System.Windows.Forms.ToolTip.GetHandleCreated

The error does not occur when i build the solution in debug mode and run it outside of visual studio. However when i build the application in release mode and run it outside VS it still occurs.

any tips pls
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: strange error in visual studio
Reply #1 - Apr 5th, 2006 at 9:18am
Print Post  
What version of Visual Studio do you use ? What is displayed there in the call stack window when the exception happens ?
  
Back to top
 
IP Logged
 
maxnetpromo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 21
Joined: Mar 5th, 2006
Re: strange error in visual studio
Reply #2 - Apr 5th, 2006 at 12:11pm
Print Post  
I got a stack trace in a messagebox, but cannot select its text to paste it in the forum.

i will have to send you the image by mail if that is ok.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: strange error in visual studio
Reply #3 - Apr 5th, 2006 at 12:38pm
Print Post  
yes please, email it to support@mindfusion.org
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: strange error in visual studio
Reply #4 - Apr 5th, 2006 at 12:45pm
Print Post  
Do you call any form or control methods from other threads?
  
Back to top
 
IP Logged
 
maxnetpromo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 21
Joined: Mar 5th, 2006
Re: strange error in visual studio
Reply #5 - Apr 15th, 2006 at 6:38am
Print Post  
no i do not
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: strange error in visual studio
Reply #6 - Apr 17th, 2006 at 6:23am
Print Post  
could you email us the release .exe file ?
  
Back to top
 
IP Logged
 
maxnetpromo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 21
Joined: Mar 5th, 2006
Re: strange error in visual studio
Reply #7 - May 16th, 2006 at 5:29pm
Print Post  
sorry.... a bit late.

yes.. ok.. i will try to disable the database aspects of it, so i doesn't perform andy db operations

  
Back to top
 
IP Logged
 
maxnetpromo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 21
Joined: Mar 5th, 2006
Re: strange error in visual studio
Reply #8 - May 16th, 2006 at 6:08pm
Print Post  
actually i disabled the db part and it works....

I filtered the error to be happening when saving the properties of the arrow object in an object oriented database, namly DB4o.

the thing is that the code snippet is within a try/catch block and its not getting detected.

anyway... for now i disabled the function and the program works fine.

10x
« Last Edit: May 16th, 2006 at 7:40pm by maxnetpromo »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint