NullPointerException when closing & not saving a character

Description

Start PCGen. Load Pathfinder LST files. Core, APG, UC, UM, B1,2 and Reign of Winter Players Guide.

Load George.pcg. Close George.pcg, and do NOT save. Get the following error(s) in the Dos Box:

C:\PCGen603>"C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar -Xms256m -Xmx1024m -Xincgc pcgen.jar
13:40:56.179 INFO main Main:145 Starting PCGen v6.03.00-dev
13:40:56.203 INFO main LanguageBundle:131 Initialising language bundle with locale en_US.
13:41:01.615 INFO Thread-6 SourceFileLoader:522 Loading game Pathfinder_RPG and sources [-- Always load --, Reign of Win
13:41:31.903 INFO AWT-EventQueue-0 CharacterManager:175 Loaded character George - C:\PCGen603\characters\George.pcg
13:41:42.385 SEVERE AWT-EventQueue-0 Main:590 Uncaught error - ignoring
java.lang.NullPointerException
at pcgen.gui2.util.treeview.TreeViewTableModel$TreeViewNode.removeTreeViewPath(TreeViewTableModel.java:385)
at pcgen.gui2.util.treeview.TreeViewTableModel.removeElement(TreeViewTableModel.java:180)
at pcgen.gui2.util.treeview.TreeViewTableModel.setElements(TreeViewTableModel.java:168)
at pcgen.gui2.util.treeview.TreeViewTableModel.access$200(TreeViewTableModel.java:51)
at pcgen.gui2.util.treeview.TreeViewTableModel$1.elementsChanged(TreeViewTableModel.java:75)
at pcgen.core.facade.util.AbstractListFacade.fireElementsChanged(AbstractListFacade.java:168)
at pcgen.core.facade.util.DefaultListFacade.setContents(DefaultListFacade.java:148)
at pcgen.core.facade.util.DefaultListFacade.updateContents(DefaultListFacade.java:174)
at pcgen.gui2.filter.FilteredTreeViewModel.refilter(FilteredTreeViewModel.java:119)
at pcgen.gui2.filter.FilteredTreeViewModel.elementsChanged(FilteredTreeViewModel.java:140)
at pcgen.core.facade.util.AbstractListFacade.fireElementsChanged(AbstractListFacade.java:168)
at pcgen.core.facade.util.DelegatingListFacade.setDelegate(DelegatingListFacade.java:84)
at pcgen.gui2.facade.DelegatingDataSet.detachDelegates(DelegatingDataSet.java:106)
at pcgen.gui2.facade.CharacterFacadeImpl.closeCharacter(CharacterFacadeImpl.java:329)
at pcgen.system.CharacterManager.removeCharacter(CharacterManager.java:439)
at pcgen.gui2.PCGenFrame.closeCharacter(PCGenFrame.java:794)
at pcgen.gui2.PCGenActionMap$CloseAction.actionPerformed(PCGenActionMap.java:587)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Environment

Windows 7 Home Premimum

Activity

Show:
James Dempsey
June 17, 2014, 2:07 AM

I am unable to reproduce this issue. I suspect it was fixed as part of Connor's work on CODE-1753.

Cancelled

Assignee

Unassigned

Reporter

David Bender

Labels

Theme

None

Epic/Theme

None

Pending User Input

None

Components

Affects versions

Priority

Minor