Accessing an Event from Results GUI triggers NullPointerException

Bug #378152 reported by Ken McLean
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenScore
Invalid
Critical
Craig Mahony

Bug Description

Accessing an Event from Results GUI triggers NullPointerException

Steps to repeat
1) Select a meet
2) Enter the Results GUI
3) Then select an Event from the side panel
java.lang.NullPointerException is triggered.

Full error from debug:

java.lang.NullPointerException
        at avscoreswt.gui.ResultsEditSupport.<init>(ResultsTable.java:1376)
        at avscoreswt.gui.ResultsTable.<init>(ResultsTable.java:477)
        at avscoreswt.gui.ButtonComposite.<init>(ButtonComposite.java:755)
        at avscoreswt.gui.ResultsInput.<init>(ResultsInput.java:99)
        at avscoreswt.gui.EventSelectFrame$3.widgetSelected(EventSelectFrame.java:93)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
        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:183)
        at avscoreswt.gui.BaseFrame.start(BaseFrame.java:986)
        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:57)

Revision history for this message
Craig Mahony (cmahony) wrote : Re: [Bug 378152] [NEW] Accessing an Event from Results GUI triggersNullPointerException
Download full text (3.9 KiB)

This is due to an outdated version of FilterCriteria.java being used. The
version in the Cranbourne branch needs to be ported to the main branch.

Craig
----- Original Message -----
From: "Ken McLean" <email address hidden>
To: <email address hidden>
Sent: Tuesday, May 19, 2009 9:59 AM
Subject: [Bug 378152] [NEW] Accessing an Event from Results GUI
triggersNullPointerException

Public bug reported:

Accessing an Event from Results GUI triggers NullPointerException

Steps to repeat
1) Select a meet
2) Enter the Results GUI
3) Then select an Event from the side panel
java.lang.NullPointerException is triggered.

Full error from debug:

java.lang.NullPointerException
        at avscoreswt.gui.ResultsEditSupport.<init>(ResultsTable.java:1376)
        at avscoreswt.gui.ResultsTable.<init>(ResultsTable.java:477)
        at avscoreswt.gui.ButtonComposite.<init>(ButtonComposite.java:755)
        at avscoreswt.gui.ResultsInput.<init>(ResultsInput.java:99)
        at
avscoreswt.gui.EventSelectFrame$3.widgetSelected(EventSelectFrame.java:93)
        at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
        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:183)
        at avscoreswt.gui.BaseFrame.start(BaseFrame.java:986)
        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:57)

** Affects: openscore
     Importance: Critical
     Assignee: Craig Mahony (cmahony)
         Status: New

--
Accessing an Event from Results GUI triggers NullPointerException
https://bugs.launchpad.net/bugs/378152
You received this bug notification because you are a bug assignee.

Status in OpenScore: New

Bug description:
Accessing an Event from Results GUI triggers NullPointerException

Steps to repeat
1) Select a meet
2) Enter the Results GUI
3) Then select an Event from the side panel
java.lang.NullPointerException is triggered.

Full error from debug:

java.lang.NullPointerException
        at avscoreswt.gui.ResultsEditSupport.<init>(ResultsTable.java:1376)
        at avscoreswt.gui.ResultsTable.<init>(ResultsTable.java:477)
        at avscoreswt.gui.ButtonComposite.<init>(ButtonComposite.java:755)
        at avscoreswt.gui.ResultsInput.<init>(ResultsInput.java:99)
        at
avscoreswt.gui.EventSelectFrame$3.widgetSelected(EventSelectFrame.java:93)
        at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.wi...

Read more...

Revision history for this message
Craig Mahony (cmahony) wrote :

Should be fixed now and committed to trunk.

Changed in openscore:
status: New → Fix Committed
Revision history for this message
Ken McLean (kenmclean) wrote :

This is still occurring, and stopping me from testing anything related to results

java.lang.NullPointerException
        at avscoreswt.gui.ResultsEditSupport.<init>(ResultsTable.java:1376)
        at avscoreswt.gui.ResultsTable.<init>(ResultsTable.java:477)
        at avscoreswt.gui.ButtonComposite.<init>(ButtonComposite.java:755)
        at avscoreswt.gui.ResultsInput.<init>(ResultsInput.java:99)
        at avscoreswt.gui.EventSelectFrame$3.widgetSelected(EventSelectFrame.java:93)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
        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:183)
        at avscoreswt.gui.BaseFrame.start(BaseFrame.java:986)
        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:57)

Changed in openscore:
status: Fix Committed → Triaged
Revision history for this message
Craig Mahony (cmahony) wrote : Re: [Bug 378152] Re: Accessing an Event from Results GUI triggersNullPointerException
Download full text (3.7 KiB)

For some reason this does not affect me. However I put in some NPE catches.
See if it helps please. Fix committed.

Craig.
----- Original Message -----
From: "Ken McLean" <email address hidden>
To: <email address hidden>
Sent: Thursday, June 04, 2009 2:58 PM
Subject: [Bug 378152] Re: Accessing an Event from Results GUI
triggersNullPointerException

This is still occurring, and stopping me from testing anything related
to results

java.lang.NullPointerException
        at avscoreswt.gui.ResultsEditSupport.<init>(ResultsTable.java:1376)
        at avscoreswt.gui.ResultsTable.<init>(ResultsTable.java:477)
        at avscoreswt.gui.ButtonComposite.<init>(ButtonComposite.java:755)
        at avscoreswt.gui.ResultsInput.<init>(ResultsInput.java:99)
        at
avscoreswt.gui.EventSelectFrame$3.widgetSelected(EventSelectFrame.java:93)
        at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
        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:183)
        at avscoreswt.gui.BaseFrame.start(BaseFrame.java:986)
        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:57)

** Changed in: openscore
       Status: Fix Committed => Triaged

--
Accessing an Event from Results GUI triggers NullPointerException
https://bugs.launchpad.net/bugs/378152
You received this bug notification because you are a bug assignee.

Status in OpenScore: Triaged

Bug description:
Accessing an Event from Results GUI triggers NullPointerException

Steps to repeat
1) Select a meet
2) Enter the Results GUI
3) Then select an Event from the side panel
java.lang.NullPointerException is triggered.

Full error from debug:

java.lang.NullPointerException
        at avscoreswt.gui.ResultsEditSupport.<init>(ResultsTable.java:1376)
        at avscoreswt.gui.ResultsTable.<init>(ResultsTable.java:477)
        at avscoreswt.gui.ButtonComposite.<init>(ButtonComposite.java:755)
        at avscoreswt.gui.ResultsInput.<init>(ResultsInput.java:99)
        at
avscoreswt.gui.EventSelectFrame$3.widgetSelected(EventSelectFrame.java:93)
        at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
        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.r...

Read more...

Ken McLean (kenmclean)
Changed in openscore:
status: Triaged → Invalid
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.