From: SourceForge.net <no...@so...> - 2008-12-17 13:30:35
|
Bugs item #2440072, was opened at 2008-12-17 13:24 Message generated for change (Settings changed) made by karianna You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=2440072&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: Equipment/Weaponprof Support >Group: To be fixed For 5.16.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Fluxxdog (fluxxdog) Assigned to: Nobody/Anonymous (nobody) Summary: NPE Error when trying to customize an item Initial Comment: r8623 Alright, here's how I did this (and I'm surprised there was no pre-existing bug report for this error): New character, selected Greatclub, right click "Create Custom Item...", made a large Greatclub. No problem. I then went to create a large Hide armor, right-clicked, selected "Create Custom Item...", and got the following twice: ERROR: Exception type: java.lang.MullPointerException Message: null Debug console spits this out. (And this is right after the fix for the size drop down menu.) SEVERE pcgen.core.prereq.PrereqHandler Error in PrerequisiteTest, failing test: pcgen.core.prereq.PrerequisiteException: plugin.pretokens.test.PreItemTester does not support prerequisites for Equipment. at pcgen.core.prereq.AbstractPrerequisiteTest.passes(AbstractPrerequisiteTest.java:97) at pcgen.core.prereq.PreMult.passes(PreMult.java:83) at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:235) at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:153) at pcgen.core.Equipment.isVisible(Equipment.java:2161) at pcgen.gui.EqBuilder$EquipmentModModel.setFilter(EqBuilder.java:2230) at pcgen.gui.EqBuilder$EquipmentModModel.access$000(EqBuilder.java:2015) at pcgen.gui.EqBuilder.setEquipment(EqBuilder.java:359) at pcgen.gui.EqBuilder.setEquipment(EqBuilder.java:210) at pcgen.gui.EQFrame.setEquipment(EQFrame.java:102) at pcgen.gui.tabs.InfoGear.openCustomizer(InfoGear.java:2523) at pcgen.gui.tabs.InfoGear.customizeButtonClick(InfoGear.java:1564) at pcgen.gui.tabs.InfoGear.access$4300(InfoGear.java:154) at pcgen.gui.tabs.InfoGear$GearPopupMenu$1.actionPerformed(InfoGear.java:3003) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at com.sun.java.swing.plaf.motif.MotifMenuItemUI$MouseInputHandler.mouseReleased(MotifMenuItemUI.java:78) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.Component.processMouseEvent(Component.java:6134) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5899) at java.awt.Container.processEvent(Container.java:2023) at java.awt.Component.dispatchEventImpl(Component.java:4501) at java.awt.Container.dispatchEventImpl(Container.java:2081) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895) at java.awt.Container.dispatchEventImpl(Container.java:2067) at java.awt.Window.dispatchEventImpl(Window.java:2458) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent(PCGen_Frame1.java:2934) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) SEVERE pcgen.gui.EqBuilder Base Item: Hide java.lang.NullPointerException at pcgen.core.Equipment.calcPlusForCosting(Equipment.java:2642) at pcgen.gui.EqBuilder.showItemInfo(EqBuilder.java:1817) at pcgen.gui.EqBuilder.updateDisplay(EqBuilder.java:1975) at pcgen.gui.EqBuilder.updateDisplay(EqBuilder.java:1945) at pcgen.gui.EqBuilder.setEquipment(EqBuilder.java:384) at pcgen.gui.EqBuilder.setEquipment(EqBuilder.java:210) at pcgen.gui.EQFrame.setEquipment(EQFrame.java:102) at pcgen.gui.tabs.InfoGear.openCustomizer(InfoGear.java:2523) at pcgen.gui.tabs.InfoGear.customizeButtonClick(InfoGear.java:1564) at pcgen.gui.tabs.InfoGear.access$4300(InfoGear.java:154) at pcgen.gui.tabs.InfoGear$GearPopupMenu$1.actionPerformed(InfoGear.java:3003) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at com.sun.java.swing.plaf.motif.MotifMenuItemUI$MouseInputHandler.mouseReleased(MotifMenuItemUI.java:78) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.Component.processMouseEvent(Component.java:6134) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5899) at java.awt.Container.processEvent(Container.java:2023) at java.awt.Component.dispatchEventImpl(Component.java:4501) at java.awt.Container.dispatchEventImpl(Container.java:2081) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895) at java.awt.Container.dispatchEventImpl(Container.java:2067) at java.awt.Window.dispatchEventImpl(Window.java:2458) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent(PCGen_Frame1.java:2934) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) SEVERE pcgen.gui.EqBuilder Base Item: Hide java.lang.NullPointerException at pcgen.core.Equipment.calcPlusForCosting(Equipment.java:2642) at pcgen.gui.EqBuilder.showItemInfo(EqBuilder.java:1817) at pcgen.gui.EqBuilder.updateDisplay(EqBuilder.java:1975) at pcgen.gui.EqBuilder.updateDisplay(EqBuilder.java:1945) at pcgen.gui.EqBuilder.setEquipment(EqBuilder.java:385) at pcgen.gui.EqBuilder.setEquipment(EqBuilder.java:210) at pcgen.gui.EQFrame.setEquipment(EQFrame.java:102) at pcgen.gui.tabs.InfoGear.openCustomizer(InfoGear.java:2523) at pcgen.gui.tabs.InfoGear.customizeButtonClick(InfoGear.java:1564) at pcgen.gui.tabs.InfoGear.access$4300(InfoGear.java:154) at pcgen.gui.tabs.InfoGear$GearPopupMenu$1.actionPerformed(InfoGear.java:3003) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at com.sun.java.swing.plaf.motif.MotifMenuItemUI$MouseInputHandler.mouseReleased(MotifMenuItemUI.java:78) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.Component.processMouseEvent(Component.java:6134) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5899) at java.awt.Container.processEvent(Container.java:2023) at java.awt.Component.dispatchEventImpl(Component.java:4501) at java.awt.Container.dispatchEventImpl(Container.java:2081) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4301) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3965) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3895) at java.awt.Container.dispatchEventImpl(Container.java:2067) at java.awt.Window.dispatchEventImpl(Window.java:2458) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at pcgen.gui.PCGen_Frame1$WaitCursorEventQueue.dispatchEvent(PCGen_Frame1.java:2934) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) ---------------------------------------------------------------------- Comment By: Fluxxdog (fluxxdog) Date: 2008-12-17 13:26 Message: Can't beleive I forgot this... When the customizer did open up, it had the Large Greatclub already loaded. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=384719&aid=2440072&group_id=25576 |