Crash 2.8.10546

verschuren
Posts: 79
Joined: Wed Oct 28, 2015 8:40 am

Crash 2.8.10546

Post by verschuren » Tue Nov 22, 2016 3:22 pm

Hi,

I have a PowerVision crash that happens consistently when I press key 4 in the page designer to program it. I had an event mapped to this key, but I removed it in Programming. It shows Key Down.4 (Undefined) when you hover over it with the mouse. Is this the reason for the crash?

I'm running Windows 10 Pro
Error Message:

Object reference not set to an instance of an object.

PowerVision Configuration Studio Version:

2.8.10546

Environment:

Microsoft Windows NT 6.2.9200.0 Is64Bit: True

Error Location:

at PowerVision.WindowsClient.GaugeInformation.EditBezelKeyForm.SetInitialValues(TriggerMapping mapping, RadioButton notMapped, RadioButton disabled, RadioButton fireEvent, RadioButton goToView, LinkLabel eventName, LinkLabel goToViewName, EventEditButton eventButton)
at PowerVision.WindowsClient.GaugeInformation.EditBezelKeyForm.InitializeKeys(Layer layer, TriggerMap map, KeyDefinition selectedKey)
at PowerVision.WindowsClient.GaugeInformation.BezelKey.ShowMenu(Object sender, EventArgs e)
at PowerVision.WindowsClient.GaugeInformation.BezelKey.MouseDownHandler(Object sender, EventArgs e)
at System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.ButtonBase.OnMouseDown(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Mario Verschuren
Controls Integration
stalley
Enovation Controls Development
Enovation Controls Development
Posts: 618
Joined: Tue Mar 18, 2014 12:57 pm

Re: Crash 2.8.10546

Post by stalley » Tue Nov 22, 2016 3:49 pm

Hi Sara,

That is the problem. I solved it by duplicating the page view and remap all the keys. Once you validate the configuration you can solve all the broken connections and from there I could configure key 4.

You see I had the crash, so I had to redo a bunch and with every step I saved my config until I was stuck in a corner and had to redo my page view.

I just wanted to share the crash in case more people experience it.
Sara Talley
Software Engineer
Enovation Controls