From: JIRA (f. A. M. ) <ji...@pc...> - 2011-03-10 18:07:38
|
[5.17.7-Dev] Gamemode switching causing NPE ------------------------------------------- Key: CODE-536 URL: http://jira.pcgen.org/browse/CODE-536 Project: Code Issue Type: Bug Affects Versions: Not Released Reporter: Andrew Maitland I loaded up a pathfinder gamemode, made a monk. closed the character, switch gamemode to 35e and I see this in my console. 10:05:36.332 SEVERE AWT-EventQueue-1 PCGen_Frame1:2939 Uncaught error - ignoring java.lang.NullPointerException at pcgen.core.GameMode.getTabName(GameMode.java:2570) at pcgen.gui.tabs.InfoSummary.getTabName(InfoSummary.java:564) at pcgen.gui.CharacterInfo.refreshCharInfoTabs(CharacterInfo.java:198) at pcgen.gui.PCGen_Frame1.refreshCharInfoTabs(PCGen_Frame1.java:3064) at pcgen.gui.GameModes.updateMenu(GameModes.java:286) at pcgen.gui.sources.SourceSelectionUtils.changeGameMode(SourceSelectionUtils.java:69) at pcgen.gui.GameModes$CheckBoxListener.actionPerformed(GameModes.java:332) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:269) at javax.swing.AbstractButton.doClick(AbstractButton.java:302) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232) at java.awt.Component.processMouseEvent(Component.java:5517) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5282) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3984) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3819) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1791) at java.awt.Component.dispatchEvent(Component.java:3819) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent(PCGen_Frame1.java:2934) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.pcgen.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |