How can we help you today? How can we help you today?

Object reference not set to an instance of an object.

I might have caused this by Saving a project while it was still trying to render a diagram.

I switched from Circular to Hierarchic and after waiting around 20 minutes for the diagram to appear I saved the project, then closed the application.

On re-opening the project was this error was thrown:

SQL Dependency Tracker - Beta has encountered an unexpected condition.

Object reference not set to an instance of an object.
NullReferenceException

at _119._1(IDependency )
at _119._3(IDatabaseObjectWrapper )
at _119._4(_108 )
at _115.LoadFromDisk(String fileName, IDataSourceFactory dataSourceFactory)
at _146._1(IWin32Window , String )
at _146._4(IWin32Window )
at _147._9(Object , EventArgs )
at _11._1(Object , _25 )
at _23._3(Object , MouseEventArgs )
at DevExpress.XtraGrid.Views.Base.BaseView.RaiseMouseUp(MouseEventArgs e)
at DevExpress.XtraGrid.Views.Grid.Handler.GridHandler.OnMouseUp(MouseEventArgs ev)
at DevExpress.Utils.Controls.BaseHandler.ProcessEvent(EventType etype, Object args)
at DevExpress.XtraGrid.Views.Base.Handler.BaseViewHandler.ProcessEvent(EventType etype, Object args)
at DevExpress.XtraGrid.GridControl.OnMouseUp(MouseEventArgs ev)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
nigwil
0

Comments

3 comments

  • Dan J Archer
    Dear nigwil,

    Thanks for that, we'll look into it.

    Regards,
    Dan
    Dan J Archer
    0
  • nigwil
    I dragged a .sdvproj onto a short-cut to the RGDT and it produced this error:

    SQL Dependency Tracker - Beta has encountered an unexpected condition.

    Object reference not set to an instance of an object.
    NullReferenceException

    at _80._1(_81 )
    at _80._1(Graphics , IGraphNode )
    at _80.CalculateSize(GraphPanel owner, Graphics g, IGraphNode node)
    at RedGate.DependencyViewer.Graph.GraphPanel._3()
    at RedGate.DependencyViewer.Graph.GraphPanel._4()
    at RedGate.DependencyViewer.Graph.GraphPanel.set_DataModel(IGraphDataModel value)
    at _74._1(GraphPanel )
    at _119..ctor(_115 project, GraphPanel panel)
    at _115..ctor()
    at _146._1(IWin32Window )
    at _116._2(Object )
    nigwil
    0
  • Bart Read
    Hi Nigel,


    Thanks for this: we'll take a look at it. Definitely something wrong there. :-S


    Cheers,
    Bart Read
    0

Add comment

Please sign in to leave a comment.