[Hippo-cms7-dev] [Hudson] Build failed in Hudson: hippo-cms Trunk Nightly #807

Mathijs den Burger m.denburger at onehippo.com
Tue Nov 19 09:50:36 CET 2013


The Cobertura code coverage analysis threw an exception. Does that
ring a bell to anyone? Can we avoid it, or do we have to disable the
Cobertura plugin again?

Mathijs



On Tue, Nov 19, 2013 at 9:34 AM, Hippo Public Hudson Server
<beheer at onehippo.com> wrote:
> See <https://builds.onehippo.org/job/hippo-cms%20Trunk%20Nightly/807/>
>
> ------------------------------------------
> [...truncated 12735 lines...]
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:85)
>         at org.sonar.plugins.maven.DefaultMavenPluginExecutor.concreteExecuteMaven3(DefaultMavenPluginExecutor.java:123)
>         at org.sonar.plugins.maven.DefaultMavenPluginExecutor.concreteExecute(DefaultMavenPluginExecutor.java:107)
>         at org.sonar.plugins.maven.DefaultMavenPluginExecutor.execute(DefaultMavenPluginExecutor.java:71)
>         at org.sonar.plugins.maven.DefaultMavenPluginExecutor.execute(DefaultMavenPluginExecutor.java:58)
>         at org.sonar.batch.phases.InitializersExecutor.executeMavenPlugin(InitializersExecutor.java:82)
>         at org.sonar.batch.phases.InitializersExecutor.execute(InitializersExecutor.java:66)
>         at org.sonar.batch.phases.PhaseExecutor.executeInitializersPhase(PhaseExecutor.java:162)
>         at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:109)
>         at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:142)
>         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
>         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
>         at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:187)
>         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:182)
>         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:180)
>         at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:175)
>         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
>         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
>         at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:57)
>         at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:45)
>         at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:82)
>         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
>         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
>         at org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapContainer.java:156)
>         at org.sonar.batch.bootstrap.BootstrapContainer.doAfterStart(BootstrapContainer.java:144)
>         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
>         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
>         at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:92)
>         at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:74)
>         at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:45)
>         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:606)
>         at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
>         at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
>         at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
>         at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
>         at org.sonar.runner.api.Runner.execute(Runner.java:90)
>         at org.sonar.maven.SonarMojo.execute(SonarMojo.java:173)
>         at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:104)
>         at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:67)
>         at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:109)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>         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:606)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: java.lang.reflect.InvocationTargetException; nested exception is java.lang.reflect.InvocationTargetException: null
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>         ... 76 more
> Caused by: org.apache.maven.surefire.util.SurefireReflectionException: java.lang.reflect.InvocationTargetException; nested exception is java.lang.reflect.InvocationTargetException: null
>         at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:197)
>         at org.apache.maven.surefire.util.ReflectionUtils.invokeGetter(ReflectionUtils.java:69)
>         at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.getSuites(ProviderFactory.java:148)
>         at org.apache.maven.plugin.surefire.booterclient.ForkStarter.getSuitesIterator(ForkStarter.java:328)
>         at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkPerTestSet(ForkStarter.java:152)
>         at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:121)
>         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:740)
>         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAllProviders(AbstractSurefireMojo.java:682)
>         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:648)
>         at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:586)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         ... 77 more
> 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:606)
>         at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>         ... 87 more
> Caused by: java.lang.VerifyError: Instruction type does not match stack map
> Exception Details:
>   Location:
>     org/hippoecm/frontend/PluginTest.instantiate([Ljava/lang/String;Ljava/util/Map;)[Ljava/lang/String; @32: iload
>   Reason:
>     Type integer (current frame, locals[2]) is not assignable to '[Ljava/lang/String;' (stack map, locals[2])
>   Current Frame:
>     bci: @32
>     flags: { }
>     locals: { '[Ljava/lang/String;', 'java/util/Map', integer, integer, '[Ljava/lang/String;', integer }
>     stack: { }
>   Stackmap Frame:
>     bci: @32
>     flags: { }
>     locals: { '[Ljava/lang/String;', 'java/util/Map', '[Ljava/lang/String;', integer }
>     stack: { }
>   Bytecode:
>     0000000: 033d 11ff ff3e 1221 1100 69b8 0027 2abe
>     0000010: bd00 2b3a 0412 2111 006a b800 2703 3605
>     0000020: 1505 2abe 1100 6a3d 1100 003e a201 651c
>     0000030: 1100 6aa0 0016 1d11 0000 a000 0f12 211c
>     0000040: 1d04 b800 5311 ffff 3e12 2111 006b b800
>     0000050: 272a 1505 323a 0612 2111 006c b800 2719
>     0000060: 0612 55b6 0059 1100 6c3d 1100 003e 9900
>     0000070: f61c 1100 6ca0 0016 1d11 0000 a000 0f12
>     0000080: 211c 1d04 b800 5311 ffff 3e12 2111 006d
>     0000090: b800 2719 0619 0610 7bb6 005d 0460 1906
>     00000a0: 107d b600 5db6 0061 3a07 1221 1100 6eb8
>     00000b0: 0027 2b19 07b9 0067 0200 1100 6e3d 1100
>     00000c0: 003e 9900 631c 1100 6ea0 0016 1d11 0000
>     00000d0: a000 0f12 211c 1d04 b800 5311 ffff 3e12
>     00000e0: 2111 006f b800 27bb 0069 59b7 006a 1906
>     00000f0: 0319 0610 24b6 005d b600 61b6 006e 2b19
>     0000100: 07b9 0072 0200 c000 2bb6 006e 1906 1906
>     0000110: 107d b600 5d04 60b6 0075 b600 6eb6 0078
>     0000120: 3a06 a700 371d 9b00 0f12 211c 1d03 b800
>     0000130: 5311 ffff 3e12 2111 0072 b800 27bb 007a
>     0000140: 59bb 0069 59b7 006a 127c b600 6e19 07b6
>     0000150: 006e b600 78b7 007f bf12 2111 0074 b800
>     0000160: 27a7 fef6 1d9b 000f 1221 1c1d 03b8 0053
>     0000170: 11ff ff3e 1221 1100 75b8 0027 1904 1505
>     0000180: 1906 5312 2111 006a b800 2784 0501 a7fe
>     0000190: 921d 9b00 0f12 211c 1d03 b800 5311 ffff
>     00001a0: 3e12 2111 0077 b800 2719 04b0
>   Stackmap Table:
>     append_frame(@32,Object[#79],Integer)
>     append_frame(@95,Object[#43])
>     append_frame(@317,Object[#43])
>     chop_frame(@353,1)
>     same_frame(@380)
>     chop_frame(@425,2)
>
>         at java.lang.Class.getDeclaredMethods0(Native Method)
>         at java.lang.Class.privateGetDeclaredMethods(Class.java:2521)
>         at java.lang.Class.getMethod0(Class.java:2764)
>         at java.lang.Class.getMethod(Class.java:1653)
>         at org.apache.maven.surefire.util.ReflectionUtils.tryGetMethod(ReflectionUtils.java:57)
>         at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isSuiteOnly(JUnit3TestChecker.java:64)
>         at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.isValidJUnit3Test(JUnit3TestChecker.java:59)
>         at org.apache.maven.surefire.common.junit3.JUnit3TestChecker.accept(JUnit3TestChecker.java:54)
>         at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestChecker.java:51)
>         at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:97)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:194)
>         at org.apache.maven.surefire.junit4.JUnit4Provider.getSuites(JUnit4Provider.java:188)
>         ... 92 more
> [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.1:sonar (default-cli) on project hippo-cms: Can not execute SonarQube analysis: Unable to execute maven plugin: Exception during execution of org.codehaus.mojo:cobertura-maven-plugin:2.5.1:cobertura -> [Help 2]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.1:sonar (default-cli) on project hippo-cms: Can not execute SonarQube analysis
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>         at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>         at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>         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:606)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>         at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Can not execute SonarQube analysis
>         at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:109)
>         at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:67)
>         at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:109)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>         ... 19 more
> Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to execute maven plugin
>         at org.sonar.maven.ExceptionHandling.handle(ExceptionHandling.java:37)
>         at org.sonar.maven.SonarMojo.execute(SonarMojo.java:175)
>         at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:104)
>         ... 23 more
> Caused by: org.sonar.api.utils.SonarException: Unable to execute maven plugin
>         at org.sonar.plugins.maven.DefaultMavenPluginExecutor.execute(DefaultMavenPluginExecutor.java:73)
>         at org.sonar.plugins.maven.DefaultMavenPluginExecutor.execute(DefaultMavenPluginExecutor.java:58)
>         at org.sonar.batch.phases.InitializersExecutor.executeMavenPlugin(InitializersExecutor.java:82)
>         at org.sonar.batch.phases.InitializersExecutor.execute(InitializersExecutor.java:66)
>         at org.sonar.batch.phases.PhaseExecutor.executeInitializersPhase(PhaseExecutor.java:162)
>         at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:109)
>         at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:142)
>         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
>         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
>         at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:187)
>         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:182)
>         at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:180)
>         at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:175)
>         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
>         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
>         at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:57)
>         at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:45)
>         at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:82)
>         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
>         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
>         at org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapContainer.java:156)
>         at org.sonar.batch.bootstrap.BootstrapContainer.doAfterStart(BootstrapContainer.java:144)
>         at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
>         at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
>         at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:92)
>         at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:74)
>         at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:45)
>         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:606)
>         at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
>         at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
>         at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
>         at org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)
>         at org.sonar.runner.api.Runner.execute(Runner.java:90)
>         at org.sonar.maven.SonarMojo.execute(SonarMojo.java:173)
>         ... 24 more
> Caused by: org.sonar.api.utils.SonarException: Exception during execution of org.codehaus.mojo:cobertura-maven-plugin:2.5.1:cobertura
>         at org.sonar.plugins.maven.DefaultMavenPluginExecutor.concreteExecuteMaven3(DefaultMavenPluginExecutor.java:125)
>         at org.sonar.plugins.maven.DefaultMavenPluginExecutor.concreteExecute(DefaultMavenPluginExecutor.java:107)
>         at org.sonar.plugins.maven.DefaultMavenPluginExecutor.execute(DefaultMavenPluginExecutor.java:71)
>         ... 62 more
> [ERROR]
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :hippo-cms-test
> Sonar analysis completed: FAILURE
>
> --
> This message is automatically generated by Hudson.
> For more information on Hudson, see: http://hudson-ci.org/
> _______________________________________________
> Hippo-cms7-dev mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html


More information about the Hippo-cms7-dev mailing list