Ticket #67 (closed defect: fixed)
Exception thrown after removing event (ScriptBuilder)
| Reported by: | jdalbey | Owned by: | bmcguffin |
|---|---|---|---|
| Priority: | High | Milestone: | 2017 Contract Final Report |
| Component: | ScriptBuilder GUI | Version: | |
| Severity: | Major | Keywords: | |
| Cc: |
Description
Start application.
Create new incident. In the Incident Editor that appears, click "CAD" button and drop it on timeline. In the Event Editor that appears add Cad Log Text of "Humpty Dumpty". Click in the upper right corner to close the window.
Click on the same event in the timeline, causing the Event Editor to reappear showing a second tab labeled "CAD Log 2". Click "Remove This Event". The second tab disappears. Click the window close button in the upper right corner. The application hangs and the console displays exception:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at event.editor.CADLogPanel.uponClose(CADLogPanel.java:54) at event.editor.frame.PropertyModel.closePanels(PropertyModel.java:130) at event.editor.frame.Editor$4.windowClosing(Editor.java:161) at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349) at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349) at java.awt.Window.processWindowEvent(Window.java:2054) at javax.swing.JFrame.processWindowEvent(JFrame.java:305) at java.awt.Window.processEvent(Window.java:2013)
Change History
Note: See
TracTickets for help on using
tickets.

Was able to reproduce the bug. Working on this now.