Stack dump on creating new character

Description

Create a character, Close that character via the "x" on the tab. Create a new character, get this:

21:05:28.965 SEVERE AWT-EventQueue-0 CharacterManager:118 Unable to create character with data DataSet [gameMode=Pathfinder_RPG, campaigns=[Ultimate Magic, Pathfinder RPG for Game Masters]]
java.lang.NullPointerException
at pcgen.gui2.facade.CharacterFacadeImpl.isQualifiedFor(CharacterFacadeImpl.java:3983)
at pcgen.gui2.tabs.SummaryInfoTab$InfoBoxRenderer.getListCellRendererComponent(SummaryInfoTab.java:1086)
at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1361)
at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1311)
at javax.swing.plaf.basic.BasicListUI$Handler.valueChanged(BasicListUI.java:2623)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
at javax.swing.DefaultListSelectionModel.removeSelectionIntervalImpl(DefaultListSelectionModel.java:576)
at javax.swing.DefaultListSelectionModel.clearSelection(DefaultListSelectionModel.java:420)
at javax.swing.JList.clearSelection(JList.java:2045)
at javax.swing.JList.setModel(JList.java:1679)
at javax.swing.plaf.basic.BasicComboPopup$Handler.propertyChange(BasicComboPopup.java:940)
at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
at java.awt.Component.firePropertyChange(Component.java:8382)
at javax.swing.JComboBox.setModel(JComboBox.java:318)
at pcgen.gui2.tabs.SummaryInfoTab.restoreModels(SummaryInfoTab.java:1034)
at pcgen.gui2.tabs.InfoTabbedPane$TabModelService.restoreTab(InfoTabbedPane.java:369)
at pcgen.gui2.tabs.InfoTabbedPane$TabModelService.restoreModels(InfoTabbedPane.java:378)
at pcgen.gui2.tabs.InfoTabbedPane.setCharacter(InfoTabbedPane.java:177)
at pcgen.gui2.CharacterTabs.stateChanged(CharacterTabs.java:128)
at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:416)
at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:270)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:132)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:67)
at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:616)
at javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:591)
at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:731)
at javax.swing.JTabbedPane.addTab(JTabbedPane.java:798)
at pcgen.gui2.util.SharedTabPane.addTab(SharedTabPane.java:78)
at pcgen.gui2.CharacterTabs.addCharacter(CharacterTabs.java:102)
at pcgen.gui2.CharacterTabs.elementAdded(CharacterTabs.java:139)
at pcgen.core.facade.util.AbstractListFacade.fireElementAdded(AbstractListFacade.java:117)
at pcgen.core.facade.util.DefaultListFacade.addElement(DefaultListFacade.java:112)
at pcgen.core.facade.util.DefaultListFacade.addElement(DefaultListFacade.java:106)
at pcgen.system.CharacterManager.createNewCharacter(CharacterManager.java:111)
at pcgen.gui2.PCGenFrame.createNewCharacter(PCGenFrame.java:1126)
at pcgen.gui2.PCGenFrame.createNewCharacter(PCGenFrame.java:1115)
at pcgen.gui2.PCGenActionMap$NewAction.actionPerformed(PCGenActionMap.java:534)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Environment

None

Activity

Show:
James Dempsey
March 4, 2014, 8:24 PM

I think this must be a relatively new regression - this is something I do
all the time when testing.

Cheers,
James

Tom Parker
April 6, 2014, 10:15 AM

Committed revision 23592.

Assignee

Tom Parker

Reporter

Tom Parker

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Priority

Minor
Configure