Cancelling Print Competitors in Competitors GUI throws NPE

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

Bug Description

Cancelling Print Competitors in Competitors GUI throws NPE

1. Go to Competitors GUI
2. Press Print Competitors button
3. Hit Cancel on export dialog box
NPE is thrown

18:06:32.546:INFO :Storage:Update complete, yielding...
java.lang.NullPointerException
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.PrintWriter.<init>(Unknown Source)
        at avscoreswt.gui.PrintCompetitors$3.mouseDown(PrintCompetitors.java:334)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
        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.Display.runDeferredEvents(Display.java:3823)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
        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:1103)
        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 :

Done.

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.