TeamSpeak-3-Java-API: Some errors

` [16:14:28 INFO]: [2018-03-26 16:14:28.906] [SEVERE] TS3 command error: {msg=invalid serverID, id=1024} [16:14:28 INFO]: [2018-03-26 16:14:28.906] [SEVERE] TS3 command error: {msg=invalid serverID, id=1024} [16:14:28 INFO]: [2018-03-26 16:14:28.906] [SEVERE] TS3 command error: {msg=invalid serverID, id=1024} [16:14:28 INFO]: [2018-03-26 16:14:28.906] [SEVERE] TS3 command error: {msg=invalid serverID, id=1024} [16:14:28 INFO]: [2018-03-26 16:14:28.906] [SEVERE] TS3 command error: {msg=invalid serverID, id=1024} [16:14:28 INFO]: [2018-03-26 16:14:28.906] [SEVERE] TS3 command error: {msg=invalid serverID, id=1024} [16:14:28 INFO]: [2018-03-26 16:14:28.906] [SEVERE] TS3 command error: {msg=invalid serverID, id=1024} [16:14:28 INFO]: [2018-03-26 16:14:28.908] [WARNING] KeepAlive thread has stopped! com.github.theholywaffle.teamspeak3.api.exception.TS3Exception: Unhandled exception at com.github.theholywaffle.teamspeak3.api.CommandFuture.checkForFailure(CommandFuture.java:389) at com.github.theholywaffle.teamspeak3.api.CommandFuture.get(CommandFuture.java:271) at com.github.theholywaffle.teamspeak3.KeepAliveThread.run(KeepAliveThread.java:51) Caused by: com.github.theholywaffle.teamspeak3.api.exception.TS3CommandFailedException: A command returned with a server error. invalid serverID (ID 1024) at com.github.theholywaffle.teamspeak3.TS3ApiAsync.hasFailed(TS3ApiAsync.java:5144) at com.github.theholywaffle.teamspeak3.TS3ApiAsync.access$000(TS3ApiAsync.java:79) at com.github.theholywaffle.teamspeak3.TS3ApiAsync$59.handle(TS3ApiAsync.java:5072) at com.github.theholywaffle.teamspeak3.SocketReader$2.run(SocketReader.java:129) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

[16:14:28 INFO]: [2018-03-26 16:14:28.909] [WARNING] KeepAlive thread has stopped! com.github.theholywaffle.teamspeak3.api.exception.TS3Exception: Unhandled exception at com.github.theholywaffle.teamspeak3.api.CommandFuture.checkForFailure(CommandFuture.java:389) at com.github.theholywaffle.teamspeak3.api.CommandFuture.get(CommandFuture.java:271) at com.github.theholywaffle.teamspeak3.KeepAliveThread.run(KeepAliveThread.java:51) Caused by: com.github.theholywaffle.teamspeak3.api.exception.TS3CommandFailedException: A command returned with a server error. invalid serverID (ID 1024) at com.github.theholywaffle.teamspeak3.TS3ApiAsync.hasFailed(TS3ApiAsync.java:5144) at com.github.theholywaffle.teamspeak3.TS3ApiAsync.access$000(TS3ApiAsync.java:79) at com.github.theholywaffle.teamspeak3.TS3ApiAsync$59.handle(TS3ApiAsync.java:5072) at com.github.theholywaffle.teamspeak3.SocketReader$2.run(SocketReader.java:129) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

[16:14:28 INFO]: [2018-03-26 16:14:28.909] [WARNING] KeepAlive thread has stopped! com.github.theholywaffle.teamspeak3.api.exception.TS3Exception: Unhandled exception at com.github.theholywaffle.teamspeak3.api.CommandFuture.checkForFailure(CommandFuture.java:389) at com.github.theholywaffle.teamspeak3.api.CommandFuture.get(CommandFuture.java:271) at com.github.theholywaffle.teamspeak3.KeepAliveThread.run(KeepAliveThread.java:51) Caused by: com.github.theholywaffle.teamspeak3.api.exception.TS3CommandFailedException: A command returned with a server error. invalid serverID (ID 1024) at com.github.theholywaffle.teamspeak3.TS3ApiAsync.hasFailed(TS3ApiAsync.java:5144) at com.github.theholywaffle.teamspeak3.TS3ApiAsync.access$000(TS3ApiAsync.java:79) at com.github.theholywaffle.teamspeak3.TS3ApiAsync$59.handle(TS3ApiAsync.java:5072) at com.github.theholywaffle.teamspeak3.SocketReader$2.run(SocketReader.java:129) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

[16:14:28 INFO]: [2018-03-26 16:14:28.909] [WARNING] KeepAlive thread has stopped! com.github.theholywaffle.teamspeak3.api.exception.TS3Exception: Unhandled exception at com.github.theholywaffle.teamspeak3.api.CommandFuture.checkForFailure(CommandFuture.java:389) at com.github.theholywaffle.teamspeak3.api.CommandFuture.get(CommandFuture.java:271) at com.github.theholywaffle.teamspeak3.KeepAliveThread.run(KeepAliveThread.java:51) Caused by: com.github.theholywaffle.teamspeak3.api.exception.TS3CommandFailedException: A command returned with a server error. invalid serverID (ID 1024) at com.github.theholywaffle.teamspeak3.TS3ApiAsync.hasFailed(TS3ApiAsync.java:5144) at com.github.theholywaffle.teamspeak3.TS3ApiAsync.access$000(TS3ApiAsync.java:79) at com.github.theholywaffle.teamspeak3.TS3ApiAsync$59.handle(TS3ApiAsync.java:5072) at com.github.theholywaffle.teamspeak3.SocketReader$2.run(SocketReader.java:129) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

[16:14:28 INFO]: [2018-03-26 16:14:28.909] [WARNING] KeepAlive thread has stopped! com.github.theholywaffle.teamspeak3.api.exception.TS3Exception: Unhandled exception at com.github.theholywaffle.teamspeak3.api.CommandFuture.checkForFailure(CommandFuture.java:389) at com.github.theholywaffle.teamspeak3.api.CommandFuture.get(CommandFuture.java:271) at com.github.theholywaffle.teamspeak3.KeepAliveThread.run(KeepAliveThread.java:51) Caused by: com.github.theholywaffle.teamspeak3.api.exception.TS3CommandFailedException: A command returned with a server error. invalid serverID (ID 1024) at com.github.theholywaffle.teamspeak3.TS3ApiAsync.hasFailed(TS3ApiAsync.java:5144) at com.github.theholywaffle.teamspeak3.TS3ApiAsync.access$000(TS3ApiAsync.java:79) at com.github.theholywaffle.teamspeak3.TS3ApiAsync$59.handle(TS3ApiAsync.java:5072) at com.github.theholywaffle.teamspeak3.SocketReader$2.run(SocketReader.java:129) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

[16:14:28 INFO]: [2018-03-26 16:14:28.909] [WARNING] KeepAlive thread has stopped! com.github.theholywaffle.teamspeak3.api.exception.TS3Exception: Unhandled exception at com.github.theholywaffle.teamspeak3.api.CommandFuture.checkForFailure(CommandFuture.java:389) at com.github.theholywaffle.teamspeak3.api.CommandFuture.get(CommandFuture.java:271) at com.github.theholywaffle.teamspeak3.KeepAliveThread.run(KeepAliveThread.java:51) Caused by: com.github.theholywaffle.teamspeak3.api.exception.TS3CommandFailedException: A command returned with a server error. invalid serverID (ID 1024) at com.github.theholywaffle.teamspeak3.TS3ApiAsync.hasFailed(TS3ApiAsync.java:5144) at com.github.theholywaffle.teamspeak3.TS3ApiAsync.access$000(TS3ApiAsync.java:79) at com.github.theholywaffle.teamspeak3.TS3ApiAsync$59.handle(TS3ApiAsync.java:5072) at com.github.theholywaffle.teamspeak3.SocketReader$2.run(SocketReader.java:129) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

[16:14:28 INFO]: [2018-03-26 16:14:28.909] [WARNING] KeepAlive thread has stopped! com.github.theholywaffle.teamspeak3.api.exception.TS3Exception: Unhandled exception at com.github.theholywaffle.teamspeak3.api.CommandFuture.checkForFailure(CommandFuture.java:389) at com.github.theholywaffle.teamspeak3.api.CommandFuture.get(CommandFuture.java:271) at com.github.theholywaffle.teamspeak3.KeepAliveThread.run(KeepAliveThread.java:51) Caused by: com.github.theholywaffle.teamspeak3.api.exception.TS3CommandFailedException: A command returned with a server error. invalid serverID (ID 1024) at com.github.theholywaffle.teamspeak3.TS3ApiAsync.hasFailed(TS3ApiAsync.java:5144) at com.github.theholywaffle.teamspeak3.TS3ApiAsync.access$000(TS3ApiAsync.java:79) at com.github.theholywaffle.teamspeak3.TS3ApiAsync$59.handle(TS3ApiAsync.java:5072) at com.github.theholywaffle.teamspeak3.SocketReader$2.run(SocketReader.java:129) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

[16:14:52 SEVERE]: Mar 26, 2018 4:14:52 PM com.mongodb.diagnostics.logging.JULLogger log INFO: Opened connection [connectionId{localValue:563, serverValue:4129}] to 127.0.0.1:27017

[16:15:01 SEVERE]: Mar 26, 2018 4:15:01 PM com.mongodb.diagnostics.logging.JULLogger log INFO: Opened connection [connectionId{localValue:565, serverValue:4131}] to 127.0.0.1:27017

[16:15:01 SEVERE]: Mar 26, 2018 4:15:01 PM com.mongodb.diagnostics.logging.JULLogger log INFO: Opened connection [connectionId{localValue:564, serverValue:4130}] to 127.0.0.1:27017

[16:15:22 INFO]: [2018-03-26 16:15:22.196] [WARNING] Connection closed by the server. [16:15:22 INFO]: [2018-03-26 16:15:22.196] [WARNING] Connection closed by the server. [16:15:22 INFO]: [2018-03-26 16:15:22.196] [WARNING] Connection closed by the server. [16:15:22 INFO]: [2018-03-26 16:15:22.196] [WARNING] Connection closed by the server. [16:15:22 INFO]: [2018-03-26 16:15:22.196] [WARNING] Connection closed by the server. [16:15:22 INFO]: [2018-03-26 16:15:22.196] [WARNING] Connection closed by the server. [16:15:22 INFO]: [2018-03-26 16:15:22.196] [WARNING] Connection closed by the server. [16:15:22 INFO]: [2018-03-26 16:15:22.197] [WARNING] SocketReader has stopped! [16:15:22 INFO]: [2018-03-26 16:15:22.197] [WARNING] SocketReader has stopped! [16:15:22 INFO]: [2018-03-26 16:15:22.197] [WARNING] SocketReader has stopped! [16:15:22 INFO]: [2018-03-26 16:15:22.197] [WARNING] SocketReader has stopped! [16:15:22 INFO]: [2018-03-26 16:15:22.197] [WARNING] SocketReader has stopped! [16:15:22 INFO]: [2018-03-26 16:15:22.197] [WARNING] SocketReader has stopped! [16:15:22 INFO]: [2018-03-26 16:15:22.197] [WARNING] SocketReader has stopped! [16:15:22 SEVERE]: Exception in thread “[TeamSpeak-3-Java-API] SocketReader” [16:15:22 SEVERE]: java.lang.NoClassDefFoundError: com/github/theholywaffle/teamspeak3/TS3Query$1 [16:15:22 SEVERE]: at com.github.theholywaffle.teamspeak3.TS3Query.fireDisconnect(TS3Query.java:189) [16:15:22 SEVERE]: at com.github.theholywaffle.teamspeak3.SocketReader.run(SocketReader.java:150) [16:15:22 SEVERE]: Caused by: java.lang.ClassNotFoundException: com.github.theholywaffle.teamspeak3.TS3Query$1 [16:15:22 SEVERE]: at java.net.URLClassLoader.findClass(URLClassLoader.java:381) [16:15:22 SEVERE]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:102) [16:15:22 SEVERE]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87) [16:15:22 SEVERE]: at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [16:15:22 SEVERE]: at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [16:15:22 SEVERE]: … 2 more `

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15

Most upvoted comments

Sorry for being blunt, but man, what on earth are you doing? It looks like you’re running dozens of queries at once, aren’t rate limiting them despite not being whitelisted, and aren’t even correctly selecting a virtual server. Finally, how on earth is it possible that the query is running (or at least trying to run), and just seconds later you’re getting NoClassDefFoundErrors??

First of all, make sure that you didn’t copy your JAR into Bukkit’s plugins folder a dozen times by accident. After that, I’ll need to see your code to help you any further.