DSH105 / HoloAPI

Add Holograms to your Bukkit server!
http://dev.bukkit.org/bukkit-plugins/holoapi/
GNU General Public License v3.0
31 stars 16 forks source link

Can't use animations #116

Open frdmn opened 10 years ago

frdmn commented 10 years ago

As soon as I try the animations I get the following error in the console:

[20:24:59] [Server thread/INFO]: frdmn issued server command: /holo reload
[20:24:59] [Craft Scheduler Thread - 287/INFO]: [HoloAPI] [INFO] Images loaded.
[20:24:59] [Craft Scheduler Thread - 287/WARN]: java.lang.NullPointerException
[20:24:59] [Craft Scheduler Thread - 287/WARN]:     at com.dsh105.holoapi.image.AnimatedImageGenerator.readGIF(AnimatedImageGenerator.java:447)
[20:24:59] [Craft Scheduler Thread - 287/WARN]:     at com.dsh105.holoapi.image.AnimatedImageGenerator.readGif(AnimatedImageGenerator.java:366)
[20:24:59] [Craft Scheduler Thread - 287/WARN]:     at com.dsh105.holoapi.image.AnimatedImageGenerator.<init>(AnimatedImageGenerator.java:87)
[20:24:59] [Craft Scheduler Thread - 287/WARN]:     at com.dsh105.holoapi.image.AnimatedImageGenerator.<init>(AnimatedImageGenerator.java:226)
[20:24:59] [Craft Scheduler Thread - 287/WARN]:     at com.dsh105.holoapi.image.SimpleAnimationLoader.findGenerator(SimpleAnimationLoader.java:95)
[20:24:59] [Craft Scheduler Thread - 287/WARN]:     at com.dsh105.holoapi.image.SimpleAnimationLoader.loadAnimationConfiguration(SimpleAnimationLoader.java:70)
[20:24:59] [Craft Scheduler Thread - 287/WARN]:     at com.dsh105.holoapi.HoloAPICore$3.run(HoloAPICore.java:250)
[20:24:59] [Craft Scheduler Thread - 287/WARN]:     at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java:58)
[20:24:59] [Craft Scheduler Thread - 287/WARN]:     at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
[20:24:59] [Craft Scheduler Thread - 287/WARN]:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[20:24:59] [Craft Scheduler Thread - 287/WARN]:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[20:24:59] [Craft Scheduler Thread - 287/WARN]:     at java.lang.Thread.run(Thread.java:745)

My config:

animations:
  sword:
    path: "sword.gif"
    characterType: BLOCK
    height: 16
    frameRate: 10
    type: FILE
    requiresBorder: true

The sword.gif:

Version info:

Spigot: 1484 (MC: 1.7.9) HoloAPI: build from master