java.lang.NullPointerException

GitHub | D3add3d | 7 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.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at java.util.concurrent.ConcurrentHashMap.get()
  2. Java RT
    WToolkit.getFontMetrics
    1. java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
    2. sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:281)
    3. sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:250)
    4. sun.awt.SunToolkit.getFontMetrics(SunToolkit.java:649)
    5. sun.awt.windows.WToolkit.getFontMetrics(WToolkit.java:644)
    5 frames
  3. processing.opengl
    PGraphicsOpenGL.textCharImpl
    1. processing.opengl.PJOGL.getFontMetrics(PJOGL.java:468)
    2. processing.opengl.PJOGL.getFontRenderContext(PJOGL.java:476)
    3. processing.opengl.PJOGL.access$2(PJOGL.java:475)
    4. processing.opengl.PJOGL$FontOutline.<init>(PJOGL.java:695)
    5. processing.opengl.PJOGL.createFontOutline(PJOGL.java:686)
    6. processing.opengl.PJOGL.createFontOutline(PJOGL.java:1)
    7. processing.opengl.PGraphicsOpenGL.textCharShapeImpl(PGraphicsOpenGL.java:3680)
    8. processing.opengl.PGraphicsOpenGL.textCharImpl(PGraphicsOpenGL.java:3626)
    8 frames
  4. processing.core
    PGraphics.textLineImpl
    1. processing.core.PGraphics.textLineImpl(PGraphics.java:4984)
    1 frame
  5. processing.opengl
    PGraphicsOpenGL.textLineImpl
    1. processing.opengl.PGraphicsOpenGL.textLineImpl(PGraphicsOpenGL.java:3597)
    1 frame
  6. processing.core
    PApplet.text
    1. processing.core.PGraphics.textLineAlignImpl(PGraphics.java:4974)
    2. processing.core.PGraphics.text(PGraphics.java:4647)
    3. processing.core.PGraphics.text(PGraphics.java:4598)
    4. processing.core.PApplet.text(PApplet.java:12595)
    4 frames
  7. Unknown
    sketch_161001b.draw
    1. sketch_161001b.draw(sketch_161001b.java:31)
    1 frame
  8. processing.core
    PApplet.handleDraw
    1. processing.core.PApplet.handleDraw(PApplet.java:2412)
    1 frame
  9. processing.opengl
    PSurfaceJOGL$DrawListener.display
    1. processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:871)
    1 frame
  10. JOGL
    FPSAnimator$MainTask.run
    1. jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
    2. jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
    3. jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
    4. jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
    5. jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
    6. com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
    7. com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
    8. com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
    9. com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
    9 frames
  11. Java RT
    TimerThread.run
    1. java.util.TimerThread.mainLoop(Timer.java:555)
    2. java.util.TimerThread.run(Timer.java:505)
    2 frames