Load error when loading a multi class Rogue & Wizard

Description

Created a Rogue 1, Wizard (evoker) 1 in preparation for an eventual Arcane Trickster. Saved the character and reloaded and get the following pop-up error:

Unable to to load the character C:\Pcgen6+.......George.pcg. The error was: Level cannot be returned for Class Wizard which is not in the PC.

Attached is the .pcg file

Environment

None

Activity

Show:
David Bender
February 17, 2013, 6:53 PM

And here is the dos box log:

C:\PCGen6+>java -jar -Xms256m -Xmx1024m pcgen.jar
18:47:49.428 INFO main Main:150 Starting PCGen v6.01.01
18:47:49.475 INFO main LanguageBundle:131 Initialising language bundle with locale en_US.
18:47:58.679 INFO Thread-6 SourceFileLoader:520 Loading game Pathfinder_RPG and sources [Paizo - Pathfinder Roleplaying Game
Core Rulebook].
18:48:07.181 SEVERE AWT-EventQueue-0 CharacterManager:189 Unable to load character C:\PCGen6+\characters\George.pcg
java.lang.IllegalArgumentException: Level cannot be returned for Class Wizard which is not in the PC
at pcgen.cdom.facet.model.ClassFacet$ClassInfo.getClassLevel(ClassFacet.java:529)
at pcgen.cdom.facet.model.ClassFacet.setClassLevel(ClassFacet.java:112)
at pcgen.core.PlayerCharacter.reInheritClassLevels(PlayerCharacter.java:10689)
at pcgen.core.analysis.SubClassApplication.setSubClassKey(SubClassApplication.java:212)
at pcgen.io.PCGVer2Parser.parseClassLine(PCGVer2Parser.java:2237)
at pcgen.io.PCGVer2Parser.parseCachedLines(PCGVer2Parser.java:983)
at pcgen.io.PCGVer2Parser.parsePCG(PCGVer2Parser.java:226)
at pcgen.io.PCGIOHandler.read(PCGIOHandler.java:222)
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$3$1.run(PCGenFrame.java:1219)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(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.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)

James Dempsey
March 18, 2013, 12:25 AM

Was an order of operations issue when loading characters with sub classes first occurring at levels later than the first. Fixed in

David Bender
March 19, 2013, 7:44 PM

Yup, works. Thanks!

Fixed

Assignee

James Dempsey

Reporter

David Bender

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

None

Fix versions

Affects versions

Priority

Major
Configure