6.07.07 NPE random, or when creating 1st level PF character and adding Bonus Language

Description

14:40:03.235 INFO AWT-EventQueue-1 CharacterManager:100 Created new character Unnamed 1.
14:40:18.16 SEVERE AWT-EventQueue-1 PrereqHandler:235 Problem encountered when testing PREREQ <prereq kind="var" key="Maneuverability" operator="LTEQ" operand="1" >
</prereq>
for Flight Maneuverability. See following trace for details.
java.lang.NullPointerException
at pcgen.core.PlayerCharacter.getVariable(PlayerCharacter.java:2272)
at pcgen.core.VariableProcessor.lookupVariable(VariableProcessor.java:624)
at pcgen.core.VariableProcessor.processJepFormula(VariableProcessor.java:542)
at pcgen.core.VariableProcessor.getJepOnlyVariableValue(VariableProcessor.java:193)
at pcgen.core.VariableProcessor.getVariableValue(VariableProcessor.java:134)
at pcgen.core.PlayerCharacter.getVariableValue(PlayerCharacter.java:3910)
at pcgen.core.PlayerCharacter.getVariableValue(PlayerCharacter.java:3885)
at plugin.pretokens.test.PreVariableTester.passes(PreVariableTester.java:94)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:223)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:127)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:263)
at pcgen.cdom.facet.PrerequisiteFacet.qualifies(PrerequisiteFacet.java:62)
at pcgen.cdom.facet.ConditionalAbilityFacet.getQualifiedSet(ConditionalAbilityFacet.java:75)
at pcgen.cdom.facet.ConditionallyGrantedAbilityFacet.update(ConditionallyGrantedAbilityFacet.java:65)
at pcgen.core.PlayerCharacter.setDirty(PlayerCharacter.java:1023)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:4778)
at pcgen.gui2.facade.CharacterFacadeImpl.setScoreBase(CharacterFacadeImpl.java:1722)
at pcgen.gui2.tabs.summary.StatTableModel.setValueAt(StatTableModel.java:483)
at javax.swing.JTable.setValueAt(JTable.java:2741)
at javax.swing.JTable.editingStopped(JTable.java:4723)
at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:141)
at javax.swing.AbstractCellEditor.stopCellEditing(AbstractCellEditor.java:85)
at pcgen.gui2.tabs.summary.StatTableModel$SpinnerEditor.stopCellEditing(StatTableModel.java:429)
at pcgen.gui2.tabs.summary.StatTableModel$SpinnerEditor.stateChanged(StatTableModel.java:414)
at javax.swing.JSpinner.fireStateChanged(JSpinner.java:458)
at javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:386)
at javax.swing.AbstractSpinnerModel.fireStateChanged(AbstractSpinnerModel.java:119)
at javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:447)
at javax.swing.JSpinner.setValue(JSpinner.java:354)
at javax.swing.plaf.basic.BasicSpinnerUI$ArrowButtonHandler.actionPerformed(BasicSpinnerUI.java:654)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at javax.swing.plaf.basic.BasicTableUI$Handler.repostEvent(BasicTableUI.java:948)
at javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(BasicTableUI.java:1164)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at org.GNOME.Accessibility.AtkWrapper$5.dispatchEvent(AtkWrapper.java:700)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

14:40:54.976 INFO AWT-EventQueue-1 CharacterFacadeImpl:1897 Unnamed 1: Setting race to Human
14:41:24.892 INFO AWT-EventQueue-1 CharacterFacadeImpl:817 Unnamed 1: Adding level 1 in class Investigator
14:41:25.4 WARNING AWT-EventQueue-1 AbilitiesInfoTab:148 Trying to add Archetype to [TabInfo [title=Feats, categoryList=[Feat]], TabInfo [title=Racial Abilities, categoryList=[Ability Bonus, Human Racial Subtype, Human Subrace, Human Racial Trait]], TabInfo [title=Traits, categoryList=[Drawbacks, Traits]], TabInfo [title=Background, categoryList=[Region of Origin, Human Ethnicity]], TabInfo [title=Misc, categoryList=[Afflictions, GM Awards, Optional Rules Systems, Pact, Permanency Applied Effects]]] at index 7. Putting at end.
14:41:25.478 WARNING AWT-EventQueue-1 AbilitiesInfoTab:148 Trying to add Class Features to [TabInfo [title=Feats, categoryList=[Feat]], TabInfo [title=Racial Abilities, categoryList=[Ability Bonus, Human Racial Subtype, Human Subrace, Human Racial Trait]], TabInfo [title=Traits, categoryList=[Drawbacks, Traits]], TabInfo [title=Background, categoryList=[Region of Origin, Human Ethnicity]], TabInfo [title=Misc, categoryList=[Afflictions, GM Awards, Optional Rules Systems, Pact, Permanency Applied Effects]], TabInfo [title=Archetype, categoryList=[Investigator Archetype]]] at index 10. Putting at end.
14:41:25.840 WARNING AWT-EventQueue-1 AbilitiesInfoTab:148 Trying to add Archetype to [TabInfo [title=Feats, categoryList=[Feat]], TabInfo [title=Racial Abilities, categoryList=[Ability Bonus, Human Racial Subtype, Human Subrace, Human Racial Trait]], TabInfo [title=Traits, categoryList=[Drawbacks, Traits]], TabInfo [title=Background, categoryList=[Region of Origin, Human Ethnicity]], TabInfo [title=Misc, categoryList=[Afflictions, GM Awards, Optional Rules Systems, Pact, Permanency Applied Effects]]] at index 7. Putting at end.
14:41:26.46 WARNING AWT-EventQueue-1 AbilitiesInfoTab:148 Trying to add Class Features to [TabInfo [title=Feats, categoryList=[Feat]], TabInfo [title=Racial Abilities, categoryList=[Ability Bonus, Human Racial Subtype, Human Subrace, Human Racial Trait]], TabInfo [title=Traits, categoryList=[Drawbacks, Traits]], TabInfo [title=Background, categoryList=[Region of Origin, Human Ethnicity]], TabInfo [title=Misc, categoryList=[Afflictions, GM Awards, Optional Rules Systems, Pact, Permanency Applied Effects]], TabInfo [title=Archetype, categoryList=[Investigator Archetype]]] at index 10. Putting at end.

--------
Sources used:
14:34:06.870 INFO Thread-4 SourceFileLoader:565 Loading game Pathfinder_RPG and sources [Pathfinder Society Field Guide, Occult Adventures, Pathfinder Unchained, Ultimate Intrigue, Hell's Rebels Player's Guide, Seekers of Secrets - A Guide to the Pathfinder Society, Inner Sea World Guide, Pathfinder RPG Core Supplements, Pathfinder Society Primer, People of the Stars].

Environment

None

Status

Assignee

Caleb Hulbert

Reporter

xenus

Labels

Source Books

None

Data/LST Monkey

None

Theme

None

Theme

None

Dependent Data

None

Subtype

None

Contact Person

None

Email

None

Publisher Website

None

Permission Level

None

Epic/Theme

None

Pending User Input

No

Affects versions

6.07.07

Priority

Major
Configure