Auto Generate Equipment throws an NPE

Description

If Auto Generate Equipment is checked, when loading Pathfinder Core rules (and likely others), it throws an NPE:

08:54:29.807 INFO main LanguageBundle:136 Initialising language bundle with locale en_US.
08:55:15.999 INFO Thread-6 SourceFileLoader:560 Loading game Pathfinder_RPG and sources [Pathfinder RPG Core Supplements].
08:55:44.371 SEVERE Thread-6 SourceFileLoader:550 Exception loading files.
java.lang.NullPointerException
at pcgen.core.Equipment.getACMod(Equipment.java:5662)
at pcgen.core.EquipmentList.createItem(EquipmentList.java:629)
at pcgen.core.EquipmentList.createItem(EquipmentList.java:618)
at pcgen.core.EquipmentList.autogenerateExoticMaterialsEquipment(EquipmentList.java:416)
at pcgen.core.EquipmentList.autoGenerateEquipment(EquipmentList.java:395)
at pcgen.persistence.SourceFileLoader.loadCampaigns(SourceFileLoader.java:523)
at pcgen.persistence.SourceFileLoader.execute(SourceFileLoader.java:248)
at pcgen.gui2.util.StatusWorker.construct(StatusWorker.java:74)
at pcgen.gui2.util.StatusWorker.construct(StatusWorker.java:42)
at pcgen.gui2.util.SwingWorker$1.run(SwingWorker.java:161)
at java.lang.Thread.run(Thread.java:745)

Unchecking this option allows data sets to load fine.``

Environment

Windows

Activity

Show:
Eitan Adler
December 27, 2018, 7:23 AM

Is this still an issue? I can’t reproduce.

Allen Cohn
December 27, 2018, 4:01 PM

FYI, concerning 3159, I just reproduced the error (even though the ticket was closed yesterday). So perhaps 3123 is still a problem, too.

Allen

Eitan Adler
May 19, 2019, 3:45 AM

See

Eitan Adler
May 19, 2019, 3:45 AM

See

Cancelled

Assignee

Eitan Adler

Reporter

Brian Moser

Labels

None

Theme

None

Epic/Theme

None

Pending User Input

No

Affects versions

Priority

Minor
Configure