InventivetalentDev / AnimatedFrames

Play GIFs in Minecraft
MIT License
188 stars 34 forks source link

AF doesn't "support" PaperSpigot? #15

Closed xBreaksx closed 5 years ago

xBreaksx commented 8 years ago

What steps will reproduce the problem?

  1. Run on PaperSpigot
  2. (Optional) Make sure MapManager's PaperSpigot setting is set to true
  3. Load an image through /afcreate

    What were you expecting to happen? What happened instead?

I was expecting it to load an image without anything bad happening. Instead, no image appeared on the item frames and there was a repeating error in console.

What version of the plugin are you using? Type /version <Plugin Name>

4.3.1 (Latest)

What Spigot version are you using? Type /version

"This server is running Paper version git-Paper-773 (MC: 1.9.4) (Implementing API version 1.9.4-R0.1-SNAPSHOT)"

What plugins are you using? Type /plugins

BungeeCord: ServerListPlus Spigot: AnimatedFrames, ArmorStandTools, EssentialsX (AntiBuild, Protect, Spawn), FastAsyncWorldEdit, MapManager, Multiverse-Core (Portals), PacketListenerAPI, PlugMan, Vault, ViaVersion, VoidWorld, VoxelSniper, WorldEdit, WorldGuard

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

http://hastebin.com/ecewemapes.avrasm

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

No.

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

I am using Waterfall (a modified version of Bungeecord), no it did not work in previous versions. I got it to work eventually after restarting again (after making sure MapManager had PaperSpigot set to true (/mm reload did literally nothing, so restarting was the only solution)). I tried everything on the same run so I don't know if that's what caused this error.

markhughes commented 8 years ago

Same issue.

[12:56:55 INFO]: MarkehMe issued server command: /afcreate fun http://www.cherryplucker.com/wp-content/uploads/2013/06/rebecca-black-friday-3.gif
[12:57:00 WARN]: org.bukkit.plugin.AuthorNagException: Deprecated use of CustomTimingsHandler. Please Switch to Timings.of ASAP
[12:57:00 WARN]:    at org.spigotmc.CustomTimingsHandler.<init>(CustomTimingsHandler.java:58)
[12:57:00 WARN]:    at org.inventivetalent.mapmanager.TimingsHelper.createHandler(TimingsHelper.java:44)
[12:57:00 WARN]:    at org.inventivetalent.mapmanager.TimingsHelper.startTiming(TimingsHelper.java:21)
[12:57:00 WARN]:    at org.inventivetalent.animatedframes.AnimatedFrame$1.run(AnimatedFrame.java:310)
[12:57:00 WARN]:    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:58)
[12:57:00 WARN]:    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:352)
[12:57:00 WARN]:    at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:781)
[12:57:00 WARN]:    at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:404)
[12:57:00 WARN]:    at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:725)
[12:57:00 WARN]:    at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:624)
[12:57:00 WARN]:    at java.lang.Thread.run(Unknown Source)
[12:57:00 WARN]: [AnimatedFrames] Task #2443 for AnimatedFrames v4.3.2 generated an exception
java.lang.RuntimeException: java.lang.IllegalArgumentException: object is not an instance of declaring class
    at org.inventivetalent.mapmanager.TimingsHelper.startTiming(TimingsHelper.java:27) ~[?:?]
    at org.inventivetalent.animatedframes.AnimatedFrame$1.run(AnimatedFrame.java:310) ~[?:?]
    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[patched_1.10.2.jar:git-Paper-819]
    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:352) [patched_1.10.2.jar:git-Paper-819]
    at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:781) [patched_1.10.2.jar:git-Paper-819]
    at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:404) [patched_1.10.2.jar:git-Paper-819]
    at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:725) [patched_1.10.2.jar:git-Paper-819]
    at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:624) [patched_1.10.2.jar:git-Paper-819]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]
Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
    at org.inventivetalent.mapmanager.TimingsHelper.startTiming(TimingsHelper.java:25) ~[?:?]
    ... 8 more
[12:57:10 INFO]: [AnimatedFrames] Downloaded 'http://www.cherryplucker.com/wp-content/uploads/2013/06/rebecca-black-friday-3.gif' to 'plugins/AnimatedFrames/images/aHR0cDovL3d3dy5jaGVycnlwbHVja2VyLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxMy8wNi9yZWJlY2NhLWJsYWNrLWZyaWRheS0zLmdpZg=='.
[12:57:21 WARN]: [AnimatedFrames] Task #2720 for AnimatedFrames v4.3.2 generated an exception
java.lang.RuntimeException: java.lang.IllegalArgumentException: object is not an instance of declaring class
    at org.inventivetalent.mapmanager.TimingsHelper.startTiming(TimingsHelper.java:27) ~[?:?]
    at org.inventivetalent.animatedframes.AnimatedFrame$1.run(AnimatedFrame.java:310) ~[?:?]
    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[patched_1.10.2.jar:git-Paper-819]
    at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:352) [patched_1.10.2.jar:git-Paper-819]
    at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:781) [patched_1.10.2.jar:git-Paper-819]
    at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:404) [patched_1.10.2.jar:git-Paper-819]
    at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:725) [patched_1.10.2.jar:git-Paper-819]
    at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:624) [patched_1.10.2.jar:git-Paper-819]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]
Caused by: java.lang.IllegalArgumentException: object is not an instance of declaring class
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
    at org.inventivetalent.mapmanager.TimingsHelper.startTiming(TimingsHelper.java:25) ~[?:?]
    ... 8 more
DigiBandit commented 8 years ago

Same Problem ;( http://pastebin.com/rMTSQN96

InventivetalentDev commented 8 years ago

Please enable 'paperSpigot' in the MapManager config and see if that fixes anything. The plugin is supposed to detect PaperSpigot by itself, but I guess it doesn't quite recognize your version.s

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.