airavata-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saminda Wijeratne <samin...@gmail.com>
Subject Re: Test failure in trunk
Date Sat, 17 Aug 2013 06:57:23 GMT
I had the same error in my desktop machine and I changed my java version
from 1.6 to 1.7 and it worked to resolve the issue. Seems the xpp library
we are using (xpp3-1.1.5.jar  or xpp3-1.1.5.jar) have a dependency for java
1.7?



On Fri, Aug 16, 2013 at 12:49 PM, Suresh Marru <smarru@apache.org> wrote:

> Something I introduced with changing xml pull parser libraries. I will
> look at shortly.
>
> Suresh
>
> On Aug 16, 2013, at 12:42 PM, Amila Jayasekara <thejaka.amila@gmail.com>
> wrote:
>
> > Hi All,
> >
> > Getting following test case failure in latest trunk.
> > Any idea how to resolve this ?
> >
> > Thanks
> > Amila
> >
> > -------------------------------------------------------
> >  T E S T S
> > -------------------------------------------------------
> > Running org.apache.airavata.commons.gfac.wsdl.TestWSDLGeneration
> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.519
> sec <<< FAILURE!
> >
> > Results :
> >
> > Tests in error:
> >   test(org.apache.airavata.commons.gfac.wsdl.TestWSDLGeneration):
> org/xmlpull/v1/XmlPullParserException : Unsupported major.minor version 51.0
> >
> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> >
> > Surefire report:
> >
> >
> -------------------------------------------------------------------------------
> > Test set: org.apache.airavata.commons.gfac.wsdl.TestWSDLGeneration
> >
> -------------------------------------------------------------------------------
> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.519
> sec <<< FAILURE!
> > test(org.apache.airavata.commons.gfac.wsdl.TestWSDLGeneration)  Time
> elapsed: 0.437 sec  <<< ERROR!
> > java.lang.UnsupportedClassVersionError:
> org/xmlpull/v1/XmlPullParserException : Unsupported major.minor version 51.0
> >         at java.lang.ClassLoader.defineClass1(Native Method)
> >         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
> >         at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
> >         at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
> >         at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
> >         at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> >         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> >         at
> org.apache.airavata.commons.gfac.wsdl.TestWSDLGeneration.test(TestWSDLGeneration.java:114)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:597)
> >         at
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
> >         at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> >         at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
> >         at
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> >         at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
> >         at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> >         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
> >         at
> org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
> >         at
> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
> >         at
> org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
> >         at
> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
> >         at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
> >         at
> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
> >         at
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
> >         at
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
> >
> >
>
>

Mime
View raw message