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.
Pages: 1 2 
OpenGL error message (Read 8965 times)
OpenGL error message
Nov 25th, 2009, 4:47am
 
I am new to this forum and i am trying to run the OpenGL examples  but i am getting the same error for all of them :

Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
     at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:2
21)
     at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176)
     at java.util.jar.JarVerifier.processEntry(JarVerifier.java:233)
     at java.util.jar.JarVerifier.update(JarVerifier.java:188)
     at java.util.jar.JarFile.initializeVerifier(JarFile.java:325)
     at java.util.jar.JarFile.getInputStream(JarFile.java:390)
     at sun.misc.URLClassPath$JarLoader$1.getInputStream(URLClassPath.java:620)
     at sun.misc.Resource.cachedInputStream(Resource.java:58)
     at sun.misc.Resource.getByteBuffer(Resource.java:113)
     at java.net.URLClassLoader.defineClass(URLClassLoader.java:249)
     at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
     at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)

I am running Processing 1.0.9 on Mac OSX leopard 10.5.8.

Any help would be great.

Re: OpenGL error message
Reply #1 - Jan 4th, 2010, 10:43pm
 
I just started getting this same set of error message this morning as I tried to tweak the GeForce GTX graphics card settings in the Nvedia Control Panel. Very frustrating, if anyone could shed some light it will be awesome.
Re: OpenGL error message
Reply #2 - Jan 5th, 2010, 2:28am
 
Here are my specs:

- Processing 1.0.9
- Windows 7
- Nvidia geForce GTX 260

I have reinstalled the latest JAVA RE (jre-6u17-windows-x64) as well as the graphics card drivers.

I tested running Processing beta 0154 and it was able to run OPENGL sketches fine.

For now I will code and compile from my MacBook, will be great if I could sort this out soon, my last resort is to re-install windows 7.

thanks,
Re: OpenGL error message
Reply #3 - Jan 5th, 2010, 12:31pm
 
On OSX, OpenGL was working fine in Processing version 1.0.1 until I downloaded version 1.0.9 the same error message shows. Then I tried downloading versions 1.0.8 - 1.0.5, all showing the same error messages attempting to run OPENGL sketches. Can someone please help?
Re: OpenGL error message
Reply #4 - Jan 5th, 2010, 1:12pm
 
I run OpenGL on all my sketches (complex ones in some cases).. Mac and Windows and I've had no issues.  So I would say your having a larger issue with Java, JOGL or OpenGL.  I'd try a wider Google search, which produces many hits describing your error.
Re: OpenGL error message
Reply #5 - Jan 7th, 2010, 5:07pm
 
yes I looked on google for this error but having a hard time making sense of it all. Is there a file I need to replace, modify or reinstall?
Re: OpenGL error message
Reply #6 - Jan 11th, 2010, 3:29am
 
I would make sure you have the latest drivers for you graphics card.
Re: OpenGL error message
Reply #7 - Jan 13th, 2010, 5:07pm
 
Same problem. Standart Processing OPENGL examples also don't work.
Re: OpenGL error message
Reply #8 - Jan 14th, 2010, 12:54am
 
could someone from the higher ups shed some light on this issue please Smiley
Re: OpenGL error message
Reply #9 - Jan 15th, 2010, 2:40pm
 
I found solution!
In my case the problem was in Voltron library (dm.ncl.ac.uk/joescully/voltronlib)
I deleted it and OPENGL now works fine.

Then i found problems with Fullscreen libarary. And remove it too.
Please help
Reply #10 - Jan 17th, 2010, 10:24am
 


Hello,

I just updated to processing 1.09.

As expected, P3D is very distorted now.

So I updated my program to OPENGL.

But I can see only the background-image and none of my graphics. The program doesn't work anymore! It doesn't crash but it doesn't show anyhing.

I then updated my graphic-card-driver, Nvidia GFORCE 9400 GT.
To no avail.

I have Win XP. The monitor is 16:9, 1440x900px, but I also tried all kinds of sizes.

I use peasycam and ControlP5 (and opengl) in my program.

So I then tested both libraries, peasycam and ControlP5, with OPENGL and they are wonderful. I also tested peasyCam with the beginHUD-thing, because I thought that could be a problem. This also works wonderful in a example-program for peasyCam.

I also increased the memory to 700. To no avail.

I don't do anything fancy in my program... just boxes.

Are there any don'ts and nogos for opengl? Any commands such as background or so? I figure the reason is in my program because the library-examples work. I read all the issue pages here...

Any help appreciated.     Cry

Desperation and pain...


Greetings,

Chrisir




Re: OpenGL error message
Reply #11 - Jan 17th, 2010, 10:36pm
 
enthusiast wrote on Jan 15th, 2010, 2:40pm:
I found solution!
In my case the problem was in Voltron library (dm.ncl.ac.uk/joescully/voltronlib)
I deleted it and OPENGL now works fine.


You are right! I just re-installed window 7 hoping to fix this java error message (was not a big deal since I recently built this win7 PC just to run Processing), then noticed without my collection of libraries OPENGL ran fine. Thanks for pointing out which one it is.  Cheesy
Re: OpenGL error message
Reply #12 - Jan 19th, 2010, 3:50am
 
It worked for me to! Thank you enthusiast

enthusiast wrote on Jan 15th, 2010, 2:40pm:
I found solution!
In my case the problem was in Voltron library (dm.ncl.ac.uk/joescully/voltronlib)
I deleted it and OPENGL now works fine.

Then i found problems with Fullscreen libarary. And remove it too.

Re: OpenGL error message
Reply #13 - Feb 17th, 2010, 2:27pm
 
Hello!

I found the solution.

I wanted to go from P3D to OPENGL and my image just vanished.

The cause was the perspective-command, something like:
perspective(fov, float(width)/float(height), cameraZ/2.0, cameraZ*2.0);

Line deleted, Problem solved!   Smiley

Then I had another point which only occured with OPENGL:

I used controlP5 with Peasycam.

I had controlP5.draw in the cam.beginHUD - endHUD - statement in draw. This was to have a Textarea in the HUD.

With going to OPENGL, I suddenly had two Textareas from controlP5, which is one too many.

So I put
 controlP5.setAutoDraw(false);
in setup.

Now I only have only one TextArea and it is in the HUD.

Wonderful!  Smiley

I hope, this helps other people...


Greetings,

Chrisir

Re: OpenGL error message
Reply #14 - May 30th, 2010, 3:24am
 
enthusiast wrote on Jan 15th, 2010, 2:40pm:
I found solution!
In my case the problem was in Voltron library (dm.ncl.ac.uk/joescully/voltronlib)
I deleted it and OPENGL now works fine.

Then i found problems with Fullscreen library. And remove it too.


I have just found same issue with the PeasyCam library if it wasn't for this post I would have tried all sorts of daft things to try and fix processing OPENGL, however I was suspicious when my ruby-processing applications still seemed to work OK.
Should I post this as a bug because it seems daft to me, that the signature 'error' caused by one library (in the sketchbook libraries folder) should screw the running of all OPENGL applications Lips Sealed  which by the way do not require the library...................

PS OS linux, so thats same/similar problem on all three platforms by my reckoning.

Additional experiments with peasy cam helloword example show that it works ok (ie with P3D). Change that sketch to OPENGL and there it is again signature error this what I captured in console:-

Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
       at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:2
21)
       at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176)
       at java.util.jar.JarVerifier.processEntry(JarVerifier.java:245)
       at java.util.jar.JarVerifier.update(JarVerifier.java:199)
       at java.util.jar.JarFile.initializeVerifier(JarFile.java:323)
       at java.util.jar.JarFile.getInputStream(JarFile.java:388)
       at sun.misc.URLClassPath$JarLoader$2.getInputStream(URLClassPath.java:692)
       at sun.misc.Resource.cachedInputStream(Resource.java:61)
       at sun.misc.Resource.getByteBuffer(Resource.java:144)
       at java.net.URLClassLoader.defineClass(URLClassLoader.java:256)
       at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
       at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: processing.core.PApplet.  Program will exit.

18.00 GMT Further research, I downloaded source for peasycam from GitHub, recompiled on my machine (needed to mod build.xml to suit processing-1.1, on my machine build was linked to processing-1.0.9 on Jonathans Windows machine). As expected all is now hunky dory.......
Still think there is some sort of bug, one dodgy library signature should not mess up "ALL" opengl examples.
Pages: 1 2