Re: 6.07.09 Bug?


Will Dover
 

Log also has this stack trace with the export.

13:51:16.348 SEVERE SwingWorker-pool-2-thread-2 ExportHandler:1988 Error replacing WEAPONH.TOTALHIT
java.lang.NullPointerException
    at pcgen.core.Equipment.getEffectiveWieldCategory(Equipment.java:5183)
    at pcgen.core.Equipment.isWeaponTwoHanded(Equipment.java:5099)
    at pcgen.io.exporttoken.WeaponToken.getToHit(WeaponToken.java:1802)
    at pcgen.io.exporttoken.WeaponToken.getTotalHitToken(WeaponToken.java:1623)
    at pcgen.io.exporttoken.WeaponToken.getWeaponToken(WeaponToken.java:396)
    at pcgen.io.exporttoken.WeaponhToken.getToken(WeaponhToken.java:86)
    at pcgen.io.ExportHandler.replaceToken(ExportHandler.java:1957)
    at pcgen.io.freemarker.CharacterExportAction.getExportVariable(CharacterExportAction.java:50)
    at pcgen.io.freemarker.PCStringDirective.exec(PCStringDirective.java:99)
    at freemarker.core.MethodCall._eval(MethodCall.java:65)
    at freemarker.core.Expression.eval(Expression.java:83)
    at freemarker.core.Expression.evalAndCoerceToStringOrUnsupportedMarkup(Expression.java:123)
    at freemarker.core.BuiltInForString.getTargetString(BuiltInForString.java:34)
    at freemarker.core.BuiltInForString._eval(BuiltInForString.java:29)
    at freemarker.core.Expression.eval(Expression.java:83)
    at freemarker.core.MethodCall._eval(MethodCall.java:58)
    at freemarker.core.Expression.eval(Expression.java:83)
    at freemarker.core.Assignment.accept(Assignment.java:134)
    at freemarker.core.Environment.visit(Environment.java:330)
    at freemarker.core.Environment.visit(Environment.java:336)
    at freemarker.core.Environment.visit(Environment.java:336)
    at freemarker.core.Environment.process(Environment.java:309)
    at freemarker.template.Template.process(Template.java:384)
    at pcgen.io.ExportHandler.exportCharacterUsingFreemarker(ExportHandler.java:333)
    at pcgen.io.ExportHandler.write(ExportHandler.java:222)
    at pcgen.gui2.facade.CharacterFacadeImpl.export(CharacterFacadeImpl.java:2676)
    at pcgen.system.BatchExporter.exportCharacter(BatchExporter.java:514)
    at pcgen.system.BatchExporter.exportCharacter(BatchExporter.java:494)
    at pcgen.system.BatchExporter.exportCharacterToPDF(BatchExporter.java:227)
    at pcgen.gui2.dialog.ExportDialog$PDFExporter.doInBackground(ExportDialog.java:583)
    at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)

Join ArchivedPCGenYahoo@pcgen.groups.io to automatically receive all group messages.