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 132582 - nbm must be compiled by JDK 5
Summary: nbm must be compiled by JDK 5
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: SoapUI (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: omatzura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-10 23:17 UTC by Lukas Jungmann
Modified: 2008-07-22 17:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log (38.46 KB, text/plain)
2008-04-10 23:57 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2008-04-10 23:17:58 UTC
-run 6.1rc1 IDE on JDK 5
-install the soapui nbm[1]

=> should fail with:

INFO [org.netbeans.modules.autoupdate.ui.wizards.UninstallStep]: org.netbeans.InvalidException:
StandardModule:com.eviware.soapui.netbeans.module jarFile:
C:\Users\lukas\.netbeans\6.1rc1\modules\com-eviware-soapui-netbeans-module.jar: java.lang.UnsupportedClassVersionError:
Bad version number in .class file
java.lang.UnsupportedClassVersionError: Bad version number in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
...
Comment 1 Lukas Jungmann 2008-04-10 23:19:14 UTC
ops, sorry, here's [1]: http://wiki.netbeans.org/attach/SoapUIIntegration/com-eviware-soapui-netbeans-module.nbm
Comment 2 omatzura 2008-04-10 23:54:33 UTC
Hi!

hmm.. can you in the stacktrace see exactly which class that is causing this?

regards!

/Ole
eviware.com
Comment 3 Lukas Jungmann 2008-04-10 23:57:46 UTC
Created attachment 60027 [details]
ide log
Comment 4 Lukas Jungmann 2008-04-11 00:02:29 UTC
Unfortunately no, maybe adding AU module developers on cc can help. Jirko, do you have any idea?
Comment 5 Jiri Rechtacek 2008-04-11 08:51:37 UTC
The com-eviware-soapui-netbeans-module.nbm is working with JDK6 only. No wonder that NbInstaller cannot load this plugin
on JDK5. On NB6.1RC1 on JDK6 it worksforme.
Comment 6 Lukas Jungmann 2008-04-11 10:37:29 UTC
In issue 129227 there is very handy tool from Tomas Zezula and its output shows that the problem is in soapui-2.0.3.jar. 

Here's output for all jars in soapui's nbm (jar, class file version):
C:\tmp\activation-1.1.jar	1.4
C:\tmp\bcprov-jdk15-138.jar	1.5
C:\tmp\binding-2.0.1.jar	1.5
C:\tmp\com-eviware-soapui-netbeans-module.jar	1.5
C:\tmp\commons-beanutils-1.7.0.jar	1.2
C:\tmp\commons-cli-1.0.jar	1.1
C:\tmp\commons-codec-1.3.jar	1.2
C:\tmp\commons-httpclient-3.1.jar	1.2
C:\tmp\commons-io-1.3.2.jar	1.3
C:\tmp\commons-logging-adapters-1.1.jar	1.1
C:\tmp\ext-xmlbeans-1.0.jar	1.5
C:\tmp\forms-1.0.7.jar	1.4
C:\tmp\groovy-all-1.5.4.jar	1.3
C:\tmp\j2ee-xmlbeans-1.4.jar	1.5
C:\tmp\javamail-1.4.jar	1.4
C:\tmp\jetty-6.1.8.jar	1.4
C:\tmp\jetty-util-6.1.8.jar	1.4
C:\tmp\jsr173_1.0_api-xmlbeans-2.3.0.jar	1.2
C:\tmp\junit-3.8.1.jar	1.1
C:\tmp\l2fprod-common-fontchooser-0.2-dev.jar	1.2
C:\tmp\log4j-1.2.14.jar	1.1
C:\tmp\looks-2.1.4.jar	1.4
C:\tmp\not-yet-commons-ssl-0.3.10.jar	1.2
C:\tmp\opensaml-1.1.jar	1.4
C:\tmp\saxon-8.8.jar	1.2
C:\tmp\saxon-dom-8.8.jar	1.2
C:\tmp\servlet-api-2.5-6.1.8.jar	1.4
C:\tmp\soap-xmlbeans-1.2.jar	1.5
C:\tmp\soapui-2.0.3.jar	1.6
C:\tmp\soapui-xmlbeans-2.0.3.jar	1.5
C:\tmp\swingx-SNAPSHOT.jar	1.5
C:\tmp\wsdl4j-1.6.2-fixed.jar	1.5
C:\tmp\wss4j-1.5.3.jar	1.3
C:\tmp\xalan-2.7.0.jar	1.1
C:\tmp\xbean-2.3.0-trunk-patched.jar	1.4
C:\tmp\xbean_xpath-2.3.0.jar	1.4
C:\tmp\xercesImpl-2.9.1.jar	1.1
C:\tmp\xmlpublic-2.3.0.jar	1.4
C:\tmp\xmlsec-1.4.0.jar	1.1
C:\tmp\xmlunit-1.1.jar	1.3
Comment 7 Lukas Jungmann 2008-04-11 10:40:28 UTC
btw: Jirko, thanks for looking at this.
Comment 8 omatzura 2008-04-12 01:11:57 UTC
Thanks from me too, we'll recompile this jar with 1.5 compatibility in the future..

regards!

/Ole
eviware.com
Comment 9 Lukas Jungmann 2008-04-13 08:48:59 UTC
till then, I can't unfortunately approve new version of soapui nbm to be uploaded to NB stable UC
Comment 10 omatzura 2008-04-14 00:05:05 UTC
Hi!

ok.. there is now an updated nbm at http://www.soapui.org/download/com-eviware-soapui-netbeans-module-2.0.3.nbm which
should work ok with jdk 1.5. 

regards!

/Ole
eviware.com
Comment 11 Lukas Jungmann 2008-04-14 15:21:39 UTC
yes, this one works fine
Comment 12 Lukas Jungmann 2008-07-21 19:17:58 UTC
this is already fixed for some time I belive
Comment 13 Lukas Jungmann 2008-07-22 17:43:20 UTC
v.