[Pathfinder] html-sheet-thread ExportHandler:1997 Error replacing MOVEMENT java.util.NoSuchElementException

Description

I was doing a follow up testing for - Switching between Elf, Dwarf and Gnome. I checked the console and noticed several of these errors:

NOTE: I was only messing with RACE, no Class Levels assigned, all Stats 10.

00:06:29.599 SEVERE html-sheet-thread ExportHandler:1997 Error replacing MOVEMENT
java.util.NoSuchElementException
at java.util.TreeMap.key(TreeMap.java:1206)
at java.util.TreeMap.lastKey(TreeMap.java:274)
at pcgen.cdom.facet.UnencumberedLoadFacet.getBestLoad(UnencumberedLoadFacet.java:124)
at pcgen.cdom.facet.UnencumberedLoadFacet.ignoreLoad(UnencumberedLoadFacet.java:143)
at pcgen.cdom.facet.MovementResultFacet$MovementCacheInfo.calcEncumberedMove(MovementResultFacet.java:614)
at pcgen.cdom.facet.MovementResultFacet$MovementCacheInfo.movement(MovementResultFacet.java:450)
at pcgen.cdom.facet.MovementResultFacet$MovementCacheInfo.getMovementValues(MovementResultFacet.java:521)
at pcgen.cdom.facet.MovementResultFacet.getMovementValues(MovementResultFacet.java:722)
at pcgen.core.PlayerCharacter.getMovementValues(PlayerCharacter.java:11968)
at pcgen.io.exporttoken.MovementToken.getMovementToken(MovementToken.java:93)
at pcgen.io.exporttoken.MovementToken.getToken(MovementToken.java:70)
at pcgen.io.ExportHandler.replaceToken(ExportHandler.java:1964)
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:2474)
at pcgen.gui2.tabs.models.HtmlSheetSupport$DocumentBuilder.call(HtmlSheetSupport.java:178)
at pcgen.gui2.tabs.models.HtmlSheetSupport$DocumentBuilder.call(HtmlSheetSupport.java:171)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Environment

PCGen 5.17.12-Dev Build '16439'
Pathfinder - Advanced Quick Load Set (Loads CORE + APG)

Activity

Show:
Andrew Maitland
March 8, 2012, 3:17 AM

I went to the character tab, and the Movement was indeed blank... I saw this error pop up:
00:15:09.466 SEVERE Charater-Sheet-Refresher-Thread ExportHandler:1997 Error replacing MOVE.0.NAME
java.util.NoSuchElementException
at java.util.TreeMap.key(TreeMap.java:1206)
at java.util.TreeMap.lastKey(TreeMap.java:274)
at pcgen.cdom.facet.UnencumberedLoadFacet.getBestLoad(UnencumberedLoadFacet.java:124)
at pcgen.cdom.facet.UnencumberedLoadFacet.ignoreLoad(UnencumberedLoadFacet.java:143)
at pcgen.cdom.facet.MovementResultFacet$MovementCacheInfo.calcEncumberedMove(MovementResultFacet.java:614)
at pcgen.cdom.facet.MovementResultFacet$MovementCacheInfo.movement(MovementResultFacet.java:450)
at pcgen.cdom.facet.MovementResultFacet$MovementCacheInfo.getMovementValues(MovementResultFacet.java:521)
at pcgen.cdom.facet.MovementResultFacet.getMovementValues(MovementResultFacet.java:722)
at pcgen.core.PlayerCharacter.getMovementValues(PlayerCharacter.java:11968)
at plugin.exporttokens.MoveToken.getToken(MoveToken.java:76)
at pcgen.io.ExportHandler.replaceToken(ExportHandler.java:1964)
at pcgen.io.ExportHandler.evaluateExpression(ExportHandler.java:716)
at pcgen.io.ExportHandler.evaluateIIF(ExportHandler.java:867)
at pcgen.io.ExportHandler.processLoop(ExportHandler.java:1052)
at pcgen.io.ExportHandler.loopFOR(ExportHandler.java:989)
at pcgen.io.ExportHandler.evaluateIIFChildren(ExportHandler.java:930)
at pcgen.io.ExportHandler.evaluateIIF(ExportHandler.java:869)
at pcgen.io.ExportHandler.processLoop(ExportHandler.java:1052)
at pcgen.io.ExportHandler.loopFOR(ExportHandler.java:989)
at pcgen.io.ExportHandler.write(ExportHandler.java:242)
at pcgen.gui2.facade.CharacterFacadeImpl.export(CharacterFacadeImpl.java:2474)
at pcgen.gui2.csheet.CharacterSheetPanel$DocumentConstructor.call(CharacterSheetPanel.java:221)
at pcgen.gui2.csheet.CharacterSheetPanel$DocumentConstructor.call(CharacterSheetPanel.java:213)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

I added a Class Level of Adept, and the sheet remains blank for movement, but everything else was present.

Tom Parker
March 18, 2012, 10:13 AM

Committed revision 16516.

Fixed

Assignee

Tom Parker

Reporter

Andrew Maitland

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Fix versions

Affects versions

Priority

Minor
Configure