Exception when resizing a Frame

Hey,

Not really sure when that happens, but I have noticed a bunch of times already that when resizing a Frame with the “frame settings bar” open, this Exception is thrown from time to time :

NullReferenceException: "Object reference not set to an instance of an object."
    StackTrace:
        VL.GraphicalEditor.Skia.GraphElement { public virtual void MoveToFront() { ... } } 
        VL.Lang.View.ViewHelpers { public static VL.Core.Viewer.IMouseEventHandler GetEditorHandler(VL.Lang.View.View parentView, VL.Core.Viewer.VMouseEventArgs args) { ... } } 
        VL.Lang.View.CanvasView+CanvasDecisionMouseHandler { private VL.Core.Viewer.IMouseEventHandler SelectDownMouseHandler(VL.Core.Viewer.VMouseEventArgs downArg) { ... } } 
        VL.Lang.View.CanvasView+CanvasDecisionMouseHandler { public virtual VL.Core.Viewer.IMouseEventHandler MouseDown(VL.Core.Viewer.VMouseEventArgs arg) { ... } } 
        VL.Lang.View.CanvasView { private void HandleMouseDown(object sender, VL.Core.Viewer.VMouseEventArgs e) { ... } } 
        System.Windows.Forms.Control { private void WmMouseDown(System.Windows.Forms.Message& m, System.Windows.Forms.MouseButtons button, int clicks) { ... } } 
        System.Windows.Forms.Control { protected virtual void WndProc(System.Windows.Forms.Message& m) { ... } } 
        System.Windows.Forms.ScrollableControl { protected virtual void WndProc(System.Windows.Forms.Message& m) { ... } } 
        VL.Skia.SkiaGLControl { protected virtual void WndProc(System.Windows.Forms.Message& m) { ... } } 

See repro gif :

frameexception

Seeing that now on 5.3-0002 but seen that in previous previews as well.

Cheerzzzz

i am quite impressed how you seemingly effortlessly manage to find and click the resize spot on these :)))

1 Like

Hey hey, just to let you know that in recent previews (currently looking at 5.3-0071), this behavior randomly shows up when selecting/dragging text comments.

Could not find a pattern so far, it also happens when clicking an empty area of the patch.

Error
NullReferenceException: "Object reference not set to an instance of an object."
    StackTrace:
        VL.GraphicalEditor.Skia.GraphElement { public virtual void MoveToFront() { ... } } 
        VL.Lang.View.ViewHelpers { public static VL.Core.Viewer.IMouseEventHandler GetEditorHandler(VL.Lang.View.View parentView, VL.Core.Viewer.VMouseEventArgs args) { ... } } 
        VL.Lang.View.CanvasView+CanvasDecisionMouseHandler { private VL.Core.Viewer.IMouseEventHandler SelectDownMouseHandler(VL.Core.Viewer.VMouseEventArgs downArg) { ... } } 
        VL.Lang.View.CanvasView+CanvasDecisionMouseHandler { public virtual VL.Core.Viewer.IMouseEventHandler MouseDown(VL.Core.Viewer.VMouseEventArgs arg) { ... } } 
        VL.Lang.View.CanvasView { private void HandleMouseDown(object sender, VL.Core.Viewer.VMouseEventArgs e) { ... } } 
        System.Windows.Forms.Control { private void WmMouseDown(System.Windows.Forms.Message& m, System.Windows.Forms.MouseButtons button, int clicks) { ... } } 
        System.Windows.Forms.Control { protected virtual void WndProc(System.Windows.Forms.Message& m) { ... } } 
        System.Windows.Forms.ScrollableControl { protected virtual void WndProc(System.Windows.Forms.Message& m) { ... } } 
        VL.Skia.SkiaGLControl { protected virtual void WndProc(System.Windows.Forms.Message& m) { ... } } 

Edit : looks like if it has happened once, it always does when one focuses the IDE.

Thanks. After some clicks managed to repro it on our side as well. Fix in upcoming.

1 Like