We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › missing PApplet$RendererChangeException class
Page Index Toggle Pages: 1
missing PApplet$RendererChangeException class (Read 586 times)
missing PApplet$RendererChangeException class
Nov 20th, 2008, 5:13pm
 
Hello

I am building a Linux Java application with an embedded PApplet. PApplet should render OpenGL. At run time I get an error

Exception in thread "Thread-1" java.lang.NoClassDefFoundError: processing/core/PApplet$RendererChangeException
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Class.java:164)
       at processing.core.PApplet.createGraphics(PApplet.java:1088)
       at processing.core.PApplet.size(PApplet.java:897)
       at processing.core.PApplet.size(PApplet.java:838)
       at npgviz.npgviewer.NpgVizViewer.setup(NpgVizViewer.java:17)
       at processing.core.PApplet.handleDisplay(PApplet.java:1285)
       at processing.core.PGraphics.requestDisplay(PGraphics.java:680)
       at processing.core.PApplet.run(PApplet.java:1454)
       at java.lang.Thread.run(Thread.java:595)

I've read on this site about the RendererChangeException and why it's used. The problem seem to be that this class is not defined in the core.jar. Neither I can see it in the head of the source code repository. Where is it?

Many thanks in advance

M
Re: missing PApplet$RendererChangeException class
Reply #1 - Nov 20th, 2008, 7:48pm
 
you're building against conflicting versions of core.jar or the processing core source.
Re: missing PApplet$RendererChangeException class
Reply #2 - Nov 21st, 2008, 10:48am
 
Thanks, Ben, you are right. mcam
Page Index Toggle Pages: 1