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.

Bug 35968 - java.lang.ClassFormatError
Summary: java.lang.ClassFormatError
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2003-09-09 12:45 UTC by tomzi
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log (501.91 KB, text/plain)
2003-09-09 12:46 UTC, tomzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomzi 2003-09-09 12:45:39 UTC
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...
Comment 1 tomzi 2003-09-09 12:46:52 UTC
Created attachment 11551 [details]
ide.log
Comment 2 pzajac 2003-09-09 14:49:38 UTC
reassigned to java. Please evaluate. 
Comment 3 Jan Becicka 2003-09-09 15:07:57 UTC
It looks like Thomas has mounted some corrupted jar...
Comment 4 tomzi 2003-09-09 15:26:06 UTC
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.
Comment 5 Jan Becicka 2003-09-09 15:53:59 UTC
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(
Comment 6 tomzi 2003-09-09 22:21:43 UTC
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.
Comment 7 Jan Becicka 2003-09-19 15:27:18 UTC
Thomas doesn't mind if we close this bug.

Where is the outdated link? Thanks