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 147755 - ClassFormatException when running app in 6.5
Summary: ClassFormatException when running app in 6.5
Status: RESOLVED DUPLICATE of bug 141921
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-19 18:08 UTC by briangabeycom
Modified: 2008-09-26 13:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description briangabeycom 2008-09-19 18:08:50 UTC
This is weird.  I have a swing app that I cannot run in 6.5, it might not be a compile problem but there was not a run
component.
I have a project I made with 6.1.  It includes a few thousands source files and several jar files under libraries.
The project works fine in NB 6.1. 
When I try to run the project in 6.5 I get the error below.
I go back to 6.1, and do a clean recompile and it will run.  If I don't do a clean recompile, it will NOT run back in
6.1. (Same error)
My jdk is J6 Update 10 RC.
You can reach me via email (brian@gabey.com) for questions or for me to try things to help narrow it down).

run:
java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file
com/teseda/ui/ewb/EWB
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$000(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:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Comment 1 Dusan Balek 2008-09-24 08:14:43 UTC
I's like to know a couple of things:
1) Build number of your NB 6.5
2) Does 'com/teseda/ui/ewb/EWB' come form your sources or a library?
3) Could you please attach 'com/teseda/ui/ewb/EWB.class' to this issue?
4) Could you eventually attach 'com/teseda/ui/ewb/EWB.java' to this issue?
Comment 2 swpalmer 2008-09-25 19:24:17 UTC
I'm seeing this too... a dupe of Issue 142848 and maybe related to Issue 141921

I just reproduced it with  6.5 200809250201

Comment 3 Dusan Balek 2008-09-26 13:43:32 UTC
Confirmed. Dupe of #141921.

*** This issue has been marked as a duplicate of 141921 ***