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 129462 - UnsupportedClassVersionError: Bad version number in .class file
Summary: UnsupportedClassVersionError: Bad version number in .class file
Status: RESOLVED DUPLICATE of bug 129227
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: issues@platform
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-06 19:56 UTC by William Leonard
Modified: 2008-12-22 10:09 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 27582


Attachments
stacktrace (4.58 KB, text/plain)
2008-03-06 19:56 UTC, William Leonard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Leonard 2008-03-06 19:56:28 UTC
Build: NetBeans IDE 6.1 Beta (Build 200803041230)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-119
OS: Mac OS X, 10.5.2, i386

User Comments: 
Creating a project
Comment 1 William Leonard 2008-03-06 19:56:34 UTC
Created attachment 57911 [details]
stacktrace
Comment 2 Lukas Hasik 2008-03-07 08:47:48 UTC
reassigning to j2seproject

-this exception usually happens when you are using a compiled project with a different JDK version. However you are
creating new project, right?
Comment 3 Jan Lahoda 2008-03-07 08:57:39 UTC
Lukas, please do not re-assign these issues to J2SE Project - there is no problem in java/j2seproject. It simply calls
DataObject.createFromTemplate, which in turn calls
org.netbeans.modules.templates.ScriptingCreateFromTemplateHandler.engine() - the error is thrown inside this method. I
do not think there is anything that the J2SE project could do about this. I am not sure if templates/scripting can
improve the situation, but is seems as the most correct place in the IDE to handle these issues.

Reporter, for explanation and solution, please take a look at issue #129227.
Comment 4 Lukas Hasik 2008-03-07 10:31:37 UTC
Jan, thanks. 
I'm sorry I missed that this issue is related to Mac. I'm closing as duplicate.

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