|
From: SourceForge.net <no...@so...> - 2007-04-04 15:04:53
|
Bugs item #1694373, was opened at 2007-04-04 17:04 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=1694373&group_id=25576 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: User Interface Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Frank Kliewe (frank_kliewe) Assigned to: Nobody/Anonymous (nobody) Summary: Create new NPC accessible without sources loaded Initial Comment: > Before I have loaded any sources, create new character is disabled, > but create new NPC can be selected. When doing so without sources > loaded, I get an NPE: > > java.lang.NullPointerException > at pcgen.util.WeightedList.add(WeightedList.java:163) > at pcgen.core.npcgen.RaceGeneratorOption.addChoice(RaceGeneratorOption.java:79) > at pcgen.core.npcgen.OptionHandler.startElement(OptionsParser.java:164) > at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) > at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown > Source) > at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(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(Unknown Source) > at javax.xml.parsers.SAXParser.parse(Unknown Source) > at pcgen.core.npcgen.OptionsParser.parse(OptionsParser.java:83) > at pcgen.core.npcgen.Configuration.get(Configuration.java:108) > at pcgen.core.npcgen.NPCGenerator.setConfiguration(NPCGenerator.java:94) > at pcgen.core.npcgen.NPCGenerator.getInst(NPCGenerator.java:88) > at pcgen.gui.NPCGeneratorDlg.populateControls(NPCGeneratorDlg.java:399) > at pcgen.gui.NPCGeneratorDlg.access$000(NPCGeneratorDlg.java:80) > at pcgen.gui.NPCGeneratorDlg$1.run(NPCGeneratorDlg.java:125) > at java.awt.event.InvocationEvent.dispatch(Unknown Source) > at java.awt.EventQueue.dispatchEvent(Unknown Source) > at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent(PCGen_Frame1.java:3449) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) > at java.awt.Dialog$1.run(Unknown Source) > at java.awt.Dialog$2.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.awt.Dialog.show(Unknown Source) > at java.awt.Component.show(Unknown Source) > at java.awt.Component.setVisible(Unknown Source) > at pcgen.gui.PCGen_Frame1.doNewNPC(PCGen_Frame1.java:1388) > at pcgen.gui.PCGen_Frame1.newNPCItem_actionPerformed(PCGen_Frame1.java:1409) > at pcgen.gui.FrameActionListener$9.actionPerformed(FrameActionListener.java:138) > 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.plaf.basic.BasicButtonListener.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.dispatchEvent(Unknown Source) > at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent(PCGen_Frame1.java:3449) > at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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) > > -- Frank ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=1694373&group_id=25576 |