Jump to content
Changes to the Jaspersoft community edition download ×

Unit test failure compiling JasperSoft Server 7.1 on Mac


cryptoalerts2018

Recommended Posts

Any tips/suggestions would be appreciated

 [java] Forking command line: /bin/sh -c cd /Users/gregberesnev/git/jasperreports-server-src/jasperserver/jasperserver-api-impl/externalAuth && /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/bin/java -javaagent:/Users/gregberesnev/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/Users/gregberesnev/git/jasperreports-server-src/jasperserver/jasperserver-api-impl/externalAuth/target/jacoco.exec -jar /Users/gregberesnev/git/jasperreports-server-src/jasperserver/jasperserver-api-impl/externalAuth/target/surefire/surefirebooter4067954297268529991.jar      /Users/gregberesnev/git/jasperreports-server-src/jasperserver/jasperserver-api-impl/externalAuth/target/surefire/surefire2689009254246313087tmp      /Users/gregberesnev/git/jasperreports-server-src/jasperserver/jasperserver-api-impl/externalAuth/target/surefire/surefire_73744193836584925985tmp [java] objc[17049]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/bin/java (0x102a684c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x102b264e0). One of the two will be used. Which one is undefined.     [java] Running com.jaspersoft.jasperserver.api.security.externalAuth.processors.ExternalUserSetupProcessorTest     [java] ERROR StatusLogger No Log4j 2 configuration file found. Using default configuration (logging only errors to the console), or user programmatically provided configurations. Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging. See https://logging.apache.org/log4j/2.x/manual/configuration.html for instructions on how to configure Log4j 2     [java] Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.224 sec <<< FAILURE!     [java] testAlignInternalUser(com.jaspersoft.jasperserver.api.security.externalAuth.processors.ExternalUserSetupProcessorTest)  Time elapsed: 0.582 sec  <<< ERROR!     [java] java.lang.IncompatibleClassChangeError: Implementing class     [java] at java.lang.ClassLoader.defineClass1(Native Method)     [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:763)     [java] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)     [java] at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)     [java] at java.net.URLClassLoader.access$100(URLClassLoader.java:73)     [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:368)     [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:362)     [java] at java.security.AccessController.doPrivileged(Native Method)     [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:361)     [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)     [java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)     [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)     [java] at org.unitils.mock.core.MockObject.createArgumentMatchers(MockObject.java:547)     [java] at org.unitils.mock.core.MockObject.createBehaviorDefiningInvocation(MockObject.java:520)     [java] at org.unitils.mock.core.MockObject.handleOneTimeMatchingMockBehaviorInvocation(MockObject.java:418)     [java] at org.unitils.mock.core.MockObject$OneTimeMatchingMockBehaviorInvocationHandler.handleInvocation(MockObject.java:603)     [java] at org.unitils.mock.proxy.ProxyUtil$ProxyMethodInterceptor.intercept(ProxyUtil.java:145)     [java] at com.jaspersoft.jasperserver.api.metadata.user.service.UserAuthorityService$$EnhancerByCGLIB$$5485392f.putRole(<generated>)     [java] at com.jaspersoft.jasperserver.api.security.externalAuth.processors.ExternalUserSetupProcessorTest.testAlignInternalUser(ExternalUserSetupProcessorTest.java:84)[/code]
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...