NullPointerException when loading BD's Star Wars d20

Description

java.lang.NullPointerException
at pcgen.gui2.tabs.summary.InfoPaneHandler.registerListeners(InfoPaneHandler.java:97)
at pcgen.gui2.tabs.summary.InfoPaneHandler.<init>(InfoPaneHandler.java:59)
at pcgen.gui2.tabs.SummaryInfoTab.createModels(SummaryInfoTab.java:659)
at pcgen.gui2.tabs.InfoTabbedPane.setCharacter(InfoTabbedPane.java:157)
at pcgen.gui2.CharacterTabs.stateChanged(CharacterTabs.java:136)
at java.desktop/javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:418)
at java.desktop/javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:269)
at java.desktop/javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:143)
at java.desktop/javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:74)
at java.desktop/javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:622

Environment

None

Activity

Show:
Eitan Adler
March 31, 2019, 12:53 AM

another exception

java.lang.NullPointerException: ModifierValueStore did not have a default value for: Handed
at java.base/java.util.Objects.requireNonNull(Objects.java:347)
at pcgen.base.solver.SupplierValueStore.getValueFor(SupplierValueStore.java:70)
at pcgen.base.util.FormatManager.initializeFrom(FormatManager.java:161)
at pcgen.base.solver.SimpleSolverFactory.getDefault(SimpleSolverFactory.java:121)
at pcgen.base.solver.DynamicSolverManager.getDefaultValue(DynamicSolverManager.java:496)
at pcgen.cdom.formula.VariableChannel.get(VariableChannel.java:100)
at pcgen.gui2.tabs.models.CharacterComboBoxModel.setReference(CharacterComboBoxModel.java:56)
at pcgen.gui2.tabs.models.CharacterComboBoxModel.<init>(CharacterComboBoxModel.java:43)
at pcgen.gui2.tabs.SummaryInfoTab$ComboBoxModelHandler$3.<init>(SummaryInfoTab.java:918)
at pcgen.gui2.tabs.SummaryInfoTab$ComboBoxModelHandler.<init>(SummaryInfoTab.java:917)
at pcgen.gui2.tabs.SummaryInfoTab.createModels(SummaryInfoTab.java:644)
at pcgen.gui2.tabs.InfoTabbedPane.setCharacter(InfoTabbedPane.java:157)
at pcgen.gui2.CharacterTabs.stateChanged(CharacterTabs.java:136)
at java.desktop/javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:418)
at java.desktop/javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:269)
at java.desktop/javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:143)
at java.desktop/javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:74)
at java.desktop/javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:622)
at java.desktop/javax.swing.JTabbedPane.setSelectedIndex(JTabbedPane.java:597)
at java.desktop/javax.swing.JTabbedPane.insertTab(JTabbedPane.java:737)
at java.desktop/javax.swing.JTabbedPane.addTab(JTabbedPane.java:804)
at pcgen.gui2.util.SharedTabPane.addTab(SharedTabPane.java:73)
at pcgen.gui2.CharacterTabs.addCharacter(CharacterTabs.java:109)
at pcgen.gui2.CharacterTabs.elementAdded(CharacterTabs.java:147)
at pcgen.facade.util.AbstractListFacade.fireElementAdded(AbstractListFacade.java:112)
at pcgen.facade.util.DefaultListFacade.addElement(DefaultListFacade.java:109)
at pcgen.facade.util.DefaultListFacade.addElement(DefaultListFacade.java:102)
at pcgen.system.CharacterManager.createNewCharacter(CharacterManager.java:99)
at pcgen.gui2.PCGenFrame.createNewCharacter(PCGenFrame.java:1086)
at pcgen.gui2.PCGenFrame.createNewCharacter(PCGenFrame.java:1075)
at pcgen.gui2.PCGenActionMap$NewAction.actionPerformed(PCGenActionMap.java:518)
at java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810)
at java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900)
at java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2962)
at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862)
at java.desktop/java.awt.Component.processEvent(Component.java:6409)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:389)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Eitan Adler
March 31, 2019, 1:00 AM

Proximiate issue

It enters this if condition, but {{character.getAlignmentRef()}}‌is null

Eitan Adler
March 31, 2019, 1:39 AM

so, I was told this used to work but I can’t seem to find any commit in the last 1500 that actually worked with my current test setup.

Assignee

Eitan Adler

Reporter

Eitan Adler

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

No

Priority

Minor
Configure