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.
Everytime I start up netbeans, even if i change to other projects i get this error Annotation: Parser error java.lang.ClassFormatError: Unknown constant tag in .class file at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at org.netbeans.JarClassLoader.simpleFindClass(JarClassLoader.java:140) at org.netbeans.ProxyClassLoader.smartLoadClass(ProxyClassLoader.java:480) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:144) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at org.netbeans.modules.java.gj.V8EngineBase.doParse(V8EngineBase.java:251) at org.netbeans.modules.java.gj.V8EngineBase.parse(V8EngineBase.java:239) at org.netbeans.modules.java.gj.ParserEngine.parseObject(ParserEngine.java:136) at org.netbeans.modules.java.gj.JavaParserEngine.process(JavaParserEngine.java:72) at org.netbeans.modules.java.parser.ParsingSupport$Processor.process(ParsingSupport.java:711) at org.netbeans.modules.java.parser.ParsingSupport$Processor.parseLockModel(ParsingSupport.java:662) at org.netbeans.modules.java.parser.ParsingSupport$Processor.run(ParsingSupport.java:593) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670) ==> On all java source file I get those red circles with the white cross. This happend, after netbeans froze (when I was using code completion) and I had to kill the process. Although I can compile my project (after I reset the compile target, 'cause it was invalid, once restarted), everytime I open a source file I get this error. I'm also attaching my ide.log. Also, code-completion, viewing class structure and so on doesn't work either. I'm not yet shure, what I should do in order to get everything working again...
Created attachment 11551 [details] ide.log
reassigned to java. Please evaluate.
It looks like Thomas has mounted some corrupted jar...
Well, installed nb 3.5.1 in a different directory (importing nb 3.5 settings in the install wizard) and then it works just fine again. Even the 'old' installation works again now. But before that *all* source code in severall mounted fs's showed the 'error' symbol. However - it works for me again - i seems to be a very rare file corruption thing for me. Although from my expertise I don't think it had sth. to do with a corrupted jar file I mounted - I had that before and it looked different in behaviour to me.
It looks like some strange error. Are you able to reproduce it once again? Without some steps to reproduce, I'm afraid we cannot do much :o(
I'm afraid I don't think it is reproduceable, as I said before nb just froze as it opened the code-completion/javadoc pop-up, and.... However, I got everything working again by reinstalling in a couple of minutes, which was great and I posted the error report as the error notification suggested it to me. Btw the link-reference to bugzilla was outdated as i was redirected to www.netbeans.org/community/issues.html, with some sort of 'This page is outdated...' message. And a clickable link would also be helpful (but this is another enhancement request...) I don't mind if you close this report as a '1 occurance in a lifetime' thing.
Thomas doesn't mind if we close this bug. Where is the outdated link? Thanks