Results menu item triggers IllegalArgumentException in Heat button

Bug #412816 reported by Ken McLean
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenScore
Fix Released
Medium
Craig Mahony

Bug Description

Results menu item triggers IllegalArgumentException in Heat button

1. Choose a heat with results
2. Hit the Results item on the main context menu
All the images for the heat buttons disappear, and the following is triggered for every heat button (ie. triggered five times for five heats):

java.lang.IllegalArgumentException: Argument cannot be null
        at org.eclipse.swt.SWT.error(SWT.java:3761)
        at org.eclipse.swt.SWT.error(SWT.java:3695)
        at org.eclipse.swt.SWT.error(SWT.java:3666)
        at org.eclipse.swt.graphics.GC.setForeground(GC.java:4177)
        at avscoreswt.gui.ButtonComposite$8.paintControl(ButtonComposite.java:621)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:217)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
        at org.eclipse.swt.widgets.Widget.wmPaint(Widget.java:2156)
        at org.eclipse.swt.widgets.Control.WM_PAINT(Control.java:4352)
        at org.eclipse.swt.widgets.Control.windowProc(Control.java:3842)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2371)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3420)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
        at org.eclipse.jface.window.Window.open(Window.java:801)
        at avscoreswt.gui.BaseFrame.run(BaseFrame.java:191)
        at avscoreswt.gui.BaseFrame.start(BaseFrame.java:1102)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at avscoreswt.OpenScore.main(OpenScore.java:62)

Ken McLean (kenmclean)
Changed in openscore:
milestone: none → heatwave
Revision history for this message
Craig Mahony (cmahony) wrote :

Fix committed

Changed in openscore:
status: New → Fix Committed
Ken McLean (kenmclean)
Changed in openscore:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.