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 216636 - UnsupportedClassVersionError: logastore/Stockstable : Unsupported major.minor version 51.0
Summary: UnsupportedClassVersionError: logastore/Stockstable : Unsupported major.minor...
Status: RESOLVED DUPLICATE of bug 154197
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-10 02:49 UTC by Exceptions Reporter
Modified: 2012-08-17 16:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 145072


Attachments
stacktrace (6.88 KB, text/plain)
2012-08-10 02:49 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-08-10 02:49:20 UTC
This bug was originally marked as duplicate of bug 153005, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0.1 (Build 201107282000)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105
OS: Windows Vista

User Comments:
GUEST: Everytime i try to bind my swing components to data or another property I encounter this exception

GUEST: Openning binding contents of a table JTable

GUEST: trying to bind a list to a jtable
toplink database oracle 9i

GUEST: Nothing, i only load a "View file" which i dont touch it months ago.

GUEST: I was trying to change to modify elements binding of a JList (JList->binding->elements:: double click)

once I set this property, I cannot modify it anymore.

keep up the good work :)
Paolo




Stacktrace: 
java.lang.UnsupportedClassVersionError: logastore/Stockstable : Unsupported major.minor version 51.0
   at java.lang.ClassLoader.defineClass1(ClassLoader.java:0)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
   at org.netbeans.modules.form.project.ProjectClassLoader.findClass(ProjectClassLoader.java:162)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Comment 1 Exceptions Reporter 2012-08-10 02:49:23 UTC
Created attachment 122962 [details]
stacktrace
Comment 2 Tomas Pavek 2012-08-17 16:32:40 UTC
The cause is in attempt to load component classes that were compiled with a newer Java version than NetBeans runs on. E.g. if the project opened in NetBeans is set to newer Java version and its compiled classes are used in a GUI form. This can't work. There could just be some helpful message explaining the situation.

*** This bug has been marked as a duplicate of bug 154197 ***