java.lang.NullPointerException: Exception in server tick loop

Mojang JIRA | Bob Buechler | 3 years ago
  1. 0

    Vanilla SMP with 3 players. Steps to reproduce: Played normally for 4 hours, occurred seemingly at random and without warning. Players lagged hard, and were then kicked. We were then unable to log back on. This does not seem to be similar to MC-48411, as it is not a Windows environment, and does not seem to involve slimeblocks. Server Log: 2014-02-16 21:36:37 [INFO] megashub lost connection: TranslatableComponent{key='disconnect.genericReason', args=[Internal Exception: io.netty.handler.timeout.ReadTimeoutException], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}} 2014-02-16 21:36:37 [INFO] megashub left the game 2014-02-16 21:37:24 [ERROR] Encountered an unexpected exception java.lang.NullPointerException at com.mojang.authlib.GameProfile.hashCode(GameProfile.java:90) ~[minecraft_server.jar:?] at java.util.WeakHashMap.hash(WeakHashMap.java:365) ~[?:1.7.0_51] at java.util.WeakHashMap.put(WeakHashMap.java:517) ~[?:1.7.0_51] at org.apache.commons.lang3.builder.ToStringStyle.register(ToStringStyle.java:191) ~[minecraft_server.jar:?] at org.apache.commons.lang3.builder.ToStringStyle.appendClassName(ToStringStyle.java:1453) ~[minecraft_server.jar:?] at org.apache.commons.lang3.builder.ToStringStyle.appendStart(ToStringStyle.java:378) ~[minecraft_server.jar:?] at org.apache.commons.lang3.builder.ToStringBuilder.<init>(ToStringBuilder.java:263) ~[minecraft_server.jar:?] at org.apache.commons.lang3.builder.ToStringBuilder.<init>(ToStringBuilder.java:226) ~[minecraft_server.jar:?] at com.mojang.authlib.GameProfile.toString(GameProfile.java:97) ~[minecraft_server.jar:?] at ov.d(SourceFile:102) ~[minecraft_server.jar:?] at ov.a(SourceFile:93) ~[minecraft_server.jar:?] at ok.c(SourceFile:130) ~[minecraft_server.jar:?] at net.minecraft.server.MinecraftServer.v(SourceFile:555) ~[minecraft_server.jar:?] at nb.v(SourceFile:264) ~[minecraft_server.jar:?] at net.minecraft.server.MinecraftServer.u(SourceFile:471) ~[minecraft_server.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:387) [minecraft_server.jar:?] at mr.run(SourceFile:657) [minecraft_server.jar:?] ---- Minecraft Crash Report ---- // Oh - I know what I did wrong! Time: 2/16/14 9:37 PM Description: Exception in server tick loop java.lang.NullPointerException: Exception in server tick loop at com.mojang.authlib.GameProfile.hashCode(GameProfile.java:90) at java.util.WeakHashMap.hash(WeakHashMap.java:365) at java.util.WeakHashMap.put(WeakHashMap.java:517) at org.apache.commons.lang3.builder.ToStringStyle.register(ToStringStyle.java:191) at org.apache.commons.lang3.builder.ToStringStyle.appendClassName(ToStringStyle.java:1453) at org.apache.commons.lang3.builder.ToStringStyle.appendStart(ToStringStyle.java:378) at org.apache.commons.lang3.builder.ToStringBuilder.<init>(ToStringBuilder.java:263) at org.apache.commons.lang3.builder.ToStringBuilder.<init>(ToStringBuilder.java:226) at com.mojang.authlib.GameProfile.toString(GameProfile.java:97) at ov.d(SourceFile:102) at ov.a(SourceFile:93) at ok.c(SourceFile:130) at net.minecraft.server.MinecraftServer.v(SourceFile:555) at nb.v(SourceFile:264) at net.minecraft.server.MinecraftServer.u(SourceFile:471) at net.minecraft.server.MinecraftServer.run(SourceFile:387) at mr.run(SourceFile:657) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 14w07a Operating System: Linux (amd64) version 2.6.32-431.3.1.el6.x86_64 Java Version: 1.7.0_51, Oracle Corporation Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 572602760 bytes (546 MB) / 1066926080 bytes (1017 MB) up to 1908932608 bytes (1820 MB) JVM Flags: 2 total; -Xms1G -Xmx2G IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94 Profiler Position: N/A (disabled) Player Count: 2 / 10

    Mojang JIRA | 3 years ago | Bob Buechler
    java.lang.NullPointerException: Exception in server tick loop
  2. 0

    Vanilla SMP with 3 players. Steps to reproduce: Played normally for 4 hours, occurred seemingly at random and without warning. Players lagged hard, and were then kicked. We were then unable to log back on. This does not seem to be similar to MC-48411, as it is not a Windows environment, and does not seem to involve slimeblocks. Server Log: 2014-02-16 21:36:37 [INFO] megashub lost connection: TranslatableComponent{key='disconnect.genericReason', args=[Internal Exception: io.netty.handler.timeout.ReadTimeoutException], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}} 2014-02-16 21:36:37 [INFO] megashub left the game 2014-02-16 21:37:24 [ERROR] Encountered an unexpected exception java.lang.NullPointerException at com.mojang.authlib.GameProfile.hashCode(GameProfile.java:90) ~[minecraft_server.jar:?] at java.util.WeakHashMap.hash(WeakHashMap.java:365) ~[?:1.7.0_51] at java.util.WeakHashMap.put(WeakHashMap.java:517) ~[?:1.7.0_51] at org.apache.commons.lang3.builder.ToStringStyle.register(ToStringStyle.java:191) ~[minecraft_server.jar:?] at org.apache.commons.lang3.builder.ToStringStyle.appendClassName(ToStringStyle.java:1453) ~[minecraft_server.jar:?] at org.apache.commons.lang3.builder.ToStringStyle.appendStart(ToStringStyle.java:378) ~[minecraft_server.jar:?] at org.apache.commons.lang3.builder.ToStringBuilder.<init>(ToStringBuilder.java:263) ~[minecraft_server.jar:?] at org.apache.commons.lang3.builder.ToStringBuilder.<init>(ToStringBuilder.java:226) ~[minecraft_server.jar:?] at com.mojang.authlib.GameProfile.toString(GameProfile.java:97) ~[minecraft_server.jar:?] at ov.d(SourceFile:102) ~[minecraft_server.jar:?] at ov.a(SourceFile:93) ~[minecraft_server.jar:?] at ok.c(SourceFile:130) ~[minecraft_server.jar:?] at net.minecraft.server.MinecraftServer.v(SourceFile:555) ~[minecraft_server.jar:?] at nb.v(SourceFile:264) ~[minecraft_server.jar:?] at net.minecraft.server.MinecraftServer.u(SourceFile:471) ~[minecraft_server.jar:?] at net.minecraft.server.MinecraftServer.run(SourceFile:387) [minecraft_server.jar:?] at mr.run(SourceFile:657) [minecraft_server.jar:?] ---- Minecraft Crash Report ---- // Oh - I know what I did wrong! Time: 2/16/14 9:37 PM Description: Exception in server tick loop java.lang.NullPointerException: Exception in server tick loop at com.mojang.authlib.GameProfile.hashCode(GameProfile.java:90) at java.util.WeakHashMap.hash(WeakHashMap.java:365) at java.util.WeakHashMap.put(WeakHashMap.java:517) at org.apache.commons.lang3.builder.ToStringStyle.register(ToStringStyle.java:191) at org.apache.commons.lang3.builder.ToStringStyle.appendClassName(ToStringStyle.java:1453) at org.apache.commons.lang3.builder.ToStringStyle.appendStart(ToStringStyle.java:378) at org.apache.commons.lang3.builder.ToStringBuilder.<init>(ToStringBuilder.java:263) at org.apache.commons.lang3.builder.ToStringBuilder.<init>(ToStringBuilder.java:226) at com.mojang.authlib.GameProfile.toString(GameProfile.java:97) at ov.d(SourceFile:102) at ov.a(SourceFile:93) at ok.c(SourceFile:130) at net.minecraft.server.MinecraftServer.v(SourceFile:555) at nb.v(SourceFile:264) at net.minecraft.server.MinecraftServer.u(SourceFile:471) at net.minecraft.server.MinecraftServer.run(SourceFile:387) at mr.run(SourceFile:657) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 14w07a Operating System: Linux (amd64) version 2.6.32-431.3.1.el6.x86_64 Java Version: 1.7.0_51, Oracle Corporation Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 572602760 bytes (546 MB) / 1066926080 bytes (1017 MB) up to 1908932608 bytes (1820 MB) JVM Flags: 2 total; -Xms1G -Xmx2G IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94 Profiler Position: N/A (disabled) Player Count: 2 / 10

    Mojang JIRA | 3 years ago | Bob Buechler
    java.lang.NullPointerException: Exception in server tick loop
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    We have a slimeblock 8x8x8 in 14w06b and it shrinks to 6x6x6(somehow) in 14w07a and when viewed renders Black inside and soon as it come sinto view causes the server to crash *Moderator Note: It might not be caused by Slime Blocks!* {code} ---- Minecraft Crash Report ---- // Oops. Time: 2/14/14 3:38 AM Description: Exception in server tick loop java.lang.NullPointerException: Exception in server tick loop at com.mojang.authlib.GameProfile.hashCode(GameProfile.java:90) at java.util.WeakHashMap.put(Unknown Source) at org.apache.commons.lang3.builder.ToStringStyle.register(ToStringStyle.java:191) at org.apache.commons.lang3.builder.ToStringStyle.appendClassName(ToStringStyle.java:1453) at org.apache.commons.lang3.builder.ToStringStyle.appendStart(ToStringStyle.java:378) at org.apache.commons.lang3.builder.ToStringBuilder.<init>(ToStringBuilder.java:263) at org.apache.commons.lang3.builder.ToStringBuilder.<init>(ToStringBuilder.java:226) at com.mojang.authlib.GameProfile.toString(GameProfile.java:97) at ov.d(SourceFile:102) at ov.a(SourceFile:93) at ok.c(SourceFile:130) at net.minecraft.server.MinecraftServer.v(SourceFile:555) at nb.v(SourceFile:264) at net.minecraft.server.MinecraftServer.u(SourceFile:471) at net.minecraft.server.MinecraftServer.run(SourceFile:387) at mr.run(SourceFile:657) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 14w07a Operating System: Linux (amd64) version 2.6.32-431.1.2.0.1.el6.x86_64 Java Version: 1.7.0_01, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 3732572976 bytes (3559 MB) / 4116054016 bytes (3925 MB) up to 4116054016 bytes (3925 MB) JVM Flags: 3 total; -XX:MaxPermSize=256m -Xms4096M -Xmx4096M IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94 Profiler Position: N/A (disabled) Player Count: 3 / 40; [oe['dinidini'/235, l='world', x=840.70, y=79.20, z=6351.70], oe['ismail3214'/473, l='world', x=123.50, y=88.00, z=141.50], oe['Morpheus1101'/1795, l='world', x=-20.58, y=69.00, z=103.78]] Is Modded: Unknown (can't tell) Type: Dedicated Server (map_server.txt) {code}

    Mojang JIRA | 3 years ago | Warren Liddell
    java.lang.NullPointerException: Exception in server tick loop

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Exception in server tick loop

      at com.mojang.authlib.GameProfile.hashCode()
    2. com.mojang.authlib
      GameProfile.hashCode
      1. com.mojang.authlib.GameProfile.hashCode(GameProfile.java:90)
      1 frame
    3. Java RT
      WeakHashMap.put
      1. java.util.WeakHashMap.hash(WeakHashMap.java:365)
      2. java.util.WeakHashMap.put(WeakHashMap.java:517)
      2 frames
    4. Commons Lang
      ToStringBuilder.<init>
      1. org.apache.commons.lang3.builder.ToStringStyle.register(ToStringStyle.java:191)
      2. org.apache.commons.lang3.builder.ToStringStyle.appendClassName(ToStringStyle.java:1453)
      3. org.apache.commons.lang3.builder.ToStringStyle.appendStart(ToStringStyle.java:378)
      4. org.apache.commons.lang3.builder.ToStringBuilder.<init>(ToStringBuilder.java:263)
      5. org.apache.commons.lang3.builder.ToStringBuilder.<init>(ToStringBuilder.java:226)
      5 frames
    5. com.mojang.authlib
      GameProfile.toString
      1. com.mojang.authlib.GameProfile.toString(GameProfile.java:97)
      1 frame
    6. Unknown
      ok.c
      1. ov.d(SourceFile:102)
      2. ov.a(SourceFile:93)
      3. ok.c(SourceFile:130)
      3 frames
    7. MC Server
      MinecraftServer.v
      1. net.minecraft.server.MinecraftServer.v(SourceFile:555)
      1 frame
    8. Unknown
      nb.v
      1. nb.v(SourceFile:264)
      1 frame
    9. MC Server
      MinecraftServer.run
      1. net.minecraft.server.MinecraftServer.u(SourceFile:471)
      2. net.minecraft.server.MinecraftServer.run(SourceFile:387)
      2 frames
    10. Unknown
      mr.run
      1. mr.run(SourceFile:657)
      1 frame