You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If possible, please attach the smallest possible sketch that reproduces
your problem. First make a tiny example, then use Tools -> Archive Sketch to create a zip file, and then attach it to this bug report.
What steps will reproduce the problem?
Create a sketch that imports the opengl2 library
Set the renderer to something else (eg. opengl)
Run the sketch
What is the expected output? What do you see instead?
Sketch crashes - obviously expecting a non-static mode means it won't run unless it is set to the renderer?
What version of the product are you using? On what operating system?
OS X 10.6.6.
Please provide any additional information below.
Error Message:
java.lang.IncompatibleClassChangeError: Expecting non-static method javax.media.opengl.glu.GLU.gluNewTess()Ljavax/media/opengl/glu/GLUtessellator;
at processing.opengl.PGraphicsOpenGL.<init>(PGraphicsOpenGL.java:126)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at processing.core.PApplet.makeGraphics(PApplet.java:1320)
at processing.core.PApplet.size(PApplet.java:1146)
at processing.core.PApplet.size(PApplet.java:1106)
at ogl2bug.setup(ogl2bug.java:30)
at processing.core.PApplet.handleDraw(PApplet.java:1587)
at processing.core.PApplet.run(PApplet.java:1506)
at java.lang.Thread.run(Thread.java:680)
java.lang.IncompatibleClassChangeError: Expecting non-static method javax.media.opengl.glu.GLU.gluNewTess()Ljavax/media/opengl/glu/GLUtessellator;
at processing.opengl.PGraphicsOpenGL.<init>(PGraphicsOpenGL.java:126)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at processing.core.PApplet.makeGraphics(PApplet.java:1320)
at processing.core.PApplet.size(PApplet.java:1146)
at processing.core.PApplet.size(PApplet.java:1106)
at ogl2bug.setup(ogl2bug.java:30)
at processing.core.PApplet.handleDraw(PApplet.java:1587)
at processing.core.PApplet.run(PApplet.java:1506)
at java.lang.Thread.run(Thread.java:680)
Exception in thread "Animation Thread" java.lang.RuntimeException: Expecting non-static method javax.media.opengl.glu.GLU.gluNewTess()Ljavax/media/opengl/glu/GLUtessellator;
at processing.core.PApplet.makeGraphics(PApplet.java:1345)
at processing.core.PApplet.size(PApplet.java:1146)
at processing.core.PApplet.size(PApplet.java:1106)
at ogl2bug.setup(ogl2bug.java:30)
at processing.core.PApplet.handleDraw(PApplet.java:1587)
at processing.core.PApplet.run(PApplet.java:1506)
at java.lang.Thread.run(Thread.java:680)
Note: Please do not link to locations on other sites, such as your own image site, video site, blog, etc. Include the relevant information here with the report.
From JesseCol...@gmail.com on March 11, 2011 10:58:32
EDIT: it is only crashing if OPENGL2 is imported and the renderer is set to OPENGL... works fine with other renderers.
From f...@processing.org on March 11, 2011 11:56:16
Don't import one and ask for the other, of course you're going to get an error that says it's incompatible.
From JesseCol...@gmail.com on March 14, 2011 10:31:32
Ok, fair enough. Sometimes I test framerate with different renderers, and I've never had to delete/comment out the import statement for opengl before... not a big deal, just thought i'd mention it.
Maybe it should be noted somewhere, in the reference for size() perhaps ??
Original author: JesseCol...@gmail.com (March 11, 2011 10:55:27)
If possible, please attach the smallest possible sketch that reproduces
your problem. First make a tiny example, then use Tools -> Archive Sketch
to create a zip file, and then attach it to this bug report.
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Sketch crashes - obviously expecting a non-static mode means it won't run unless it is set to the renderer?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Error Message:
java.lang.IncompatibleClassChangeError: Expecting non-static method javax.media.opengl.glu.GLU.gluNewTess()Ljavax/media/opengl/glu/GLUtessellator;
at processing.opengl.PGraphicsOpenGL.<init>(PGraphicsOpenGL.java:126)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at processing.core.PApplet.makeGraphics(PApplet.java:1320)
at processing.core.PApplet.size(PApplet.java:1146)
at processing.core.PApplet.size(PApplet.java:1106)
at ogl2bug.setup(ogl2bug.java:30)
at processing.core.PApplet.handleDraw(PApplet.java:1587)
at processing.core.PApplet.run(PApplet.java:1506)
at java.lang.Thread.run(Thread.java:680)
java.lang.IncompatibleClassChangeError: Expecting non-static method javax.media.opengl.glu.GLU.gluNewTess()Ljavax/media/opengl/glu/GLUtessellator;
at processing.opengl.PGraphicsOpenGL.<init>(PGraphicsOpenGL.java:126)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at processing.core.PApplet.makeGraphics(PApplet.java:1320)
at processing.core.PApplet.size(PApplet.java:1146)
at processing.core.PApplet.size(PApplet.java:1106)
at ogl2bug.setup(ogl2bug.java:30)
at processing.core.PApplet.handleDraw(PApplet.java:1587)
at processing.core.PApplet.run(PApplet.java:1506)
at java.lang.Thread.run(Thread.java:680)
Exception in thread "Animation Thread" java.lang.RuntimeException: Expecting non-static method javax.media.opengl.glu.GLU.gluNewTess()Ljavax/media/opengl/glu/GLUtessellator;
at processing.core.PApplet.makeGraphics(PApplet.java:1345)
at processing.core.PApplet.size(PApplet.java:1146)
at processing.core.PApplet.size(PApplet.java:1106)
at ogl2bug.setup(ogl2bug.java:30)
at processing.core.PApplet.handleDraw(PApplet.java:1587)
at processing.core.PApplet.run(PApplet.java:1506)
at java.lang.Thread.run(Thread.java:680)
Note: Please do not link to locations on other sites, such as your own
image site, video site, blog, etc. Include the relevant information here
with the report.
Original issue: http://code.google.com/p/processing/issues/detail?id=566
The text was updated successfully, but these errors were encountered: