Mojira Archive
MC-95317

NullPointerException in NetHandler

The server has been crashing about 3 times a week, it looks to have to do with players disconnecting.

Here is the function in mcp.

public String func_147317_d() {
    return this.loginGameProfile != null ? this.loginGameProfile.toString() + " (" + this.networkManager.getRemoteAddress().toString() + ")" : String.valueOf(this.networkManager.getRemoteAddress());
}

Here is the log.

[00:24:52] [Server thread/INFO]: *** lost connection: TranslatableComponent{key='disconnect.genericReason', args=[Internal Exception: java.io.IOException: Error while write(...): Broken pipe], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
[00:24:52] [Server thread/INFO]: *** left the game
[00:24:52] [Server thread/INFO]: *** lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
[00:24:52] [Server thread/INFO]: *** left the game
[00:24:52] [Server thread/INFO]: com.mojang.authlib.GameProfile@***[id=<null>,name=***,properties={},legacy=false] (/***) lost connection: Disconnected
[00:24:52] [Server thread/INFO]: com.mojang.authlib.GameProfile@***[id=<null>,name=***,properties={},legacy=false] (/***) lost connection: Disconnected
[00:24:52] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.NullPointerException
	at lo.d(SourceFile:126) ~[minecraft_server.1.8.9.jar:?]
	at lo.a(SourceFile:117) ~[minecraft_server.1.8.9.jar:?]
	at ek.l(SourceFile:368) ~[minecraft_server.1.8.9.jar:?]
	at ll.c(SourceFile:165) ~[minecraft_server.1.8.9.jar:?]
	at net.minecraft.server.MinecraftServer.B(SourceFile:625) ~[minecraft_server.1.8.9.jar:?]
	at ko.B(SourceFile:299) ~[minecraft_server.1.8.9.jar:?]
	at net.minecraft.server.MinecraftServer.A(SourceFile:535) ~[minecraft_server.1.8.9.jar:?]
	at net.minecraft.server.MinecraftServer.run(SourceFile:451) [minecraft_server.1.8.9.jar:?]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_66]

Any help would be great!

Awaiting Response

Alex

2016-01-05, 09:39 AM

2016-10-23, 06:21 PM

2016-10-23, 06:21 PM

1

1

Unconfirmed

Minecraft 1.8.9

-