Preview/Output sheet throwing Java error for EQTYPE Coin/Gem

Description

Homebrew preview and output sheets. When I switch to the Character Sheet tab and select my homebrew preview sheet, the following error appears in the dos console:

09:43:37.316 SEVERE Charater-Sheet-Refresher-Thread ExportHandler:1997 Error replacing %COUNT[EQTYPE.Coin.ADD.Gem]
java.lang.UnsupportedOperationException
at java.util.AbstractList.add(Unknown Source)
at java.util.AbstractList.add(Unknown Source)
at pcgen.core.PlayerCharacter.addEqType(PlayerCharacter.java:5379)
at pcgen.core.term.PCCountEqTypeTermEvaluator.resolve(PCCountEqTypeTermEvaluator.java:121)
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:684)
at pcgen.core.VariableProcessor.processBrokenParser(VariableProcessor.java:423)
at pcgen.core.VariableProcessor.getVariableValue(VariableProcessor.java:146)
at pcgen.core.PlayerCharacter.getVariableValue(PlayerCharacter.java:5014)
at pcgen.core.PlayerCharacter.getVariableValue(PlayerCharacter.java:4988)
at pcgen.io.ExportHandler.getVarValue(ExportHandler.java:404)
at pcgen.io.ExportHandler.dealWithFilteredTokens(ExportHandler.java:2778)
at pcgen.io.ExportHandler.replaceToken(ExportHandler.java:1897)
at pcgen.io.ExportHandler.replaceLine(ExportHandler.java:1827)
at pcgen.io.ExportHandler.processLoop(ExportHandler.java:1073)
at pcgen.io.ExportHandler.loopFOR(ExportHandler.java:989)
at pcgen.io.ExportHandler.write(ExportHandler.java:242)
at pcgen.gui2.facade.CharacterFacadeImpl.export(CharacterFacadeImpl.java:2203)
at pcgen.gui2.csheet.CharacterSheetPanel$DocumentConstructor.call(CharacterSheetPanel.java:217)
at pcgen.gui2.csheet.CharacterSheetPanel$DocumentConstructor.call(CharacterSheetPanel.java:210)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

– david
Papa.DRB

Environment

None

Activity

Show:
David Bender
February 24, 2012, 10:48 AM

File \preview\d20\fantasy\preview.htm.
Line 1064

%COUNT[EQTYPE.Coin.ADD.Gem]

No error in 5.17.10, throws the error in 5.17.11+

James Dempsey
February 24, 2012, 3:26 PM

Could you attach you character please?

James Dempsey
February 24, 2012, 3:46 PM

Occurs when the character has no coins equipped but does have gems.

James Dempsey
February 24, 2012, 4:00 PM

This one has been lurking arund since at least 2010! Fixed now.

David Bender
March 26, 2012, 6:48 AM

Works great, with 2012/03/25 0800 ET download.

Fixed

Assignee

James Dempsey

Reporter

David Bender

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Components

Fix versions

Affects versions

Priority

Minor
Configure