This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Don't know if it's a library problem but Netbeans must be killed after launching "Fix import" with Jogl library... Worked with 4.0 version.
It seems that a bad source zip causes this problem... It's not crucial to solve, but it may be useful not to need to kill Netbeans when this kind of problems occur.
Do you mean the source zip for the jogl library or for Java platform?
It seems that "zip for the jogl library" is the problem. Tested with version 1.1b10 & 1.1b11.
i have this problem on OSX too - the IDE freezes very often when editing any file that imports Jogl. Often freezes on save, or when a code completion is supposed to happen, or when following a "hotlink" to a method (cmd-click to go to source). Therefore I assume it's a problem with the code analysis ? The IDE hangs in some kind of tight loop (it eats CPU cycles but does nothing, the UI hangs too). Jogl has one class (GL) that has an *awful* lot of methods, could this be the problem ? This happens in Netbeans 4.1 and the latest 4.2 dailies.
sorry, forgot to mention the most important thing - I'm still having this problem after removing the source code zip for Jogl from the Library manager, so doesn't seem like it could be the source code. turquoise3232 - do you have a workaround ? Does it help if I decompress the actual library jar file ?
A possibility - Jogl includes a native code library as a jar - I have this mounted in the Library manager classpath - could this be the problem ?
I tried removing the native jar from the classpath and this seems to fix the problem for me. I realise that the native stuff shouldn't probably be there anyway, but it shouldn't cause the IDE to crash. When I tried adding the native jars into the library on a 4.2 daily I get intermittent crashes of the IDE as soon as I try to add the jar - crashed the first time, worked the second time i tried. On a related note - it would be VERY useful for netbeans to have a bit more elegant native library support. The library manager should have a way to specify native DLLs for imported libraries, and should add these to your apps native code path when it runs the app. At the moment, as far as I can tell, the only thing to do is to copy DLLs to either system-wide locations or to your working directory, or to add stuff to your code to find the libs.
I downloaded jogl library an played with it. It worked fine. Closing as works for me. If it happens again create few thread dumps so we can find out what is going on. Thanks.