Sign in to follow this  
Adambean

No players can join, java.nio.BufferUnderflowException

Recommended Posts

Suddenly anyone connecting gets thrown out with this error...

 

Quote

====== CLIENT CRASH ======
Unexpected crash while playing
org.gotti.wurmunlimited.modloader.classhooks.HookException: java.lang.reflect.InvocationTargetException
    at org.gotti.wurmunlimited.modloader.classhooks.HookManager.invoke(HookManager.java:354)
    at com.wurmonline.client.WurmClientBase.serverUpdate(WurmClientBase.java)
    at com.wurmonline.client.WurmClientBase.performConnection(WurmClientBase.java:870)
    at com.wurmonline.client.WurmClientBase.performFirstConnection(WurmClientBase.java:741)
    at com.wurmonline.client.WurmClientBase.runGame(WurmClientBase.java:287)
    at com.wurmonline.client.WurmClientBase.run(WurmClientBase.java:1601)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.gotti.wurmunlimited.mods.sortmod.SortMod$6$1.invoke(SortMod.java:367)
    at org.gotti.wurmunlimited.modloader.classhooks.HookManager.invoke(HookManager.java:344)
    ... 6 more
Caused by: java.nio.BufferUnderflowException
    at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:151)
    at com.wurmonline.client.comm.SimpleServerConnectionClass.readStringGivenLength(SimpleServerConnectionClass.java:5761)
    at com.wurmonline.client.comm.SimpleServerConnectionClass.readStringByteLength(SimpleServerConnectionClass.java:5776)
    at com.wurmonline.client.comm.SimpleServerConnectionClass.reallyHandleCmdAddToInventory(SimpleServerConnectionClass.java:2524)
    at com.wurmonline.client.comm.SimpleServerConnectionClass.reallyHandle(SimpleServerConnectionClass.java:1402)
    at com.wurmonline.communication.SocketConnection.tick(SocketConnection.java:618)
    at com.wurmonline.client.comm.SimpleServerConnectionClass.update(SimpleServerConnectionClass.java:277)
    at com.wurmonline.client.WurmClientBase.serverUpdate$1(WurmClientBase.java:1539)
    ... 12 more

 

With all the random issues going on only recently it's like WU Server is deliberately doing destructive things as an end of life built in obselesence. :)

 

Here it is without Sortmod:

Quote

Unexpected crash while playing
java.nio.BufferUnderflowException
    at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:151)
    at com.wurmonline.client.comm.SimpleServerConnectionClass.readStringGivenLength(SimpleServerConnectionClass.java:5761)
    at com.wurmonline.client.comm.SimpleServerConnectionClass.readStringByteLength(SimpleServerConnectionClass.java:5776)
    at com.wurmonline.client.comm.SimpleServerConnectionClass.reallyHandleCmdAddToInventory(SimpleServerConnectionClass.java:2524)
    at com.wurmonline.client.comm.SimpleServerConnectionClass.reallyHandle(SimpleServerConnectionClass.java:1402)
    at com.wurmonline.communication.SocketConnection.tick(SocketConnection.java:618)
    at com.wurmonline.client.comm.SimpleServerConnectionClass.update(SimpleServerConnectionClass.java:277)
    at com.wurmonline.client.WurmClientBase.serverUpdate(WurmClientBase.java:1539)
    at com.wurmonline.client.WurmClientBase.performConnection(WurmClientBase.java:870)
    at com.wurmonline.client.WurmClientBase.performFirstConnection(WurmClientBase.java:741)
    at com.wurmonline.client.WurmClientBase.runGame(WurmClientBase.java:287)
    at com.wurmonline.client.WurmClientBase.run(WurmClientBase.java:1601)
    at java.lang.Thread.run(Thread.java:748)

 

Edited by Adambean

Share this post


Link to post
Share on other sites

I know you are showing client errors, but it sounds like you've put client mods on your server...

Sortmod is a CLIENT mod, not a SERVER mod.  The client and the server are two separate applications with different code, so putting a client mod in the server mods folder will cause bad things to happen.  Make sure you remove all client mods from the server.

 

 

Share this post


Link to post
Share on other sites

Thanks for your response Ricowan. :) Nope wasn't that.

 

Turns out WU server decided to completely corrupt its items database. I restored a good one from a previous backup and all was well, apart from the fact WU server also decided it wasn't really going to write changes to disk for about a week.

 

So yeah, that's grand. Great software this.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this