org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.atlassian.maven.plugins:unpack-testjar:1.4:unpack-tests (default) on project confluence-multi-test: Unable to unpack test dependencies

Atlassian JIRA | Steve Lancashire [Atlassian] | 1 year ago
  1. 0

    Build fails : https://collaboration-bamboo.internal.atlassian.com/browse/CONFFUNC-WDHMASTERCHROME1400-2/log {code} build 07-Oct-2015 02:34:05 [INFO] Unpacking class files from com.atlassian.confluence.plugins.search:confluence-search-webdriver:test-jar:tests:2.2.5 build 07-Oct-2015 02:34:05 [WARNING] File already exists, will overwrite /opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/CONFFUNC-WDHMASTERCHROME1400-COREBATCH1/confluence-build/confluence-test-runner/confluence-multi-test/target/test-classes/META-INF/MANIFEST.MF build 07-Oct-2015 02:34:05 [INFO] ------------------------------------------------------------------------ build 07-Oct-2015 02:34:05 [INFO] Reactor Summary: build 07-Oct-2015 02:34:05 [INFO] build 07-Oct-2015 02:34:05 [INFO] Confluence Multi Acceptance Test Runner ............ FAILURE [ 10.636 s] build 07-Oct-2015 02:34:05 [INFO] Confluence Web Driver Test Runner .................. SKIPPED build 07-Oct-2015 02:34:05 [INFO] ------------------------------------------------------------------------ build 07-Oct-2015 02:34:05 [INFO] BUILD FAILURE build 07-Oct-2015 02:34:05 [INFO] ------------------------------------------------------------------------ build 07-Oct-2015 02:34:05 [INFO] Total time: 22.824 s build 07-Oct-2015 02:34:05 [INFO] Finished at: 2015-10-07T02:34:05+00:00 build 07-Oct-2015 02:34:06 [INFO] Final Memory: 186M/568M build 07-Oct-2015 02:34:06 [INFO] ------------------------------------------------------------------------ build 07-Oct-2015 02:34:06 [ERROR] Failed to execute goal com.atlassian.maven.plugins:unpack-testjar:1.4:unpack-tests (default) on project confluence-multi-test: Unable to unpack test dependencies: invalid constant type: 18 -> [Help 1] build 07-Oct-2015 02:34:06 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.atlassian.maven.plugins:unpack-testjar:1.4:unpack-tests (default) on project confluence-multi-test: Unable to unpack test dependencies build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) build 07-Oct-2015 02:34:06 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) build 07-Oct-2015 02:34:06 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) build 07-Oct-2015 02:34:06 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) build 07-Oct-2015 02:34:06 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) build 07-Oct-2015 02:34:06 at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) build 07-Oct-2015 02:34:06 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) build 07-Oct-2015 02:34:06 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) build 07-Oct-2015 02:34:06 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) build 07-Oct-2015 02:34:06 at java.lang.reflect.Method.invoke(Method.java:497) build 07-Oct-2015 02:34:06 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) build 07-Oct-2015 02:34:06 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) build 07-Oct-2015 02:34:06 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) build 07-Oct-2015 02:34:06 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) build 07-Oct-2015 02:34:06 Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to unpack test dependencies build 07-Oct-2015 02:34:06 at com.atlassian.maven.plugins.unpacktests.UnpackTestsMojo.execute(UnpackTestsMojo.java:76) build 07-Oct-2015 02:34:06 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) build 07-Oct-2015 02:34:06 ... 19 more build 07-Oct-2015 02:34:06 Caused by: java.io.IOException: invalid constant type: 18 build 07-Oct-2015 02:34:06 at javassist.bytecode.ConstPool.readOne(ConstPool.java:1090) build 07-Oct-2015 02:34:06 at javassist.bytecode.ConstPool.read(ConstPool.java:1033) build 07-Oct-2015 02:34:06 at javassist.bytecode.ConstPool.<init>(ConstPool.java:149) build 07-Oct-2015 02:34:06 at javassist.bytecode.ClassFile.read(ClassFile.java:737) build 07-Oct-2015 02:34:06 at javassist.bytecode.ClassFile.<init>(ClassFile.java:108) build 07-Oct-2015 02:34:06 at org.scannotation.AnnotationDB.scanClass(AnnotationDB.java:343) build 07-Oct-2015 02:34:06 at com.atlassian.maven.plugins.unpacktests.UnpackTestsMojo.scanClassAnnotations(UnpackTestsMojo.java:122) build 07-Oct-2015 02:34:06 at com.atlassian.maven.plugins.unpacktests.UnpackTestsMojo.unpackJar(UnpackTestsMojo.java:99) build 07-Oct-2015 02:34:06 at com.atlassian.maven.plugins.unpacktests.UnpackTestsMojo.execute(UnpackTestsMojo.java:72) build 07-Oct-2015 02:34:06 ... 21 more build 07-Oct-2015 02:34:06 [ERROR] build 07-Oct-2015 02:34:06 [ERROR] Re-run Maven using the -X switch to enable full debug logging. {code} Something related to java8 and scannotations, code 18 is invoke dynamic introduced in java7 : http://stackoverflow.com/questions/30313255/reflections-java-8-invalid-constant-type

    Atlassian JIRA | 1 year ago | Steve Lancashire [Atlassian]
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.atlassian.maven.plugins:unpack-testjar:1.4:unpack-tests (default) on project confluence-multi-test: Unable to unpack test dependencies
  2. 0

    Build fails : https://collaboration-bamboo.internal.atlassian.com/browse/CONFFUNC-WDHMASTERCHROME1400-2/log {code} build 07-Oct-2015 02:34:05 [INFO] Unpacking class files from com.atlassian.confluence.plugins.search:confluence-search-webdriver:test-jar:tests:2.2.5 build 07-Oct-2015 02:34:05 [WARNING] File already exists, will overwrite /opt/bamboo-agent/bamboo-agent-home/xml-data/build-dir/CONFFUNC-WDHMASTERCHROME1400-COREBATCH1/confluence-build/confluence-test-runner/confluence-multi-test/target/test-classes/META-INF/MANIFEST.MF build 07-Oct-2015 02:34:05 [INFO] ------------------------------------------------------------------------ build 07-Oct-2015 02:34:05 [INFO] Reactor Summary: build 07-Oct-2015 02:34:05 [INFO] build 07-Oct-2015 02:34:05 [INFO] Confluence Multi Acceptance Test Runner ............ FAILURE [ 10.636 s] build 07-Oct-2015 02:34:05 [INFO] Confluence Web Driver Test Runner .................. SKIPPED build 07-Oct-2015 02:34:05 [INFO] ------------------------------------------------------------------------ build 07-Oct-2015 02:34:05 [INFO] BUILD FAILURE build 07-Oct-2015 02:34:05 [INFO] ------------------------------------------------------------------------ build 07-Oct-2015 02:34:05 [INFO] Total time: 22.824 s build 07-Oct-2015 02:34:05 [INFO] Finished at: 2015-10-07T02:34:05+00:00 build 07-Oct-2015 02:34:06 [INFO] Final Memory: 186M/568M build 07-Oct-2015 02:34:06 [INFO] ------------------------------------------------------------------------ build 07-Oct-2015 02:34:06 [ERROR] Failed to execute goal com.atlassian.maven.plugins:unpack-testjar:1.4:unpack-tests (default) on project confluence-multi-test: Unable to unpack test dependencies: invalid constant type: 18 -> [Help 1] build 07-Oct-2015 02:34:06 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.atlassian.maven.plugins:unpack-testjar:1.4:unpack-tests (default) on project confluence-multi-test: Unable to unpack test dependencies build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) build 07-Oct-2015 02:34:06 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) build 07-Oct-2015 02:34:06 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) build 07-Oct-2015 02:34:06 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) build 07-Oct-2015 02:34:06 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) build 07-Oct-2015 02:34:06 at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) build 07-Oct-2015 02:34:06 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) build 07-Oct-2015 02:34:06 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) build 07-Oct-2015 02:34:06 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) build 07-Oct-2015 02:34:06 at java.lang.reflect.Method.invoke(Method.java:497) build 07-Oct-2015 02:34:06 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) build 07-Oct-2015 02:34:06 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) build 07-Oct-2015 02:34:06 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) build 07-Oct-2015 02:34:06 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) build 07-Oct-2015 02:34:06 Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to unpack test dependencies build 07-Oct-2015 02:34:06 at com.atlassian.maven.plugins.unpacktests.UnpackTestsMojo.execute(UnpackTestsMojo.java:76) build 07-Oct-2015 02:34:06 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) build 07-Oct-2015 02:34:06 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) build 07-Oct-2015 02:34:06 ... 19 more build 07-Oct-2015 02:34:06 Caused by: java.io.IOException: invalid constant type: 18 build 07-Oct-2015 02:34:06 at javassist.bytecode.ConstPool.readOne(ConstPool.java:1090) build 07-Oct-2015 02:34:06 at javassist.bytecode.ConstPool.read(ConstPool.java:1033) build 07-Oct-2015 02:34:06 at javassist.bytecode.ConstPool.<init>(ConstPool.java:149) build 07-Oct-2015 02:34:06 at javassist.bytecode.ClassFile.read(ClassFile.java:737) build 07-Oct-2015 02:34:06 at javassist.bytecode.ClassFile.<init>(ClassFile.java:108) build 07-Oct-2015 02:34:06 at org.scannotation.AnnotationDB.scanClass(AnnotationDB.java:343) build 07-Oct-2015 02:34:06 at com.atlassian.maven.plugins.unpacktests.UnpackTestsMojo.scanClassAnnotations(UnpackTestsMojo.java:122) build 07-Oct-2015 02:34:06 at com.atlassian.maven.plugins.unpacktests.UnpackTestsMojo.unpackJar(UnpackTestsMojo.java:99) build 07-Oct-2015 02:34:06 at com.atlassian.maven.plugins.unpacktests.UnpackTestsMojo.execute(UnpackTestsMojo.java:72) build 07-Oct-2015 02:34:06 ... 21 more build 07-Oct-2015 02:34:06 [ERROR] build 07-Oct-2015 02:34:06 [ERROR] Re-run Maven using the -X switch to enable full debug logging. {code} Something related to java8 and scannotations, code 18 is invoke dynamic introduced in java7 : http://stackoverflow.com/questions/30313255/reflections-java-8-invalid-constant-type

    Atlassian JIRA | 1 year ago | Steve Lancashire [Atlassian]
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.atlassian.maven.plugins:unpack-testjar:1.4:unpack-tests (default) on project confluence-multi-test: Unable to unpack test dependencies
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Java JPA Hibernate Connection Issue

    Stack Overflow | 2 years ago
    java.lang.ExceptionInInitializerError
  5. 0

    Error creating entityManagerFactory due to error tying to scan <jar-file>

    Stack Overflow | 2 years ago | Chad
    java.lang.RuntimeException: Error while reading file:/E:/Files/Source/Workspace-Eclipse2/scrumster/bin/

    12 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      invalid constant type: 18

      at javassist.bytecode.ConstPool.readOne()
    2. Javassist
      ClassFile.<init>
      1. javassist.bytecode.ConstPool.readOne(ConstPool.java:1090)
      2. javassist.bytecode.ConstPool.read(ConstPool.java:1033)
      3. javassist.bytecode.ConstPool.<init>(ConstPool.java:149)
      4. javassist.bytecode.ClassFile.read(ClassFile.java:737)
      5. javassist.bytecode.ClassFile.<init>(ClassFile.java:108)
      5 frames
    3. Scannotation
      AnnotationDB.scanClass
      1. org.scannotation.AnnotationDB.scanClass(AnnotationDB.java:343)
      1 frame
    4. com.atlassian.maven
      UnpackTestsMojo.execute
      1. com.atlassian.maven.plugins.unpacktests.UnpackTestsMojo.scanClassAnnotations(UnpackTestsMojo.java:122)
      2. com.atlassian.maven.plugins.unpacktests.UnpackTestsMojo.unpackJar(UnpackTestsMojo.java:99)
      3. com.atlassian.maven.plugins.unpacktests.UnpackTestsMojo.execute(UnpackTestsMojo.java:72)
      3 frames
    5. Maven Plugin
      DefaultBuildPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
      1 frame
    6. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      2. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      3. org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
      5. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      6. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      7. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
      8. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
      9. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
      9 frames
    7. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
      3 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    9. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames