Open marcschuler opened 5 years ago
Hi @KarlTheBee
Sorry for taking so long to respond. Had a lot of IRL stuff going on, and it'll probably be another 3-4 weeks until I'll be able to work on this API again.
Yeah, the threading stuff is pretty broken in v1.2.0. I think I've already fixed this in master, though - I've pretty much rewritten the entire command queue system that the query runs on.
You could try to use a SNAPSHOT
build of the API - I think the current build should be pretty stable 😃
I noticed a weird behaviour in version 1.2.0 where a Thread got stuck in my application. The connection to the server was closed and after that the programm tried to execute a command (whoami). Because there wasn't an connection anymore (and somehow no exception was thrown), the application did wait for an answer it would never receive. And it would wait Indefinitly.
The TS3 error (timeout):
ERROR [[TeamSpeak-3-Java-API] SocketReader] c.g.t.t.SocketReader: Connection closed by the server.
The stack trace of the stuck Thread: