!PREEQUIPSECONDARY spits out long error message

Description

Context is Pathfinder (where the Sword (Short) weapon exists).

I gave a BONUS in an ability a prerequisite tag of

!PREEQUIPSECONDARY,1,Sword (Short) and got a very long error message, copied to the end of this description. Perhaps obviously, the bonus didn't trigger.

Using |PREEQUIPSECONDARY,1,Sword (Short) [without the !] worked fine.

I don't know if other PREEQUIP tags may have a similar issue.

— error message in log —
SEVERE AWT-EventQueue-0 PrereqHandler:183 Error in PrerequisiteTest, failing test:
pcgen.core.prereq.PrerequisiteException: Only operators eq and neq are valid for Equipped tests: <prereq kind="equipsecondary" key="SWORD (SHORT)" operator="LT" operand="1" >
</prereq>
is not valid.
at pcgen.core.prereq.PreEquippedTester.passesPreEquipHandleTokens(PreEquippedTester.java:129)
at plugin.pretokens.test.PreEquipSecondaryTester.passes(PreEquipSecondaryTester.java:51)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:179)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:101)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:269)
at pcgen.core.analysis.BonusActivation.activateBonuses(BonusActivation.java:44)
at pcgen.cdom.base.CDOMObject.activateBonuses(CDOMObject.java:947)
at pcgen.core.BonusManager.getAllActiveBonuses(BonusManager.java:1401)
at pcgen.core.BonusManager.setActiveBonusList(BonusManager.java:415)
at pcgen.core.PlayerCharacter.calcActiveBonusLoop(PlayerCharacter.java:5204)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:5175)
at pcgen.io.PCGVer2Parser.parseCachedLines(PCGVer2Parser.java:1157)
at pcgen.io.PCGVer2Parser.parsePCG(PCGVer2Parser.java:233)
at pcgen.io.PCGIOHandler.read(PCGIOHandler.java:223)
at pcgen.io.IOHandler.internalRead(IOHandler.java:83)
at pcgen.io.IOHandler.read(IOHandler.java:58)
at pcgen.system.CharacterManager.openCharacter(CharacterManager.java:159)
at pcgen.gui2.PCGenFrame$4$2.run(PCGenFrame.java:1365)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

14:38:36.629 SEVERE AWT-EventQueue-0 PrereqHandler:183 Error in PrerequisiteTest, failing test:
pcgen.core.prereq.PrerequisiteException: Only operators eq and neq are valid for Equipped tests: <prereq kind="equipsecondary" key="SWORD (SHORT)" operator="LT" operand="1" >
</prereq>
is not valid.
at pcgen.core.prereq.PreEquippedTester.passesPreEquipHandleTokens(PreEquippedTester.java:129)
at plugin.pretokens.test.PreEquipSecondaryTester.passes(PreEquipSecondaryTester.java:51)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:179)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:101)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:269)
at pcgen.core.analysis.BonusActivation.activateBonuses(BonusActivation.java:44)
at pcgen.cdom.base.CDOMObject.activateBonuses(CDOMObject.java:947)
at pcgen.core.BonusManager.getAllActiveBonuses(BonusManager.java:1401)
at pcgen.core.BonusManager.setActiveBonusList(BonusManager.java:415)
at pcgen.core.PlayerCharacter.calcActiveBonusLoop(PlayerCharacter.java:5204)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:5175)
at pcgen.io.PCGVer2Parser.parseCachedLines(PCGVer2Parser.java:1157)
at pcgen.io.PCGVer2Parser.parsePCG(PCGVer2Parser.java:233)
at pcgen.io.PCGIOHandler.read(PCGIOHandler.java:223)
at pcgen.io.IOHandler.internalRead(IOHandler.java:83)
at pcgen.io.IOHandler.read(IOHandler.java:58)
at pcgen.system.CharacterManager.openCharacter(CharacterManager.java:159)
at pcgen.gui2.PCGenFrame$4$2.run(PCGenFrame.java:1365)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

14:38:36.722 SEVERE AWT-EventQueue-0 PrereqHandler:183 Error in PrerequisiteTest, failing test:
pcgen.core.prereq.PrerequisiteException: Only operators eq and neq are valid for Equipped tests: <prereq kind="equipsecondary" key="SWORD (SHORT)" operator="LT" operand="1" >
</prereq>
is not valid.
at pcgen.core.prereq.PreEquippedTester.passesPreEquipHandleTokens(PreEquippedTester.java:129)
at plugin.pretokens.test.PreEquipSecondaryTester.passes(PreEquipSecondaryTester.java:51)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:179)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:101)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:269)
at pcgen.core.analysis.BonusActivation.activateBonuses(BonusActivation.java:44)
at pcgen.cdom.base.CDOMObject.activateBonuses(CDOMObject.java:947)
at pcgen.core.BonusManager.getAllActiveBonuses(BonusManager.java:1401)
at pcgen.core.BonusManager.setActiveBonusList(BonusManager.java:415)
at pcgen.core.PlayerCharacter.calcActiveBonusLoop(PlayerCharacter.java:5204)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:5175)
at pcgen.io.PCGVer2Parser.parseCachedLines(PCGVer2Parser.java:1157)
at pcgen.io.PCGVer2Parser.parsePCG(PCGVer2Parser.java:233)
at pcgen.io.PCGIOHandler.read(PCGIOHandler.java:223)
at pcgen.io.IOHandler.internalRead(IOHandler.java:83)
at pcgen.io.IOHandler.read(IOHandler.java:58)
at pcgen.system.CharacterManager.openCharacter(CharacterManager.java:159)
at pcgen.gui2.PCGenFrame$4$2.run(PCGenFrame.java:1365)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

14:38:37.464 SEVERE AWT-EventQueue-0 PrereqHandler:183 Error in PrerequisiteTest, failing test:
pcgen.core.prereq.PrerequisiteException: Only operators eq and neq are valid for Equipped tests: <prereq kind="equipsecondary" key="SWORD (SHORT)" operator="LT" operand="1" >
</prereq>
is not valid.
at pcgen.core.prereq.PreEquippedTester.passesPreEquipHandleTokens(PreEquippedTester.java:129)
at plugin.pretokens.test.PreEquipSecondaryTester.passes(PreEquipSecondaryTester.java:51)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:179)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:101)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:269)
at pcgen.core.analysis.BonusActivation.activateBonuses(BonusActivation.java:44)
at pcgen.cdom.base.CDOMObject.activateBonuses(CDOMObject.java:947)
at pcgen.core.BonusManager.getAllActiveBonuses(BonusManager.java:1401)
at pcgen.core.BonusManager.setActiveBonusList(BonusManager.java:415)
at pcgen.core.PlayerCharacter.calcActiveBonusLoop(PlayerCharacter.java:5204)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:5175)
at pcgen.io.PCGIOHandler.sanityChecks(PCGIOHandler.java:376)
at pcgen.io.PCGIOHandler.read(PCGIOHandler.java:242)
at pcgen.io.IOHandler.internalRead(IOHandler.java:83)
at pcgen.io.IOHandler.read(IOHandler.java:58)
at pcgen.system.CharacterManager.openCharacter(CharacterManager.java:159)
at pcgen.gui2.PCGenFrame$4$2.run(PCGenFrame.java:1365)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

14:38:37.513 SEVERE AWT-EventQueue-0 PrereqHandler:183 Error in PrerequisiteTest, failing test:
pcgen.core.prereq.PrerequisiteException: Only operators eq and neq are valid for Equipped tests: <prereq kind="equipsecondary" key="SWORD (SHORT)" operator="LT" operand="1" >
</prereq>
is not valid.
at pcgen.core.prereq.PreEquippedTester.passesPreEquipHandleTokens(PreEquippedTester.java:129)
at plugin.pretokens.test.PreEquipSecondaryTester.passes(PreEquipSecondaryTester.java:51)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:179)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:101)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:269)
at pcgen.core.analysis.BonusActivation.activateBonuses(BonusActivation.java:44)
at pcgen.cdom.base.CDOMObject.activateBonuses(CDOMObject.java:947)
at pcgen.core.BonusManager.getAllActiveBonuses(BonusManager.java:1401)
at pcgen.core.BonusManager.setActiveBonusList(BonusManager.java:415)
at pcgen.core.PlayerCharacter.calcActiveBonusLoop(PlayerCharacter.java:5204)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:5175)
at pcgen.io.PCGIOHandler.sanityChecks(PCGIOHandler.java:456)
at pcgen.io.PCGIOHandler.read(PCGIOHandler.java:242)
at pcgen.io.IOHandler.internalRead(IOHandler.java:83)
at pcgen.io.IOHandler.read(IOHandler.java:58)
at pcgen.system.CharacterManager.openCharacter(CharacterManager.java:159)
at pcgen.gui2.PCGenFrame$4$2.run(PCGenFrame.java:1365)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

14:38:37.564 SEVERE AWT-EventQueue-0 PrereqHandler:183 Error in PrerequisiteTest, failing test:
pcgen.core.prereq.PrerequisiteException: Only operators eq and neq are valid for Equipped tests: <prereq kind="equipsecondary" key="SWORD (SHORT)" operator="LT" operand="1" >
</prereq>
is not valid.
at pcgen.core.prereq.PreEquippedTester.passesPreEquipHandleTokens(PreEquippedTester.java:129)
at plugin.pretokens.test.PreEquipSecondaryTester.passes(PreEquipSecondaryTester.java:51)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:179)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:101)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:269)
at pcgen.core.analysis.BonusActivation.activateBonuses(BonusActivation.java:44)
at pcgen.cdom.base.CDOMObject.activateBonuses(CDOMObject.java:947)
at pcgen.core.BonusManager.getAllActiveBonuses(BonusManager.java:1401)
at pcgen.core.BonusManager.setActiveBonusList(BonusManager.java:415)
at pcgen.core.PlayerCharacter.calcActiveBonusLoop(PlayerCharacter.java:5204)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:5175)
at pcgen.io.PCGIOHandler.sanityChecks(PCGIOHandler.java:456)
at pcgen.io.PCGIOHandler.read(PCGIOHandler.java:242)
at pcgen.io.IOHandler.internalRead(IOHandler.java:83)
at pcgen.io.IOHandler.read(IOHandler.java:58)
at pcgen.system.CharacterManager.openCharacter(CharacterManager.java:159)
at pcgen.gui2.PCGenFrame$4$2.run(PCGenFrame.java:1365)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

14:38:37.613 SEVERE AWT-EventQueue-0 PrereqHandler:183 Error in PrerequisiteTest, failing test:
pcgen.core.prereq.PrerequisiteException: Only operators eq and neq are valid for Equipped tests: <prereq kind="equipsecondary" key="SWORD (SHORT)" operator="LT" operand="1" >
</prereq>
is not valid.
at pcgen.core.prereq.PreEquippedTester.passesPreEquipHandleTokens(PreEquippedTester.java:129)
at plugin.pretokens.test.PreEquipSecondaryTester.passes(PreEquipSecondaryTester.java:51)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:179)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:101)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:269)
at pcgen.core.analysis.BonusActivation.activateBonuses(BonusActivation.java:44)
at pcgen.cdom.base.CDOMObject.activateBonuses(CDOMObject.java:947)
at pcgen.core.BonusManager.getAllActiveBonuses(BonusManager.java:1401)
at pcgen.core.BonusManager.setActiveBonusList(BonusManager.java:415)
at pcgen.core.PlayerCharacter.calcActiveBonusLoop(PlayerCharacter.java:5204)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:5175)
at pcgen.io.PCGIOHandler.sanityChecks(PCGIOHandler.java:465)
at pcgen.io.PCGIOHandler.read(PCGIOHandler.java:242)
at pcgen.io.IOHandler.internalRead(IOHandler.java:83)
at pcgen.io.IOHandler.read(IOHandler.java:58)
at pcgen.system.CharacterManager.openCharacter(CharacterManager.java:159)
at pcgen.gui2.PCGenFrame$4$2.run(PCGenFrame.java:1365)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

14:38:37.638 INFO AWT-EventQueue-0 CharacterManager:175 Loaded character Unnamed 1 - /home/doug/Dropbox/PCGen data/characters/a bannerman test.pcg
14:38:37.820 SEVERE AWT-EventQueue-0 PrereqHandler:183 Error in PrerequisiteTest, failing test:
pcgen.core.prereq.PrerequisiteException: Only operators eq and neq are valid for Equipped tests: <prereq kind="equipsecondary" key="SWORD (SHORT)" operator="LT" operand="1" >
</prereq>
is not valid.
at pcgen.core.prereq.PreEquippedTester.passesPreEquipHandleTokens(PreEquippedTester.java:129)
at plugin.pretokens.test.PreEquipSecondaryTester.passes(PreEquipSecondaryTester.java:51)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:179)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:101)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:269)
at pcgen.core.analysis.BonusActivation.activateBonuses(BonusActivation.java:44)
at pcgen.cdom.base.CDOMObject.activateBonuses(CDOMObject.java:947)
at pcgen.core.BonusManager.getAllActiveBonuses(BonusManager.java:1401)
at pcgen.core.BonusManager.setActiveBonusList(BonusManager.java:415)
at pcgen.core.PlayerCharacter.calcActiveBonusLoop(PlayerCharacter.java:5204)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:5175)
at pcgen.core.PlayerCharacter.preparePCForOutput(PlayerCharacter.java:7552)
at pcgen.gui2.facade.CharacterFacadeImpl.initForCharacter(CharacterFacadeImpl.java:338)
at pcgen.gui2.facade.CharacterFacadeImpl.<init>(CharacterFacadeImpl.java:302)
at pcgen.system.CharacterManager.openCharacter(CharacterManager.java:183)
at pcgen.gui2.PCGenFrame$4$2.run(PCGenFrame.java:1365)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

14:38:37.902 SEVERE AWT-EventQueue-0 PrereqHandler:183 Error in PrerequisiteTest, failing test:
pcgen.core.prereq.PrerequisiteException: Only operators eq and neq are valid for Equipped tests: <prereq kind="equipsecondary" key="SWORD (SHORT)" operator="LT" operand="1" >
</prereq>
is not valid.
at pcgen.core.prereq.PreEquippedTester.passesPreEquipHandleTokens(PreEquippedTester.java:129)
at plugin.pretokens.test.PreEquipSecondaryTester.passes(PreEquipSecondaryTester.java:51)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:179)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:101)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:269)
at pcgen.core.analysis.BonusActivation.activateBonuses(BonusActivation.java:44)
at pcgen.cdom.base.CDOMObject.activateBonuses(CDOMObject.java:947)
at pcgen.core.BonusManager.getAllActiveBonuses(BonusManager.java:1401)
at pcgen.core.BonusManager.setActiveBonusList(BonusManager.java:415)
at pcgen.core.PlayerCharacter.calcActiveBonusLoop(PlayerCharacter.java:5204)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:5175)
at pcgen.core.PlayerCharacter.preparePCForOutput(PlayerCharacter.java:7567)
at pcgen.gui2.facade.CharacterFacadeImpl.initForCharacter(CharacterFacadeImpl.java:338)
at pcgen.gui2.facade.CharacterFacadeImpl.<init>(CharacterFacadeImpl.java:302)
at pcgen.system.CharacterManager.openCharacter(CharacterManager.java:183)
at pcgen.gui2.PCGenFrame$4$2.run(PCGenFrame.java:1365)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

14:38:38.632 SEVERE html-sheet-thread PrereqHandler:183 Error in PrerequisiteTest, failing test:
pcgen.core.prereq.PrerequisiteException: Only operators eq and neq are valid for Equipped tests: <prereq kind="equipsecondary" key="SWORD (SHORT)" operator="LT" operand="1" >
</prereq>
is not valid.
at pcgen.core.prereq.PreEquippedTester.passesPreEquipHandleTokens(PreEquippedTester.java:129)
at plugin.pretokens.test.PreEquipSecondaryTester.passes(PreEquipSecondaryTester.java:51)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:179)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:101)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:269)
at pcgen.core.analysis.BonusActivation.activateBonuses(BonusActivation.java:44)
at pcgen.cdom.base.CDOMObject.activateBonuses(CDOMObject.java:947)
at pcgen.core.BonusManager.getAllActiveBonuses(BonusManager.java:1401)
at pcgen.core.BonusManager.setActiveBonusList(BonusManager.java:415)
at pcgen.core.PlayerCharacter.calcActiveBonusLoop(PlayerCharacter.java:5204)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:5175)
at pcgen.core.PlayerCharacter.clone(PlayerCharacter.java:7808)
at pcgen.gui2.facade.CharacterFacadeImpl.getExportCharacter(CharacterFacadeImpl.java:2644)
at pcgen.gui2.facade.CharacterFacadeImpl.export(CharacterFacadeImpl.java:2675)
at pcgen.gui2.tabs.models.HtmlSheetSupport$DocumentBuilder.call(HtmlSheetSupport.java:195)
at pcgen.gui2.tabs.models.HtmlSheetSupport$DocumentBuilder.call(HtmlSheetSupport.java:188)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

14:38:38.697 SEVERE html-sheet-thread PrereqHandler:183 Error in PrerequisiteTest, failing test:
pcgen.core.prereq.PrerequisiteException: Only operators eq and neq are valid for Equipped tests: <prereq kind="equipsecondary" key="SWORD (SHORT)" operator="LT" operand="1" >
</prereq>
is not valid.
at pcgen.core.prereq.PreEquippedTester.passesPreEquipHandleTokens(PreEquippedTester.java:129)
at plugin.pretokens.test.PreEquipSecondaryTester.passes(PreEquipSecondaryTester.java:51)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:179)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:101)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:269)
at pcgen.core.analysis.BonusActivation.activateBonuses(BonusActivation.java:44)
at pcgen.cdom.base.CDOMObject.activateBonuses(CDOMObject.java:947)
at pcgen.core.BonusManager.getAllActiveBonuses(BonusManager.java:1401)
at pcgen.core.BonusManager.setActiveBonusList(BonusManager.java:415)
at pcgen.core.PlayerCharacter.calcActiveBonusLoop(PlayerCharacter.java:5204)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:5175)
at pcgen.core.PlayerCharacter.clone(PlayerCharacter.java:7808)
at pcgen.gui2.facade.CharacterFacadeImpl.getExportCharacter(CharacterFacadeImpl.java:2644)
at pcgen.gui2.facade.CharacterFacadeImpl.export(CharacterFacadeImpl.java:2675)
at pcgen.gui2.tabs.models.HtmlSheetSupport$DocumentBuilder.call(HtmlSheetSupport.java:195)
at pcgen.gui2.tabs.models.HtmlSheetSupport$DocumentBuilder.call(HtmlSheetSupport.java:188)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

14:38:38.752 SEVERE html-sheet-thread PrereqHandler:183 Error in PrerequisiteTest, failing test:
pcgen.core.prereq.PrerequisiteException: Only operators eq and neq are valid for Equipped tests: <prereq kind="equipsecondary" key="SWORD (SHORT)" operator="LT" operand="1" >
</prereq>
is not valid.
at pcgen.core.prereq.PreEquippedTester.passesPreEquipHandleTokens(PreEquippedTester.java:129)
at plugin.pretokens.test.PreEquipSecondaryTester.passes(PreEquipSecondaryTester.java:51)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:179)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:101)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:269)
at pcgen.core.analysis.BonusActivation.activateBonuses(BonusActivation.java:44)
at pcgen.cdom.base.CDOMObject.activateBonuses(CDOMObject.java:947)
at pcgen.core.BonusManager.getAllActiveBonuses(BonusManager.java:1401)
at pcgen.core.BonusManager.setActiveBonusList(BonusManager.java:415)
at pcgen.core.PlayerCharacter.calcActiveBonusLoop(PlayerCharacter.java:5204)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:5175)
at pcgen.core.PlayerCharacter.clone(PlayerCharacter.java:7808)
at pcgen.gui2.facade.CharacterFacadeImpl.getExportCharacter(CharacterFacadeImpl.java:2644)
at pcgen.gui2.facade.CharacterFacadeImpl.export(CharacterFacadeImpl.java:2675)
at pcgen.gui2.tabs.models.HtmlSheetSupport$DocumentBuilder.call(HtmlSheetSupport.java:195)
at pcgen.gui2.tabs.models.HtmlSheetSupport$DocumentBuilder.call(HtmlSheetSupport.java:188)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

14:38:38.820 SEVERE html-sheet-thread PrereqHandler:183 Error in PrerequisiteTest, failing test:
pcgen.core.prereq.PrerequisiteException: Only operators eq and neq are valid for Equipped tests: <prereq kind="equipsecondary" key="SWORD (SHORT)" operator="LT" operand="1" >
</prereq>
is not valid.
at pcgen.core.prereq.PreEquippedTester.passesPreEquipHandleTokens(PreEquippedTester.java:129)
at plugin.pretokens.test.PreEquipSecondaryTester.passes(PreEquipSecondaryTester.java:51)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:179)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:101)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:269)
at pcgen.core.analysis.BonusActivation.activateBonuses(BonusActivation.java:44)
at pcgen.cdom.base.CDOMObject.activateBonuses(CDOMObject.java:947)
at pcgen.core.BonusManager.getAllActiveBonuses(BonusManager.java:1401)
at pcgen.core.BonusManager.setActiveBonusList(BonusManager.java:415)
at pcgen.core.PlayerCharacter.calcActiveBonusLoop(PlayerCharacter.java:5204)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:5175)
at pcgen.core.PlayerCharacter.preparePCForOutput(PlayerCharacter.java:7552)
at pcgen.gui2.facade.CharacterFacadeImpl.getExportCharacter(CharacterFacadeImpl.java:2647)
at pcgen.gui2.facade.CharacterFacadeImpl.export(CharacterFacadeImpl.java:2675)
at pcgen.gui2.tabs.models.HtmlSheetSupport$DocumentBuilder.call(HtmlSheetSupport.java:195)
at pcgen.gui2.tabs.models.HtmlSheetSupport$DocumentBuilder.call(HtmlSheetSupport.java:188)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

14:38:38.872 SEVERE html-sheet-thread PrereqHandler:183 Error in PrerequisiteTest, failing test:
pcgen.core.prereq.PrerequisiteException: Only operators eq and neq are valid for Equipped tests: <prereq kind="equipsecondary" key="SWORD (SHORT)" operator="LT" operand="1" >
</prereq>
is not valid.
at pcgen.core.prereq.PreEquippedTester.passesPreEquipHandleTokens(PreEquippedTester.java:129)
at plugin.pretokens.test.PreEquipSecondaryTester.passes(PreEquipSecondaryTester.java:51)
at pcgen.core.prereq.PrereqHandler.passes(PrereqHandler.java:179)
at pcgen.core.prereq.PrereqHandler.passesAll(PrereqHandler.java:101)
at pcgen.cdom.base.ConcretePrereqObject.qualifies(ConcretePrereqObject.java:269)
at pcgen.core.analysis.BonusActivation.activateBonuses(BonusActivation.java:44)
at pcgen.cdom.base.CDOMObject.activateBonuses(CDOMObject.java:947)
at pcgen.core.BonusManager.getAllActiveBonuses(BonusManager.java:1401)
at pcgen.core.BonusManager.setActiveBonusList(BonusManager.java:415)
at pcgen.core.PlayerCharacter.calcActiveBonusLoop(PlayerCharacter.java:5204)
at pcgen.core.PlayerCharacter.calcActiveBonuses(PlayerCharacter.java:5175)
at pcgen.core.PlayerCharacter.preparePCForOutput(PlayerCharacter.java:7567)
at pcgen.gui2.facade.CharacterFacadeImpl.getExportCharacter(CharacterFacadeImpl.java:2647)
at pcgen.gui2.facade.CharacterFacadeImpl.export(CharacterFacadeImpl.java:2675)
at pcgen.gui2.tabs.models.HtmlSheetSupport$DocumentBuilder.call(HtmlSheetSupport.java:195)
at pcgen.gui2.tabs.models.HtmlSheetSupport$DocumentBuilder.call(HtmlSheetSupport.java:188)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Environment

None

Activity

Show:
James Dempsey
June 15, 2014, 6:31 PM

Issue fixed and tests added. Would have also affected !PREEQUIPPRIMARY too

Fixed

Assignee

James Dempsey

Reporter

Douglas Limmer

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Affects versions

Priority

Minor
Configure