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.
Build: NetBeans IDE 6.8 (Build 200912041610) VM: Java HotSpot(TM) Client VM, 1.5.0_15-b04, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_15-b04 OS: Windows XP User Comments: GUEST: I tried to open a project. The main issue from end user point of view is that the project is impossible to work at all (I would understand if java source functionality was restricted or absent at all, but I couldn't even open a file - just nothing happens if I open the project) Stacktrace: java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(ClassLoader.java:0) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
Created attachment 93766 [details] stacktrace
Created attachment 93767 [details] stacktrace Running NetBeans 6.8 on JDK5 and working with NetBeans sources (currenly prototypes repository, branch nbms-pack200-84852). I`ve build the sources using JDK6 (ant clean build-nozip -Dcluster.config). When I try to open any module sources (e.g. autoupdate.services) using NetBeans IDE (6.8) I get this exception. I have also tried to clean ~/.netbeans/6.8/var/cache but that didn`t help.
core-main #773671d99ff5
Workaround is to delete nbbuild/nbproject/private/*.ser.
Integrated into 'main-golden', will be available in build *201002060200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/773671d99ff5 User: Jesse Glick <jglick@netbeans.org> Log: #180158: LinkageError loading cache created by later JDK version.