feat glitch for spell knowledge

Description

when trying to add the feat spell knowledge to ANY character, I always get an error message stating "failed to add ability due to Object for getting association may not be null. see log for further details" no mater what character I try to add this feat to, I always get this message.

Environment

windows 7 ultimate x64 sp1, core 2 quad, evga 780i sli FTW, 8gb generic ram, 5x hard drives

Activity

Show:
Andrew Maitland
November 12, 2014, 5:26 PM

Screenshot shows Epic Sorcerer - assumption 3.5e game system.

Andrew Maitland
November 12, 2014, 5:28 PM

Looks like this is related to the CHOOSE:SPELLLEVEL issue we're having.

Feat has this:
CHOOSE:SPELLLEVEL|SPELLTYPE=Arcane|0|MAXLEVEL|SPELLTYPE=Divine|0|MAXLEVEL

I'm looking into it on the data side.

Andrew Maitland
November 12, 2014, 10:44 PM

STACK:YES MULT:YES CHOOSE:SPELLLEVEL|SPELLTYPE=Arcane|0|MAXLEVEL|SPELLTYPE=Divine|0|MAXLEVEL BONUS:SPELLKNOWN|%LIST|1

Which is expected BONUS:SPELLKNOWN|CLASS=x;LEVEL=y|1 to be supplied from the CHOOSE

19:37:43.335 SEVERE AWT-EventQueue-0 CharacterAbilities:398 Failed to add ability due to
java.lang.IllegalArgumentException: Object for getting association may not be null
at pcgen.cdom.facet.base.AbstractAssociationFacet.get(AbstractAssociationFacet.java:67)
at pcgen.core.PlayerCharacter.getSpellSupport(PlayerCharacter.java:9466)
at pcgen.core.term.PCMaxLevelTermEvaluator.resolve(PCMaxLevelTermEvaluator.java:45)
at pcgen.core.term.BasePCTermEvaluator.evaluate(BasePCTermEvaluator.java:40)
at pcgen.core.term.BasePCTermEvaluator.evaluate(BasePCTermEvaluator.java:44)
at pcgen.core.term.BasePCTermEvaluator.resolve(BasePCTermEvaluator.java:57)
at pcgen.core.VariableProcessorPC.getInternalVariable(VariableProcessorPC.java:74)
at pcgen.core.VariableProcessor.lookupVariable(VariableProcessor.java:641)
at pcgen.core.VariableProcessor.processJepFormula(VariableProcessor.java:547)
at pcgen.core.VariableProcessor.getJepOnlyVariableValue(VariableProcessor.java:199)
at pcgen.core.VariableProcessor.getVariableValue(VariableProcessor.java:140)
at pcgen.core.PlayerCharacter.getVariableValue(PlayerCharacter.java:4205)
at pcgen.core.PlayerCharacter.getVariableValue(PlayerCharacter.java:4180)
at pcgen.cdom.base.JEPFormula.resolve(JEPFormula.java:98)
at pcgen.cdom.base.JEPFormula.resolve(JEPFormula.java:28)
at pcgen.cdom.helper.SpellLevelInfo.getLevels(SpellLevelInfo.java:69)
at pcgen.cdom.base.SpellLevelChooseInformation.getSet(SpellLevelChooseInformation.java:244)
at pcgen.core.chooser.CDOMChoiceManager.getChoices(CDOMChoiceManager.java:44)
at pcgen.core.AbilityUtilities.processSelection(AbilityUtilities.java:265)
at pcgen.core.AbilityUtilities.driveChooseAndAdd(AbilityUtilities.java:254)
at pcgen.gui2.facade.CharacterAbilities.addAbility(CharacterAbilities.java:394)
at pcgen.gui2.facade.CharacterFacadeImpl.addAbility(CharacterFacadeImpl.java:677)
at pcgen.gui2.tabs.AbilityChooserTab$AddAction.actionPerformed(AbilityChooserTab.java:698)
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.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.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$400(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(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)

Tom Parker
January 21, 2015, 9:35 PM

PR#97

Fixed

Assignee

Tom Parker

Reporter

Michael Davis

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Fix versions

Affects versions

Priority

Minor
Configure