Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagram throws System.NullReferenceException exception (Read 3297 times)
Yogendra
Junior Member
**
Offline


I Love MindFusion!

Posts: 68
Joined: Dec 27th, 2012
Diagram throws System.NullReferenceException exception
Feb 6th, 2013 at 12:56pm
Print Post  
I am working with mindfussion.diagramming diagram. i am facing a problem. i have design screen, in the design screen when I placed a control by selecting it and dragging it onto the diagram and as soon as I press right mouse button it throws the ob exception.

Exception as {System.NullReferenceException: Object reference not set to an instance of an object.
at MindFusion.Diagramming.Silverlight.InteractionState.Start()
at MindFusion.Diagramming.Silverlight.BehaviorBase.OnMouseMove(MouseEventArgs e)
at MindFusion.Diagramming.Silverlight.Diagram.x2c5d1da1234c3a6a(Object xe0292b9ed559da7d, MouseEventArgs xfbf34718e704c6bc)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)}


some time there is no exception but when you click on shape node then raised exception.

I am also use diagram.canceldraw() method but it did not work.

Please suggest some way to solve this issue.
Thanks in advance. Sad
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Diagram throws System.NullReferenceException exception
Reply #1 - Feb 6th, 2013 at 2:59pm
Print Post  
Please post in the diagram forum. Here is my test project, which does not throw exceptions upon right clicks:
https://mindfusion.eu/_samples/SL4_test.zip

What should I change to see the exception?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint