Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Error running URL Test
Error running URL Test [message #134811] Fri, 22 August 2008 13:50 Go to next message
Günter Ã?ller is currently offline Günter Ã?ller
Messages: 2
Registered: July 2009
Junior Member
Hi!

I have a problem running a URL Test as Test (local_deployment). When I run
the Test as JUnit-Test it works.

I get following error in the *.execution file. I use Java JDK 1.5.0_8 as
Eclipse JRE. Do you need any further information.

What does the error message mean?

Thanks for your help,

Günter!

Error Message:

<executionEvents xsi:type="Common_Testprofile:TPFMessageEvent"
ownerId="A1DD6F9F1D5C62E1EB88B03062363338" timestamp="1219411318515"
text="java.lang.UnsupportedClassVersionError: (test/Unriskfactory_admin)
bad major version at offset=6&#xD;&#xA;&#x9;at
java.lang.ClassLoader.defineClassImpl(Native Method)&#xD;&#xA;&#x9;at
java.lang.ClassLoader.defineClass(ClassLoader.java:224)& #xD;&#xA;&#x9;at
java.security.SecureClassLoader.defineClass(SecureClassLoade r.java:148)&#xD;&#xA;&#x9;at
java.net.URLClassLoader.defineClass(URLClassLoader.java:556) &#xD;&#xA;&#x9;at
java.net.URLClassLoader.access$400(URLClassLoader.java:119)& amp;#xD;&#xA;&#x9;at
java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java: 961)&#xD;&#xA;&#x9;at
java.security.AccessController.doPrivileged(AccessController .java:275)&#xD;&#xA;&#x9;at
java.net.URLClassLoader.findClass(URLClassLoader.java:487)&a mp;#xD;&#xA;&#x9;at
java.lang.ClassLoader.loadClass(ClassLoader.java:603)&#x D;&#xA;&#x9;at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:327 )&#xD;&#xA;&#x9;at
java.lang.ClassLoader.loadClass(ClassLoader.java:569)&#x D;&#xA;&#x9;at
java.lang.Class.forNameImpl(Native Method)&#xD;&#xA;&#x9;at
java.lang.Class.forName(Class.java:164)&#xD;&#xA;&am p;#x9;at
org.eclipse.hyades.test.java.runner.HyadesJUnitRunner.main(H yadesJUnitRunner.java:188)&#xD;&#xA; "
severity="error"/>
Re: Error running URL Test [message #134826 is a reply to message #134811] Fri, 22 August 2008 14:15 Go to previous messageGo to next message
Vincent MAHE is currently offline Vincent MAHE
Messages: 129
Registered: July 2009
Senior Member
Günter Öller a écrit :
> Hi!
>
> I have a problem running a URL Test as Test (local_deployment). When I
> run the Test as JUnit-Test it works.
>
> I get following error in the *.execution file. I use Java JDK 1.5.0_8 as
> Eclipse JRE. Do you need any further information.
>
> What does the error message mean?
>
> Thanks for your help,
> Günter!
>
> Error Message:
>
> <executionEvents xsi:type="Common_Testprofile:TPFMessageEvent"
> ownerId="A1DD6F9F1D5C62E1EB88B03062363338" timestamp="1219411318515"
> text="java.lang.UnsupportedClassVersionError: (test/Unriskfactory_admin)
> bad major version at offset=6&#xD;&#xA;&#x9;at
> java.lang.ClassLoader.defineClassImpl(Native Method)&#xD;&#xA;&#x9;at
> java.lang.ClassLoader.defineClass(ClassLoader.java:224)& #xD;&#xA;&#x9;at
> java.security.SecureClassLoader.defineClass(SecureClassLoade r.java:148)&#xD;&#xA;&#x9;at
> java.net.URLClassLoader.defineClass(URLClassLoader.java:556) &#xD;&#xA;&#x9;at
> java.net.URLClassLoader.access$400(URLClassLoader.java:119)& amp;#xD;&#xA;&#x9;at
> java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java: 961)&#xD;&#xA;&#x9;at
> java.security.AccessController.doPrivileged(AccessController .java:275)&#xD;&#xA;&#x9;at
> java.net.URLClassLoader.findClass(URLClassLoader.java:487)&a mp;#xD;&#xA;&#x9;at
> java.lang.ClassLoader.loadClass(ClassLoader.java:603)&#x D;&#xA;&#x9;at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:327 )&#xD;&#xA;&#x9;at
> java.lang.ClassLoader.loadClass(ClassLoader.java:569)&#x D;&#xA;&#x9;at
> java.lang.Class.forNameImpl(Native Method)&#xD;&#xA;&#x9;at
> java.lang.Class.forName(Class.java:164)&#xD;&#xA;&am p;#x9;at
> org.eclipse.hyades.test.java.runner.HyadesJUnitRunner.main(H yadesJUnitRunner.java:188)&#xD;&#xA; "
> severity="error"/>
>
I may suggest you try to run a class compiled on a Java 1.6 on your Java
1.5 runtime.


--
Cordialement

Vincent MAHÉ

Ingénieur Plate-forme OpenEmbeDD - http://openembedd.org
IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France
Tél: +33 (0) 2 99 84 71 00, Fax: +33 (0) 2 99 84 71 71
Re: Error running URL Test [message #134874 is a reply to message #134826] Sun, 24 August 2008 18:43 Go to previous message
Günter Ã?ller is currently offline Günter Ã?ller
Messages: 2
Registered: July 2009
Junior Member
Thx,

that was the problem!

Günter
Previous Topic:beginner's help, profiling, linux, agent library not loading, JPIBootLoader
Next Topic:The process launcher seems to be inactive. Restart the Agent Controller and try
Goto Forum:
  


Current Time: Sat Sep 20 20:14:49 GMT 2014

Powered by FUDForum. Page generated in 0.02522 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software