jferard / fastods

A very fast and lightweight (no dependency) library for creating ODS (Open Document Spreadsheet, mainly for Calc) files in Java. It's a Martin Schulz's SimpleODS fork
GNU General Public License v3.0
36 stars 6 forks source link

Mysterious message before test results #117

Closed jferard closed 6 years ago

jferard commented 6 years ago

After the last test of fastods, and before the test results, I have this message:

Exception in thread "Thread-1" java.lang.AssertionError: 
  Unexpected method call Handler.close():
    at org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:44)
    at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:94)
    at org.easymock.internal.ClassProxyFactory$MockMethodInterceptor.intercept(ClassProxyFactory.java:66)
    at $java.util.logging.Handler$$EnhancerByCGLIB$$820d11b1.close(<generated>)
    at java.util.logging.LogManager.resetLogger(LogManager.java:1346)
    at java.util.logging.LogManager.reset(LogManager.java:1332)
    at java.util.logging.LogManager$Cleaner.run(LogManager.java:239)

It appears only with:

 mvn clean verify
jferard commented 6 years ago

To narrow the issue:

jferard commented 6 years ago

Minimal version that produces the message:

JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64" mvn -DskipITs=true -Dtest=ContainerTest,OdsFactoryTest,ImmutableElementsFlusherTest verify