Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: ImageManager needs exception handling for non image assets #27

Closed
JamzTheMan opened this issue Nov 24, 2017 · 0 comments
Closed

Bug: ImageManager needs exception handling for non image assets #27

JamzTheMan opened this issue Nov 24, 2017 · 0 comments
Assignees
Labels
bug fixed bug fix is committed for next release MapTool issue relates to MapTool code vs 3rd party libs

Comments

@JamzTheMan
Copy link
Owner

ImageManager is attempting to load non-image assets (hero lab statblocks). Need to put some logic around this!

16:26:21.405 (ImageManager.java:318) [pool-6-thread-1] ERROR net.rptools.maptool.util.ImageManager - BackgroundImageLoader.run(D:\Google Drive\Map Tool Resources\Clint\WrathofRighteous\Players\Wrath.por/200/Grayson Darkhammer,6e0926e8e1440b068c3f6a5014a7bf80): image not resolved
java.io.IOException: Could not load image
at net.rptools.lib.image.ImageUtil.bytesToImage(ImageUtil.java:279) ~[bin/:?]
at net.rptools.maptool.util.ImageManager$BackgroundImageLoader.run(ImageManager.java:316) [bin/:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_152]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_152]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_152]

@JamzTheMan JamzTheMan self-assigned this Nov 24, 2017
@JamzTheMan JamzTheMan added bug MapTool issue relates to MapTool code vs 3rd party libs labels Nov 24, 2017
@JamzTheMan JamzTheMan added the fixed bug fix is committed for next release label Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fixed bug fix is committed for next release MapTool issue relates to MapTool code vs 3rd party libs
Projects
None yet
Development

No branches or pull requests

1 participant