xmamo / VanillaVotifier

Votifier plugin, but for Minecraft vanilla!
https://mamo.dev/vanillavotifier
Other
17 stars 8 forks source link

Java errors when executing test-vote command #14

Closed beaker4224 closed 8 years ago

beaker4224 commented 8 years ago

I'm getting the following errors when using the test-vote command (ex. test-vote Notch). The votifier starts up alright, and I've tried using the external ip of the server in the config settings as well as 127.0.0.1.

test-vote Notch

:53379 established a connection. Received vote query from :53379: VOTE TesterService Notch .static.alvotech.net 2016-04-05 19:47:10.656 Exception in thread "pool-1-thread-1" java.lang.IllegalAccessError: tried to access method java.net.InetSocketAddress.getHostString()Ljava/lang/String; from class co.virtualdragon.vanillaVotifier.impl.VanillaVotifierServerListener at co.virtualdragon.vanillaVotifier.impl.VanillaVotifierServerListener.onEvent(VanillaVotifierServerListener.java:68) at co.virtualdragon.vanillaVotifier.impl.VanillaVotifierServer.notifyListeners(VanillaVotifierServer.java:191) at co.virtualdragon.vanillaVotifier.impl.VanillaVotifierServer$1$1.run(VanillaVotifierServer.java:119) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) And in the log, it's showing: Received vote query from 5.44.105.113:53379: VOTE TesterService Notch .static.alvotech.net 2016-04-05 19:47:10.656 Is this possibly something to do with my configuration?
xmamo commented 8 years ago

Which Java version are you using? Are you using Oracle's JRE or the OpenJDK? Thanks in advance.

beaker4224 commented 8 years ago

I'm using OpenJDK, Java Version 1.6.0_38

Thanks!

xmamo commented 8 years ago

I think i fixed it. You can download the latest release from here.