java.lang.NullPointerException: data cannot be null

GitHub | exZerry | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 835#228731932

    GitHub | 10 months ago | exZerry
    java.lang.NullPointerException: data cannot be null
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Error during get Flavor list: java.lang.NullPointerException: URI template of the newly created target must not be null

    Stack Overflow | 3 years ago | user3152405
    java.lang.NullPointerException: URI template of the newly created target must not be null.
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

    data cannot be null

    at com.google.common.base.Preconditions.checkNotNull()
  2. Guava
    Preconditions.checkNotNull
    1. com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229)[craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-9af379f]
    1 frame
  3. net.citizensnpcs.api
    AbstractNPC$1.setPersistent
    1. net.citizensnpcs.api.npc.SimpleMetadataStore.checkPrimitive(SimpleMetadataStore.java:15)[?:?]
    2. net.citizensnpcs.api.npc.SimpleMetadataStore.setPersistent(SimpleMetadataStore.java:86)[?:?]
    3. net.citizensnpcs.api.npc.AbstractNPC$1.setPersistent(AbstractNPC.java:65)[?:?]
    3 frames
  4. net.citizensnpcs.npc
    SkinUpdateTracker$1.run
    1. net.citizensnpcs.npc.skin.Skin.setNPCSkinData(Skin.java:315)[?:?]
    2. net.citizensnpcs.npc.skin.Skin.apply(Skin.java:106)[?:?]
    3. net.citizensnpcs.npc.skin.SkinPacketTracker.updateViewer(SkinPacketTracker.java:218)[?:?]
    4. net.citizensnpcs.npc.skin.SkinUpdateTracker$1.run(SkinUpdateTracker.java:338)[?:?]
    4 frames
  5. org.bukkit.craftbukkit
    CraftScheduler.mainThreadHeartbeat
    1. org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:53)[craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-9af379f]
    2. org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:349)[craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-9af379f]
    2 frames
  6. net.minecraft.server
    MinecraftServer.run
    1. net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:697)[craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-9af379f]
    2. net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:360)[craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-9af379f]
    3. net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:646)[craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-9af379f]
    4. net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:550)[craftbukkit-1.10-R0.1-SNAPSHOT-latest.jar:git-Bukkit-9af379f]
    4 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)[?:1.8.0_91]
    1 frame