Hero Lab integration?

Talk about whatever topic you'd like, RPG related or not. (But please discuss things related to our software in the Tools section, below.)

Moderators: Azhrei, dorpond, trevor

Post Reply
dlaciv12
Kobold
Posts: 1
Joined: Mon Feb 17, 2020 4:37 pm

Hero Lab integration?

Post by dlaciv12 »

My group has started using Maptool along with our usual Hero Lab. I keep getting an error when trying to import a .por for use in Maptool:

Code: Select all

java.lang.NullPointerException
	at net.rptools.maptool.util.ExtractHeroLab.getStatBlocks(ExtractHeroLab.java:434)
	at net.rptools.maptool.util.ExtractHeroLab.getStatBlocks(ExtractHeroLab.java:397)
	at net.rptools.maptool.util.ExtractHeroLab.extractAllCharacters(ExtractHeroLab.java:250)
	at net.rptools.maptool.client.ui.assetpanel.ImageFileImagePanelModel.refreshHeroLab(ImageFileImagePanelModel.java:513)
	at net.rptools.maptool.client.ui.assetpanel.ImageFileImagePanelModel.setFilter(ImageFileImagePanelModel.java:118)
	at net.rptools.maptool.client.ui.assetpanel.AssetPanel$6.actionPerformed(AssetPanel.java:343)
	at java.desktop/javax.swing.Timer.fireActionPerformed(Timer.java:317)
	at java.desktop/javax.swing.Timer$DoPostEvent.run(Timer.java:249)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
	at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
	at net.rptools.maptool.client.swing.MapToolEventQueue.dispatchEvent(MapToolEventQueue.java:110)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
I'm a nerd but this is too nerdy for me. Thanks for any help.

Phergus
Deity
Posts: 7108
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Re: Hero Lab integration?

Post by Phergus »

Your post on Discord about this was answered.

For others, the .por files being created by Hero Lab under Wine on his Linux box weren't putting in the XML statblock. Code has been added to stop the NPE being thrown but can't fix the broken .por files.

Post Reply

Return to “General Discussion”