NullPointerException PFont.addGlyph
in
Integration and Hardware
•
8 months ago
I periodically get this error. Any suggestions how I could handle it?
java.lang.NullPointerException
at processing.core.PFont.addGlyph(PFont.java:462)
at processing.core.PFont.index(PFont.java:584)
at processing.core.PFont.width(PFont.java:664)
at processing.core.PGraphics.textWidthImpl(PGraphics.java:3270)
at processing.core.PGraphics.textWidth(PGraphics.java:3246)
at myapp.myappCore.trimText(myappCore.java:17697)
at myapp.myappCore.linkmap(myappCore.java:11731)
at myapp.core.thread.RunAnalysis.run(RunAnalysis.java:25)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
java.lang.NullPointerException
java.lang.NullPointerException
at processing.core.PFont.addGlyph(PFont.java:462)
at processing.core.PFont.index(PFont.java:584)
at processing.core.PFont.getGlyph(PFont.java:567)
at processing.core.PGraphics.textCharImpl(PGraphics.java:3728)
at processing.opengl.PGraphicsOpenGL.textCharImpl(PGraphicsOpenGL.java:1598)
at processing.core.PGraphics.textLineImpl(PGraphics.java:3716)
at processing.core.PGraphics.textLineAlignImpl(PGraphics.java:3706)
at processing.core.PGraphics.text(PGraphics.java:3405)
at processing.core.PGraphics.text(PGraphics.java:3360)
at processing.core.PApplet.text(PApplet.java:8931)
at myapp.myappCore.drawloader(myappCore.java:13805)
at myapp.myappCore.drawloader(myappCore.java:13744)
at myapp.myappCore.programloader(myappCore.java:12931)
at myapp.myappCore.draw(myappCore.java:836)
at processing.core.PApplet.handleDraw(PApplet.java:1631)
at processing.core.PApplet.run(PApplet.java:1530)
at java.lang.Thread.run(Thread.java:680)
1