famod commented on pull request #413:
URL: https://github.com/apache/maven/pull/413#issuecomment-748679993


   @michael-o 
   ```
   Exit code was non-zero: 1
   ...
   [INFO] --- maven-surefire-plugin:2.3:test (default-test) @ mng-module5-XXX 
---
   [INFO] Surefire report directory: 
C:\_dev\git\maven-integration-testing\core-it-suite\target\test-classes\mng-3259\module5\target\surefire-reports
   
   -------------------------------------------------------
    T E S T S
   -------------------------------------------------------
   Running mng.Module5Test
   Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.056 sec 
<<< FAILURE!
   testJMockAvailable(mng.Module5Test)  Time elapsed: 0.044 sec  <<< ERROR!
   java.lang.ExceptionInInitializerError
        at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:584)
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:375)
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:301)
        at mng.XStreamTestCase.setUp(XStreamTestCase.java:13)
        at org.jmock.core.VerifyingTestCase.runBare(VerifyingTestCase.java:37)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:567)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
   Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make 
field protected volatile java.util.Properties java.util.Properties.defaults 
accessible: module java.base does not "opens java.util" to unnamed module 
@5f205aa
        at 
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
        at 
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
        at 
java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:177)
        at java.base/java.lang.reflect.Field.setAccessible(Field.java:171)
        at com.thoughtworks.xstream.core.util.Fields.find(Fields.java:15)
        at 
com.thoughtworks.xstream.converters.collections.PropertiesConverter.<clinit>(PropertiesConverter.java:29)
        ... 25 more
   ```
   CI looks the same, AFAICT.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to