Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-95317

NullPointerException in NetHandler

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • Minecraft 1.8.9
    • None
    • i7 4790k 32gb, Ubuntu 14.04.3 LTS, Java 1.8.0_66
    • Unconfirmed

      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!

            Unassigned Unassigned
            craftymyner Alex
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: