From: James D. (JIRA) <ji...@pc...> - 2010-08-01 02:07:30
|
[ http://jira.pcgen.org/browse/CODE-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Dempsey updated CODE-177: ------------------------------- Status: In Progress (was: Confirmed) Assignee: James Dempsey > NPE - Create NPC - 20 Level Human Monk brings up several NPEs > ------------------------------------------------------------- > > Key: CODE-177 > URL: http://jira.pcgen.org/browse/CODE-177 > Project: Code > Issue Type: Bug > Components: NPCGen > Affects Versions: 5.16.3 RC1 > Reporter: Andrew Maitland > Assignee: James Dempsey > > NPCGen - 20th Level Human Monk > java.lang.NullPointerException > at pcgen.core.Globals.getSpellsIn(Globals.java:1568) > at pcgen.core.npcgen.ClassDataHandler.endElement(ClassDataParser.java:532) > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:311) > at pcgen.core.npcgen.ClassDataParser.parse(ClassDataParser.java:102) > at pcgen.core.npcgen.Configuration.get(Configuration.java:129) > at pcgen.core.npcgen.NPCGenerator.setConfiguration(NPCGenerator.java:99) > at pcgen.core.npcgen.NPCGenerator.getInst(NPCGenerator.java:93) > at pcgen.core.npcgen.NPCGenerator.getSubSkillWeightAdd(NPCGenerator.java:104) > at pcgen.core.npcgen.SkillChoice.getSkill(SkillChoice.java:82) > at pcgen.core.npcgen.NPCGenerator.selectSkills(NPCGenerator.java:216) > at pcgen.core.npcgen.NPCGenerator.generate(NPCGenerator.java:690) > at pcgen.gui.PCGen_Frame1.doNewNPC(PCGen_Frame1.java:1459) > at pcgen.gui.PCGen_Frame1.newNPCItem_actionPerformed(PCGen_Frame1.java:1476) > at pcgen.gui.FrameActionListener$9.actionPerformed(FrameActionListener.java:138) > 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:2939) > 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) > java.lang.NullPointerException > at pcgen.core.Globals.getSpellsIn(Globals.java:1568) > at pcgen.core.npcgen.ClassDataHandler.endElement(ClassDataParser.java:532) > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) > at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) > at javax.xml.parsers.SAXParser.parse(SAXParser.java:311) > at pcgen.core.npcgen.ClassDataParser.parse(ClassDataParser.java:102) > at pcgen.core.npcgen.Configuration.get(Configuration.java:129) > at pcgen.core.npcgen.NPCGenerator.setConfiguration(NPCGenerator.java:99) > at pcgen.core.npcgen.NPCGenerator.getInst(NPCGenerator.java:93) > at pcgen.core.npcgen.NPCGenerator.getSubSkillWeightAdd(NPCGenerator.java:104) > at pcgen.core.npcgen.SkillChoice.getSkill(SkillChoice.java:82) > at pcgen.core.npcgen.NPCGenerator.selectSkills(NPCGenerator.java:216) > at pcgen.core.npcgen.NPCGenerator.generate(NPCGenerator.java:690) > at pcgen.gui.PCGen_Frame1.doNewNPC(PCGen_Frame1.java:1459) > at pcgen.gui.PCGen_Frame1.newNPCItem_actionPerformed(PCGen_Frame1.java:1476) > at pcgen.gui.FrameActionListener$9.actionPerformed(FrameActionListener.java:138) > 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:2939) > 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 |