java.lang.NullPointerException: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by daboross
, 1 year ago
This exception has no message.
java.lang.NullPointerException:
at net.glowstone.inventory.GlowMetaPotion.dataToString(GlowMetaPotion.java:191)
at net.glowstone.inventory.GlowMetaPotion.writeNbt(GlowMetaPotion.java:87)
at net.glowstone.inventory.GlowItemFactory.writeNbt(GlowItemFactory.java:80)
at net.glowstone.io.nbt.NbtSerialization.writeItem(NbtSerialization.java:74)
at net.glowstone.io.nbt.NbtSerialization.writeInventory(NbtSerialization.java:112)
at net.glowstone.block.entity.TEContainer.saveNbt(TEContainer.java:45)
at net.glowstone.GlowChunk.toMessage(GlowChunk.java:697)
at net.glowstone.GlowChunk.toMessage(GlowChunk.java:616)
at net.glowstone.entity.GlowPlayer.streamBlocks(GlowPlayer.java:716)
at net.glowstone.entity.GlowPlayer.join(GlowPlayer.java:403)
at net.glowstone.net.GlowSession.setPlayer(GlowSession.java:342)
at net.glowstone.net.handler.login.LoginStartHandler.lambda$handle$0(LoginStartHandler.java:56)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at net.glowstone.scheduler.GlowTask.run(GlowTask.java:167)
at net.glowstone.scheduler.GlowScheduler.pulse(GlowScheduler.java:152)
at net.glowstone.scheduler.GlowScheduler.lambda$start$0(GlowScheduler.java:83)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.