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

java.lang.NullPointerException:
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:281)
at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:250)
at sun.awt.SunToolkit.getFontMetrics(SunToolkit.java:649)
at processing.opengl.PJOGL.getFontMetrics(PJOGL.java:468)
at processing.opengl.PJOGL.getFontRenderContext(PJOGL.java:476)
at processing.opengl.PJOGL.access$2(PJOGL.java:475)
at processing.opengl.PJOGL$FontOutline.(PJOGL.java:695)
at processing.opengl.PJOGL.createFontOutline(PJOGL.java:686)
at processing.opengl.PJOGL.createFontOutline(PJOGL.java:1)
at processing.opengl.PGraphicsOpenGL.textCharShapeImpl(PGraphicsOpenGL.java:3680)
at processing.opengl.PGraphicsOpenGL.textCharImpl(PGraphicsOpenGL.java:3626)
at processing.core.PGraphics.textLineImpl(PGraphics.java:4984)
at processing.opengl.PGraphicsOpenGL.textLineImpl(PGraphicsOpenGL.java:3597)
at processing.core.PGraphics.textLineAlignImpl(PGraphics.java:4974)
at processing.core.PGraphics.text(PGraphics.java:4647)
at processing.core.PGraphics.text(PGraphics.java:4598)
at processing.core.PApplet.text(PApplet.java:12595)
at undefined.sketch_161001b.draw(sketch_161001b.java:31)
at processing.core.PApplet.handleDraw(PApplet.java:2412)
at processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:871)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)

Users with the same issue

4 times, 1 month ago
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
6 times, 6 months ago
Once, 7 months ago
20 more bugmates

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