Red frame while placing gif
zalupaonline opened this issue · 4 comments
When I put a gif, it turns into red frames, I attached a photos and a gif
Some gifs work, some are red
URL where i downloaded this GIF: https://c.tenor.com/k3FgBeP2wwUAAAAC/kirito.gif
Moving conversation to #35, please post your comments there.
How weird... The exception is caused by the ImageStorage
service being null
, which should never happen while Yamipa is running.
You must have another exception somewhere else in your logs, probably at server startup. Could you paste it here?
Do you have a plugin manager plugin that may have disabled Yamipa while the server was running?
[12:33:45 ERROR]: [YamipaPlugin] Failed to render image(s) from file "C:\Users\Артем\Documents\Servers\PlasmoVanilla\plugins\YamipaPlugin\images\kirito.gif"
java.lang.ArrayIndexOutOfBoundsException: Index 4096 out of bounds for length 4096
at com.sun.imageio.plugins.gif.GIFImageReader.read(GIFImageReader.java:1013) ~[?:?]
at javax.imageio.ImageReader.read(ImageReader.java:938) ~[?:?]
at io.josemmo.bukkit.plugin.storage.ImageFile.renderImages(ImageFile.java:130) ~[YamipaPlugin-1.2.2.jar:?]
at io.josemmo.bukkit.plugin.storage.ImageFile.getMapsAndSubscribe(ImageFile.java:257) ~[YamipaPlugin-1.2.2.jar:?]
at io.josemmo.bukkit.plugin.storage.ImageFile.getMapsAndSubscribe(ImageFile.java:207) ~[YamipaPlugin-1.2.2.jar:?]
at io.josemmo.bukkit.plugin.renderer.FakeImage.load(FakeImage.java:342) ~[YamipaPlugin-1.2.2.jar:?]
at io.josemmo.bukkit.plugin.renderer.FakeImage.lambda$spawn$12(FakeImage.java:378) ~[YamipaPlugin-1.2.2.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[12:34:05 INFO]: CREXLIGHT issued server command: /image place kirito.gif 1 1 ANIM
[12:34:06 ERROR]: [YamipaPlugin] Failed to render image(s) from file "C:\Users\Артем\Documents\Servers\PlasmoVanilla\plugins\YamipaPlugin\images\kirito.gif"
java.lang.ArrayIndexOutOfBoundsException: null
[12:34:13 INFO]: [YamipaPlugin] Saved placed fake images to disk
[12:34:16 INFO]: CREXLIGHT issued server command: /image place kirito.gif 3 3 ANIM
[12:34:17 ERROR]: [YamipaPlugin] Failed to render image(s) from file "C:\Users\Артем\Documents\Servers\PlasmoVanilla\plugins\YamipaPlugin\images\kirito.gif"
java.lang.ArrayIndexOutOfBoundsException: null
The latest stack trace is from a different bug already being discussed in #30.
Again, do you have any exception at server startup? Do you have a plugin manager plugin that may have disabled Yamipa while the server was running?