#323 Exception when adding to a star group

Defect
closed-works-for-me
David Benn
9
2013-03-27
2012-06-18
David Benn
No

When adding the star U Sco to an existing "Novas" star group with a single other member (T Pyx), I saw this exception on the console (via ant shell run):

run:
[java] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
[java] at java.util.TreeMap.getEntry(TreeMap.java:324)
[java] at java.util.TreeMap.containsKey(TreeMap.java:209)
[java] at org.aavso.tools.vstar.ui.resources.StarGroups.doesStarExistInGroup(Unknown Source)
[java] at org.aavso.tools.vstar.ui.dialog.prefs.StarGroupManagementPane$3.actionPerformed(Unknown Source)
[java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
[java] at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
[java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
[java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
[java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
[java] at java.awt.Component.processMouseEvent(Component.java:6375)
[java] at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
[java] at java.awt.Component.processEvent(Component.java:6140)
[java] at java.awt.Container.processEvent(Container.java:2083)
[java] at java.awt.Component.dispatchEventImpl(Component.java:4737)
[java] at java.awt.Container.dispatchEventImpl(Container.java:2141)
[java] at java.awt.Component.dispatchEvent(Component.java:4565)
[java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
[java] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
[java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
[java] at java.awt.Container.dispatchEventImpl(Container.java:2127)
[java] at java.awt.Window.dispatchEventImpl(Window.java:2482)
[java] at java.awt.Component.dispatchEvent(Component.java:4565)
[java] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:684)
[java] at java.awt.EventQueue.access$000(EventQueue.java:85)
[java] at java.awt.EventQueue$1.run(EventQueue.java:643)
[java] at java.awt.EventQueue$1.run(EventQueue.java:641)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
[java] at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
[java] at java.awt.EventQueue$2.run(EventQueue.java:657)
[java] at java.awt.EventQueue$2.run(EventQueue.java:655)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
[java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:654)
[java] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
[java] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
[java] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
[java] at java.awt.Dialog$1.run(Dialog.java:1044)
[java] at java.awt.Dialog$3.run(Dialog.java:1096)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.awt.Dialog.show(Dialog.java:1094)
[java] at java.awt.Component.show(Component.java:1584)
[java] at java.awt.Component.setVisible(Component.java:1536)
[java] at java.awt.Window.setVisible(Window.java:841)
[java] at java.awt.Dialog.setVisible(Dialog.java:984)
[java] at org.aavso.tools.vstar.ui.dialog.AbstractOkCancelDialog.showDialog(Unknown Source)
[java] at org.aavso.tools.vstar.ui.MenuBar$7.actionPerformed(Unknown Source)
[java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
[java] at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
[java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
[java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
[java] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
[java] at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
[java] at java.awt.Component.processMouseEvent(Component.java:6375)
[java] at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
[java] at java.awt.Component.processEvent(Component.java:6140)
[java] at java.awt.Container.processEvent(Container.java:2083)
[java] at java.awt.Component.dispatchEventImpl(Component.java:4737)
[java] at java.awt.Container.dispatchEventImpl(Container.java:2141)
[java] at java.awt.Component.dispatchEvent(Component.java:4565)
[java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
[java] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280)
[java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
[java] at java.awt.Container.dispatchEventImpl(Container.java:2127)
[java] at java.awt.Window.dispatchEventImpl(Window.java:2482)
[java] at java.awt.Component.dispatchEvent(Component.java:4565)
[java] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:684)
[java] at java.awt.EventQueue.access$000(EventQueue.java:85)
[java] at java.awt.EventQueue$1.run(EventQueue.java:643)
[java] at java.awt.EventQueue$1.run(EventQueue.java:641)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
[java] at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
[java] at java.awt.EventQueue$2.run(EventQueue.java:657)
[java] at java.awt.EventQueue$2.run(EventQueue.java:655)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
[java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:654)
[java] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
[java] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
[java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
[java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Discussion

  • David Benn
    David Benn
    2013-03-27

    Adam tried to replicate this and couldn't; neither could I. Closing.

     
  • David Benn
    David Benn
    2013-03-27

    • status: open --> closed-works-for-me