From: Andrew M. (JIRA) <ji...@pc...> - 2010-11-20 20:40:33
|
[ http://jira.pcgen.org/browse/CODE-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Maitland closed CODE-382. -------------------------------- Resolution: Cancelled The issue was corrected in the data - An Ability that had a CHOOSE but then that CHOOSE was removed was responsible. That's what caused the failure to load. > NPE - Unable to open party file > ------------------------------- > > Key: CODE-382 > URL: http://jira.pcgen.org/browse/CODE-382 > Project: Code > Issue Type: Bug > Affects Versions: Not Released > Environment: 5.17.4-dev > Reporter: Andrew Maitland > Assignee: Andrew Maitland > > Attempting to load a character I made six months ago and I'm seeing this error: > Not sure if the data changed significantly to cause this - > 10:56:02.707 SEVERE AWT-EventQueue-1 Party:187 Error loading party partyFile. > java.lang.NullPointerException > at pcgen.io.PCGVer2Parser.parseAbilityLine(PCGVer2Parser.java:2613) > at pcgen.io.PCGVer2Parser.parseCachedLines(PCGVer2Parser.java:995) > at pcgen.io.PCGVer2Parser.parsePCG(PCGVer2Parser.java:217) > at pcgen.io.PCGIOHandler.read(PCGIOHandler.java:255) > at pcgen.io.IOHandler.internalRead(IOHandler.java:75) > at pcgen.io.IOHandler.read(IOHandler.java:50) > at pcgen.core.party.Party.loadPCFromFile(Party.java:259) > at pcgen.core.party.Party.loadCharacterFiles(Party.java:244) > at pcgen.core.party.Party.load(Party.java:129) > at pcgen.gui.PCGen_Frame1.loadPCFromFile(PCGen_Frame1.java:850) > at pcgen.gui.PCGen_Frame1.loadPCFromFile(PCGen_Frame1.java:754) > at pcgen.gui.PCGen_Frame1.handleOpenMessage(PCGen_Frame1.java:1241) > at pcgen.gui.PCGen_Frame1.handleMessage(PCGen_Frame1.java:1186) > at gmgen.pluginmgr.GMBus.send(GMBus.java:140) > at pcgen.gui.PCGen_Frame1.openItem_actionPerformed(PCGen_Frame1.java:1545) > at pcgen.gui.FrameActionListener$12.actionPerformed(FrameActionListener.java:172) > 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.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) > at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) > 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) > 10:56:11.223 SEVERE AWT-EventQueue-1 PCGen_Frame1:859 Error in loadPCFromFile -- 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 |