[java-sig-commits] [Bug 702033] New: java.lang.reflect.UndeclaredThrowableException in tests

bugzilla at redhat.com bugzilla at redhat.com
Wed May 4 15:32:32 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: java.lang.reflect.UndeclaredThrowableException in tests

https://bugzilla.redhat.com/show_bug.cgi?id=702033

           Summary: java.lang.reflect.UndeclaredThrowableException in
                    tests
           Product: Fedora
           Version: 15
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: unspecified
         Component: maven-surefire
        AssignedTo: sochotni at redhat.com
        ReportedBy: orion at cora.nwra.com
         QAContact: extras-qa at fedoraproject.org
                CC: akurtako at redhat.com, sochotni at redhat.com,
                    java-sig-commits at lists.fedoraproject.org
    Classification: Fedora
      Story Points: ---


Description of problem:

With apacha-commons-vfs:

ava.lang.reflect.UndeclaredThrowableException
        at $Proxy0.invoke(Unknown Source)
        at
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
        at
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
        at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at
org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
        ... 4 more
Caused by: org.apache.maven.surefire.util.NestedRuntimeException: When finding
method run; nested exception is java.lang.NoSuchMethodException:
org.apache.commons.vfs.provider.zip.test.ZipProviderTestCase.run(junit.framework.TestResult)
        at
org.apache.maven.surefire.common.junit3.JUnit3Reflector.getMethod(JUnit3Reflector.java:114)
        at
org.apache.maven.surefire.common.junit3.JUnit3Reflector.getRunMethod(JUnit3Reflector.java:210)
        at
org.apache.maven.surefire.junit.JUnitTestSet.<init>(JUnitTestSet.java:70)
        at
org.apache.maven.surefire.junit.JUnit3Provider.createTestSet(JUnit3Provider.java:94)
        at
org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:84)
        ... 9 more
Caused by: java.lang.NoSuchMethodException:
org.apache.commons.vfs.provider.zip.test.ZipProviderTestCase.run(junit.framework.TestResult)
        at java.lang.Class.getMethod(Class.java:1622)
        at
org.apache.maven.surefire.common.junit3.JUnit3Reflector.getMethod(JUnit3Reflector.java:110)
        ... 13 more

Version-Release number of selected component (if applicable):
maven-surefire-2.7.2-1.fc15 and 2.8.1-1.fc16.  2.7.1-3.fc15 appears to work.

http://www.cora.nwra.com/~orion/fedora/apache-commons-vfs-1.0-1.fc15.src.rpm

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the java-sig-commits mailing list