Exit behavior different from 6.2.1 to 6.3.2

Description

Start PCGen. Create a character, change your mind and click on File -> Exit, pop-up asking if you want to save, click no.

In 6.2.1 PCGen completely exits
In 6.3.2 PCGen goes back to main menu and you have to File -> Exit again to completely exit

Environment

None

Activity

Show:
James Dempsey
July 5, 2014, 8:30 PM

I am unable to reproduce this issue and the code concerned does not appear to have changed between 6.0.2 and now.

Could you share a copy of the log when this occurs please? A full log file would be best so I can see the entire session history.

David Bender
July 6, 2014, 5:43 AM

Sorry for the cancel / re-open. I thought I was cancelling the comment.....

Here is the full log....

C:\PCGen632>"C:\Program Files (x86)\Java\jre7\bin\java.exe" -version
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b14)
Java HotSpot(TM) Client VM (build 24.55-b03, mixed mode, sharing)

C:\PCGen632>dir /o:gn
Volume in drive C is OS_Install
Volume Serial Number is AC2D-F687

Directory of C:\PCGen632

2014-07-05 Sat 08:31 AM <DIR> .
2014-07-05 Sat 08:31 AM <DIR> ..
2014-07-03 Thu 09:02 AM <DIR> characters
2014-07-01 Tue 01:30 PM <DIR> data
2014-07-01 Tue 01:28 PM <DIR> docs
2014-07-01 Tue 01:29 PM <DIR> libs
2014-07-01 Tue 01:31 PM <DIR> outputsheets
2014-07-01 Tue 01:29 PM <DIR> plugins
2014-07-01 Tue 01:32 PM <DIR> preview
2014-07-01 Tue 01:39 PM <DIR> settings
2014-07-01 Tue 01:28 PM <DIR> system
2014-07-05 Sat 08:31 AM 381 config.ini
2012-06-02 Sat 01:12 PM 1,644,118 d20.ico
2014-03-28 Fri 02:47 PM 332 DRBPCGen.bat
2013-05-18 Sat 10:16 PM 25,551 LICENSE
2013-05-18 Sat 10:09 PM 2,291 logging.properties
2013-05-18 Sat 10:18 PM 29,184 pcgen.exe
2014-07-01 Tue 08:25 PM 9,714,870 pcgen.jar
2014-07-05 Sat 08:31 AM 407,757 pcgen.log
2014-07-02 Wed 05:31 PM 5,869,457 pcgen.log.1
2014-05-27 Tue 09:26 PM 3,056 pcgen.sh
2014-05-27 Tue 09:26 PM 527 pcgen_low_mem.bat
2014-07-01 Tue 08:08 AM 71,262,780 pcgen-6.03.02-full.zip
2014-07-01 Tue 01:36 PM 1,951 PCGen632.lnk
2014-07-01 Tue 08:25 PM 740 pcgen-batch-convert.jar
2014-07-01 Tue 09:32 PM 3,268,188 pcgen-sources.jar
15 File(s) 92,231,183 bytes
11 Dir(s) 289,990,230,016 bytes free

C:\PCGen632>"C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar -Xms256m -Xmx1024m -Xincgc pcgen.jar
08:40:05.821 INFO main Main:145 Starting PCGen v6.03.02
08:40:05.845 INFO main LanguageBundle:131 Initialising language bundle with locale en_US.
08:40:11.211 INFO Thread-6 SourceFileLoader:530 Loading game Pathfinder_RPG and sources [-- Always load --, Reign of Winter].
08:40:42.997 INFO AWT-EventQueue-0 CharacterManager:112 Created new character Unnamed 1.
08:41:02.237 SEVERE AWT-EventQueue-0 Main:593 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.facade.util.AbstractListFacade.fireElementsChanged(AbstractListFacade.java:170)
at pcgen.facade.util.DefaultListFacade.setContents(DefaultListFacade.java:148)
at pcgen.facade.util.DefaultListFacade.updateContents(DefaultListFacade.java:174)
at pcgen.gui2.filter.FilteredTreeViewModel.refilter(FilteredTreeViewModel.java:120)
at pcgen.gui2.filter.FilteredTreeViewModel.elementsChanged(FilteredTreeViewModel.java:141)
at pcgen.facade.util.AbstractListFacade.fireElementsChanged(AbstractListFacade.java:170)
at pcgen.facade.util.DelegatingListFacade.setDelegate(DelegatingListFacade.java:84)
at pcgen.gui2.facade.DelegatingDataSet.detachDelegates(DelegatingDataSet.java:114)
at pcgen.gui2.facade.CharacterFacadeImpl.closeCharacter(CharacterFacadeImpl.java:330)
at pcgen.system.CharacterManager.removeCharacter(CharacterManager.java:438)
at pcgen.gui2.PCGenFrame.closeAllCharacters(PCGenFrame.java:875)
at pcgen.gui2.PCGenUIManager.closePCGen(PCGenUIManager.java:103)
at pcgen.gui2.PCGenFrame$2.windowClosing(PCGenFrame.java:277)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(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)

C:\PCGen632>dir /o:gn
Volume in drive C is OS_Install
Volume Serial Number is AC2D-F687

Directory of C:\PCGen632

2014-07-05 Sat 08:41 AM <DIR> .
2014-07-05 Sat 08:41 AM <DIR> ..
2014-07-03 Thu 09:02 AM <DIR> characters
2014-07-01 Tue 01:30 PM <DIR> data
2014-07-01 Tue 01:28 PM <DIR> docs
2014-07-01 Tue 01:29 PM <DIR> libs
2014-07-01 Tue 01:31 PM <DIR> outputsheets
2014-07-01 Tue 01:29 PM <DIR> plugins
2014-07-01 Tue 01:32 PM <DIR> preview
2014-07-01 Tue 01:39 PM <DIR> settings
2014-07-01 Tue 01:28 PM <DIR> system
2014-07-05 Sat 08:41 AM 381 config.ini
2012-06-02 Sat 01:12 PM 1,644,118 d20.ico
2014-03-28 Fri 02:47 PM 332 DRBPCGen.bat
2013-05-18 Sat 10:16 PM 25,551 LICENSE
2013-05-18 Sat 10:09 PM 2,291 logging.properties
2013-05-18 Sat 10:18 PM 29,184 pcgen.exe
2014-07-01 Tue 08:25 PM 9,714,870 pcgen.jar
2014-07-05 Sat 08:41 AM 3,500 pcgen.log
2014-07-02 Wed 05:31 PM 5,869,457 pcgen.log.1
2014-05-27 Tue 09:26 PM 3,056 pcgen.sh
2014-05-27 Tue 09:26 PM 527 pcgen_low_mem.bat
2014-07-01 Tue 08:08 AM 71,262,780 pcgen-6.03.02-full.zip
2014-07-01 Tue 01:36 PM 1,951 PCGen632.lnk
2014-07-01 Tue 08:25 PM 740 pcgen-batch-convert.jar
2014-07-01 Tue 09:32 PM 3,268,188 pcgen-sources.jar
15 File(s) 91,826,926 bytes
11 Dir(s) 289,990,635,520 bytes free

C:\PCGen632>pause
Press any key to continue . . .

James Dempsey
July 6, 2014, 6:18 AM

Thanks for the log - that helped to trace it to an issue that only occurred when you had a tree structure selected for Deity (e.g. Alignment/Deity).

David Bender
July 6, 2014, 7:38 AM

Wow, talk about a one off case.... Thanks!

David Bender
July 7, 2014, 9:24 AM

Down loaded last nights autobuild with this fix in it. Corrects the error. Thanks!

Assignee

James Dempsey

Reporter

David Bender

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Affects versions

Priority

Minor
Configure