NPE caused by creating new Inventory Sets - 6.08.00 RC6

Description

21:28:22.598 INFO main Main:138 Starting PCGen v6.08.00 RC6
21:28:22.911 INFO main LanguageBundle:134 Initialising language bundle with locale en_US.
21:31:20.803 INFO Thread-2 SourceFileLoader:534 Loading game Pathfinder_RPG and sources [Pathfinder RPG for Players].
21:32:33.785 INFO AWT-EventQueue-0 CharacterManager:100 Created new character Unnamed 1.
21:34:18.957 INFO AWT-EventQueue-0 CharacterFacadeImpl:1875 Bern Irontusk: Setting race to Half-Orc
21:34:19.129 SEVERE AWT-EventQueue-0 BonusManager:386 null
java.lang.NullPointerException
at pcgen.core.PlayerCharacter.getVariable(PlayerCharacter.java:2248)
at pcgen.core.VariableProcessor.lookupVariable(VariableProcessor.java:585)
at pcgen.core.VariableProcessor.processJepFormula(VariableProcessor.java:510)
at pcgen.core.VariableProcessor.getJepOnlyVariableValue(VariableProcessor.java:173)
at pcgen.core.VariableProcessor.getVariableValue(VariableProcessor.java:128)
at pcgen.core.PlayerCharacter.getVariableValue(PlayerCharacter.java:3891)
at pcgen.core.PlayerCharacter.getVariableValue(PlayerCharacter.java:3866)
at pcgen.cdom.base.JEPFormula.resolve(JEPFormula.java:97)
at pcgen.cdom.base.JEPFormula.resolve(JEPFormula.java:28)
at pcgen.core.bonus.BonusPair.resolve(BonusPair.java:50)
at pcgen.core.BonusManager.processBonus(BonusManager.java:609)
at pcgen.core.BonusManager.buildActiveBonusMap(BonusManager.java:381)
at pcgen.core.PlayerCharacter.calcActiveBonusLoop(PlayerCharacter.java:4789)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:4758)
at pcgen.core.PlayerCharacter.addTemplate(PlayerCharacter.java:4601)
at pcgen.core.PlayerCharacter.addTemplatesIfMissing(PlayerCharacter.java:8153)
at pcgen.core.PlayerCharacter.processAddition(PlayerCharacter.java:9022)
at pcgen.cdom.facet.ObjectAdditionFacet.dataAdded(ObjectAdditionFacet.java:59)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:247)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:194)
at pcgen.cdom.facet.base.AbstractSourcedListFacet.add(AbstractSourcedListFacet.java:96)
at pcgen.cdom.facet.CDOMObjectConsolidationFacet.add(CDOMObjectConsolidationFacet.java:70)
at pcgen.cdom.facet.CDOMObjectConsolidationFacet.dataAdded(CDOMObjectConsolidationFacet.java:135)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:247)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:194)
at pcgen.cdom.facet.base.AbstractSourcedListFacet.add(AbstractSourcedListFacet.java:96)
at pcgen.cdom.facet.CharacterConsolidationFacet.dataAdded(CharacterConsolidationFacet.java:64)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:247)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:194)
at pcgen.cdom.facet.base.AbstractListFacet.add(AbstractListFacet.java:71)
at pcgen.cdom.facet.model.SimpleAbilityFacet.dataAdded(SimpleAbilityFacet.java:34)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:247)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:194)
at pcgen.cdom.facet.base.AbstractCNASEnforcingFacet.add(AbstractCNASEnforcingFacet.java:64)
at pcgen.cdom.facet.base.AbstractCNASEnforcingFacet.dataAdded(AbstractCNASEnforcingFacet.java:176)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:247)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:194)
at pcgen.cdom.facet.base.AbstractListFacet.add(AbstractListFacet.java:71)
at pcgen.cdom.facet.ConditionallyGrantedAbilityFacet.update(ConditionallyGrantedAbilityFacet.java:81)
at pcgen.core.PlayerCharacter.processAbilityList(PlayerCharacter.java:8131)
at pcgen.core.PlayerCharacter.processAbilityListsOnAdd(PlayerCharacter.java:8074)
at pcgen.core.PlayerCharacter.processAddition(PlayerCharacter.java:9026)
at pcgen.cdom.facet.ObjectAdditionFacet.dataAdded(ObjectAdditionFacet.java:59)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:247)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:194)
at pcgen.cdom.facet.base.AbstractSourcedListFacet.add(AbstractSourcedListFacet.java:96)
at pcgen.cdom.facet.CDOMObjectConsolidationFacet.add(CDOMObjectConsolidationFacet.java:70)
at pcgen.cdom.facet.CDOMObjectConsolidationFacet.dataAdded(CDOMObjectConsolidationFacet.java:135)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:247)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:194)
at pcgen.cdom.facet.base.AbstractSourcedListFacet.add(AbstractSourcedListFacet.java:96)
at pcgen.cdom.facet.CharacterConsolidationFacet.dataAdded(CharacterConsolidationFacet.java:64)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:247)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:194)
at pcgen.cdom.facet.base.AbstractListFacet.add(AbstractListFacet.java:71)
at pcgen.cdom.facet.model.SimpleAbilityFacet.dataAdded(SimpleAbilityFacet.java:34)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:247)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:194)
at pcgen.cdom.facet.base.AbstractCNASEnforcingFacet.add(AbstractCNASEnforcingFacet.java:64)
at pcgen.cdom.facet.base.AbstractCNASEnforcingFacet.dataAdded(AbstractCNASEnforcingFacet.java:176)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:247)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:194)
at pcgen.cdom.facet.base.AbstractCNASEnforcingFacet.add(AbstractCNASEnforcingFacet.java:64)
at pcgen.core.PlayerCharacter.applyAbility(PlayerCharacter.java:8143)
at pcgen.core.PlayerCharacter.processAbilityList(PlayerCharacter.java:8126)
at pcgen.core.PlayerCharacter.processAbilityListsOnAdd(PlayerCharacter.java:8074)
at pcgen.core.PlayerCharacter.processAddition(PlayerCharacter.java:9026)
at pcgen.cdom.facet.ObjectAdditionFacet.dataAdded(ObjectAdditionFacet.java:59)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:247)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:194)
at pcgen.cdom.facet.base.AbstractSourcedListFacet.add(AbstractSourcedListFacet.java:96)
at pcgen.cdom.facet.CDOMObjectConsolidationFacet.add(CDOMObjectConsolidationFacet.java:70)
at pcgen.cdom.facet.CDOMObjectConsolidationFacet.dataAdded(CDOMObjectConsolidationFacet.java:135)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:247)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:194)
at pcgen.cdom.facet.base.AbstractSourcedListFacet.add(AbstractSourcedListFacet.java:96)
at pcgen.cdom.facet.CharacterConsolidationFacet.dataAdded(CharacterConsolidationFacet.java:64)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:247)
at pcgen.cdom.facet.base.AbstractDataFacet.fireDataFacetChangeEvent(AbstractDataFacet.java:194)
at pcgen.cdom.facet.base.AbstractItemFacet.set(AbstractItemFacet.java:75)
at pcgen.cdom.facet.input.RaceInputFacet.directSet(RaceInputFacet.java:110)
at pcgen.cdom.facet.input.RaceInputFacet.set(RaceInputFacet.java:57)
at pcgen.core.PlayerCharacter.setRace(PlayerCharacter.java:3471)
at pcgen.gui2.facade.CharacterFacadeImpl.setRace(CharacterFacadeImpl.java:1876)
at pcgen.gui2.tabs.SummaryInfoTab$ComboBoxModelHandler$6.commitSelectedItem(SummaryInfoTab.java:953)
at pcgen.gui2.tabs.models.DeferredCharacterComboBoxModel$1.run(DeferredCharacterComboBoxModel.java:132)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

21:36:48.296 INFO AWT-EventQueue-0 CharacterFacadeImpl:808 Bern Irontusk: Adding level 1 in class Paladin
21:36:48.671 WARNING AWT-EventQueue-0 AbilitiesInfoTab:148 Trying to add Archetype to [TabInfo [title=Feats, categoryList=[Feat]], TabInfo [title=Racial Abilities, categoryList=[Half-Orc Racial Trait, Ability Bonus, Half-Orc Racial Subtype]], TabInfo [title=Traits, categoryList=[Drawbacks, Traits]], TabInfo [title=Misc, categoryList=[Afflictions, GM Awards, Optional Rules Systems, Pact, Permanency Applied Effects, Retraining]]] at index 6. Putting at end.
21:36:48.812 WARNING AWT-EventQueue-0 AbilitiesInfoTab:148 Trying to add Class Features to [TabInfo [title=Feats, categoryList=[Feat]], TabInfo [title=Racial Abilities, categoryList=[Half-Orc Racial Trait, Ability Bonus, Half-Orc Racial Subtype]], TabInfo [title=Traits, categoryList=[Drawbacks, Traits]], TabInfo [title=Misc, categoryList=[Afflictions, GM Awards, Optional Rules Systems, Pact, Permanency Applied Effects, Retraining]], TabInfo [title=Archetype, categoryList=[Paladin Archetype]]] at index 7. Putting at end.
21:36:49.499 WARNING AWT-EventQueue-0 AbilitiesInfoTab:148 Trying to add Archetype to [TabInfo [title=Feats, categoryList=[Feat]], TabInfo [title=Racial Abilities, categoryList=[Half-Orc Racial Trait, Ability Bonus, Half-Orc Racial Subtype]], TabInfo [title=Traits, categoryList=[Drawbacks, Traits]], TabInfo [title=Misc, categoryList=[Afflictions, GM Awards, Optional Rules Systems, Pact, Permanency Applied Effects, Retraining]]] at index 6. Putting at end.
21:36:49.655 WARNING AWT-EventQueue-0 AbilitiesInfoTab:148 Trying to add Class Features to [TabInfo [title=Feats, categoryList=[Feat]], TabInfo [title=Racial Abilities, categoryList=[Half-Orc Racial Trait, Ability Bonus, Half-Orc Racial Subtype]], TabInfo [title=Traits, categoryList=[Drawbacks, Traits]], TabInfo [title=Misc, categoryList=[Afflictions, GM Awards, Optional Rules Systems, Pact, Permanency Applied Effects, Retraining]], TabInfo [title=Archetype, categoryList=[Paladin Archetype]]] at index 7. Putting at end.
21:58:24.449 INFO AWT-EventQueue-0 CharacterFacadeImpl:1875 Bern Irontusk: Setting race to <none selected>
21:58:26.840 INFO AWT-EventQueue-0 CharacterFacadeImpl:1875 Bern Irontusk: Setting race to Half-Orc
21:58:38.371 INFO AWT-EventQueue-0 CharacterFacadeImpl:896 Bern Irontusk: Removing level 1 in class Paladin
21:58:43.542 INFO AWT-EventQueue-0 CharacterFacadeImpl:808 Bern Irontusk: Adding level 1 in class Paladin
21:58:43.730 WARNING AWT-EventQueue-0 AbilitiesInfoTab:148 Trying to add Archetype to [TabInfo [title=Feats, categoryList=[Feat]], TabInfo [title=Racial Abilities, categoryList=[Half-Orc Racial Trait, Ability Bonus, Half-Orc Racial Subtype]], TabInfo [title=Traits, categoryList=[Drawbacks, Traits]], TabInfo [title=Misc, categoryList=[Afflictions, GM Awards, Optional Rules Systems, Pact, Permanency Applied Effects, Retraining]]] at index 6. Putting at end.
21:58:43.839 WARNING AWT-EventQueue-0 AbilitiesInfoTab:148 Trying to add Class Features to [TabInfo [title=Feats, categoryList=[Feat]], TabInfo [title=Racial Abilities, categoryList=[Half-Orc Racial Trait, Ability Bonus, Half-Orc Racial Subtype]], TabInfo [title=Traits, categoryList=[Drawbacks, Traits]], TabInfo [title=Misc, categoryList=[Afflictions, GM Awards, Optional Rules Systems, Pact, Permanency Applied Effects, Retraining]], TabInfo [title=Archetype, categoryList=[Paladin Archetype]]] at index 7. Putting at end.
21:58:44.167 WARNING AWT-EventQueue-0 AbilitiesInfoTab:148 Trying to add Archetype to [TabInfo [title=Feats, categoryList=[Feat]], TabInfo [title=Racial Abilities, categoryList=[Half-Orc Racial Trait, Ability Bonus, Half-Orc Racial Subtype]], TabInfo [title=Traits, categoryList=[Drawbacks, Traits]], TabInfo [title=Misc, categoryList=[Afflictions, GM Awards, Optional Rules Systems, Pact, Permanency Applied Effects, Retraining]]] at index 6. Putting at end.
21:58:44.230 WARNING AWT-EventQueue-0 AbilitiesInfoTab:148 Trying to add Class Features to [TabInfo [title=Feats, categoryList=[Feat]], TabInfo [title=Racial Abilities, categoryList=[Half-Orc Racial Trait, Ability Bonus, Half-Orc Racial Subtype]], TabInfo [title=Traits, categoryList=[Drawbacks, Traits]], TabInfo [title=Misc, categoryList=[Afflictions, GM Awards, Optional Rules Systems, Pact, Permanency Applied Effects, Retraining]], TabInfo [title=Archetype, categoryList=[Paladin Archetype]]] at index 7. Putting at end.
23:11:14.952 INFO AWT-EventQueue-0 CharacterManager:402 Saving character Bern Irontusk - C:\Users\anast\AppData\Local\PCGen\6.08.00RC6\characters\Bern Irontusk.pcg


Steps to reproduce per OP:

  • Go in inventory

  • equip stuff

  • create a new set

  • change back to default.

Environment

None

Status

Assignee

Tom Parker

Reporter

Andrew Maitland

Labels

None

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

Priority

Minor
Configure