Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18441

Maven 2 jobs fail (exception in MavenFingerprinter)

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Each Maven 2 has the following stacktrace, resulting in an error. In jenkins 1.518 the build still succeeds afterwards, in 1.519 this fails the builds (i.e. failing ALL our Maven 2 builds). So I had to revert to previous version, so we're still operational (ignoring the stacktraces)

      I'm using Maven 2.2.1. To avoid any conflicts with maven 3, I threw away all Maven 3 directories, made sure env. vars are OK, no jenkins settings refer maven 3, even cleared the local repo, etc...

      The jobs compile, test, and runs reporting with PMD, Findbugs, Cobertura, ...

       
      [JENKINS] Recording test results
      21-jun-2013 9:58:56 hudson.maven.reporters.MavenFingerprinter getArtifactRepositoryMaven21
      WARNING: Could not retrieve BuilderConfigration
      java.lang.NullPointerException
      	at hudson.maven.reporters.MavenFingerprinter.getArtifactRepositoryMaven21(MavenFingerprinter.java:183)
      	at hudson.maven.reporters.MavenFingerprinter.getLocalRepository(MavenFingerprinter.java:165)
      	at hudson.maven.reporters.MavenFingerprinter.recordParents(MavenFingerprinter.java:142)
      	at hudson.maven.reporters.MavenFingerprinter.postBuild(MavenFingerprinter.java:110)
      ERROR: 	at hudson.maven.Maven2Builder.postModule(Maven2Builder.java:129)
      	at hudson.maven.MavenBuilder$Adapter.fireLeaveModule(MavenBuilder.java:354)
      	at hudson.maven.MavenBuilder$Adapter.preExecute(MavenBuilder.java:323)
      	at hudson.maven.agent.PluginManagerInterceptor$1MojoIntercepterImpl.pre(PluginManagerInterceptor.java:165)
      	at hudson.maven.agent.PluginManagerInterceptor$MojoIntercepter.configureComponent(PluginManagerInterceptor.java:145)
      	at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1357)
      	at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:724)
      	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:468)
      	at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
      	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
      	at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      Could not find local repository for 2.2.1	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      	at hudson.maven.agent.Main.launch(Main.java:185)
      	at hudson.maven.MavenBuilder.call(MavenBuilder.java:154)
      	at hudson.maven.Maven2Builder.call(Maven2Builder.java:79)
      	at hudson.maven.Maven2Builder.call(Maven2Builder.java:55)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      	at hudson.remoting.Request$2.run(Request.java:326)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      
      	at java.lang.Thread.run(Thread.java:619)
      [INFO] [site:site {execution: default-site}]
      

      In jenkins 1.518 this is ugly, but job still succeeds, in jenkins 1.519, this fails and breaks everything.

        Attachments

          Issue Links

            Activity

            Hide
            drulli Ulli Hafner added a comment -

            Why did you assign this issue to me?

            Show
            drulli Ulli Hafner added a comment - Why did you assign this issue to me?
            Hide
            belpk K P added a comment - - edited

            Update:

            I've played around some more with various configurations:

            When I disable Findbugs reporting, I still get the above stack trace and warnings, BUT, at the end, the build does not fail.

            I've also tried switching to Maven 3 (Maven 3.0.5). Without Findbugs: no stack trace, and build succeeds. With Findbugs, the build fails again, with the following stack trace:

            [INFO] Generating "Dependencies" report    --- maven-project-info-reports-plugin:2.6
            java.lang.reflect.InvocationTargetException
            	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            	at java.lang.reflect.Method.invoke(Method.java:597)
            	at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
            	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
            	at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:174)
            	at hudson.maven.Maven3Builder.call(Maven3Builder.java:100)
            	at hudson.maven.Maven3Builder.call(Maven3Builder.java:66)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
            	at hudson.remoting.Request$2.run(Request.java:326)
            	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
            	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
            	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
            	at java.lang.Thread.run(Thread.java:662)
            Caused by: java.lang.IncompatibleClassChangeError: Implementing class
            	at java.lang.ClassLoader.defineClass1(Native Method)
            	at java.lang.ClassLoader.defineClass(Unknown Source)
            	at java.security.SecureClassLoader.defineClass(Unknown Source)
            	at java.net.URLClassLoader.defineClass(Unknown Source)
            	at java.net.URLClassLoader.access$100(Unknown Source)
            	at java.net.URLClassLoader$1.run(Unknown Source)
            	at java.net.URLClassLoader$1.run(Unknown Source)
            	at java.security.AccessController.doPrivileged(Native Method)
            	at java.net.URLClassLoader.findClass(Unknown Source)
            	at java.lang.ClassLoader.loadClass(Unknown Source)
            	at java.lang.ClassLoader.loadClass(Unknown Source)
            	at java.lang.ClassLoader.defineClass1(Native Method)
            	at java.lang.ClassLoader.defineClass(Unknown Source)
            	at java.security.SecureClassLoader.defineClass(Unknown Source)
            	at java.net.URLClassLoader.defineClass(Unknown Source)
            	at java.net.URLClassLoader.access$100(Unknown Source)
            	at java.net.URLClassLoader$1.run(Unknown Source)
            	at java.net.URLClassLoader$1.run(Unknown Source)
            	at java.security.AccessController.doPrivileged(Native Method)
            	at java.net.URLClassLoader.findClass(Unknown Source)
            	at java.lang.ClassLoader.loadClass(Unknown Source)
            	at java.lang.ClassLoader.loadClass(Unknown Source)
            	at java.lang.ClassLoader.defineClass1(Native Method)
            	at java.lang.ClassLoader.defineClass(Unknown Source)
            	at java.security.SecureClassLoader.defineClass(Unknown Source)
            	at java.net.URLClassLoader.defineClass(Unknown Source)
            	at java.net.URLClassLoader.access$100(Unknown Source)
            	at java.net.URLClassLoader$1.run(Unknown Source)
            	at java.net.URLClassLoader$1.run(Unknown Source)
            	at java.security.AccessController.doPrivileged(Native Method)
            	at java.net.URLClassLoader.findClass(Unknown Source)
            	at java.lang.ClassLoader.loadClass(Unknown Source)
            	at java.lang.ClassLoader.loadClass(Unknown Source)
            	at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch4(RemoteClassLoader.java:705)
            	at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch3(RemoteClassLoader.java:759)
            	at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            	at java.lang.reflect.Method.invoke(Unknown Source)
            	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:282)
            	at hudson.remoting.Request$2.run(Request.java:326)
            	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
            	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
            	at java.util.concurrent.FutureTask.run(Unknown Source)
            	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            	at java.lang.Thread.run(Unknown Source)
            channel stopped
            ERROR: Failed to parse POMs
            hudson.util.IOException2: java.lang.reflect.InvocationTargetException
            	at hudson.maven.Maven3Builder.call(Maven3Builder.java:162)
            	at hudson.maven.Maven3Builder.call(Maven3Builder.java:66)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
            	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
            	at hudson.remoting.Request$2.run(Request.java:326)
            	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
            	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
            	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
            	at java.lang.Thread.run(Thread.java:662)
            Caused by: java.lang.Exception: java.lang.reflect.InvocationTargetException
            	at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:177)
            	at hudson.maven.Maven3Builder.call(Maven3Builder.java:100)
            	... 10 more
            Caused by: java.lang.reflect.InvocationTargetException
            	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            	at java.lang.reflect.Method.invoke(Method.java:597)
            	at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
            	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
            	at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:174)
            	... 11 more
            Caused by: java.lang.IncompatibleClassChangeError: Implementing class
            	at java.lang.ClassLoader.defineClass1(Native Method)
            	at java.lang.ClassLoader.defineClass(Unknown Source)
            	at java.security.SecureClassLoader.defineClass(Unknown Source)
            	at java.net.URLClassLoader.defineClass(Unknown Source)
            	at java.net.URLClassLoader.access$100(Unknown Source)
            	at java.net.URLClassLoader$1.run(Unknown Source)
            	at java.net.URLClassLoader$1.run(Unknown Source)
            	at java.security.AccessController.doPrivileged(Native Method)
            	at java.net.URLClassLoader.findClass(Unknown Source)
            	at java.lang.ClassLoader.loadClass(Unknown Source)
            	at java.lang.ClassLoader.loadClass(Unknown Source)
            	at java.lang.ClassLoader.defineClass1(Native Method)
            	at java.lang.ClassLoader.defineClass(Unknown Source)
            	at java.security.SecureClassLoader.defineClass(Unknown Source)
            	at java.net.URLClassLoader.defineClass(Unknown Source)
            	at java.net.URLClassLoader.access$100(Unknown Source)
            	at java.net.URLClassLoader$1.run(Unknown Source)
            	at java.net.URLClassLoader$1.run(Unknown Source)
            	at java.security.AccessController.doPrivileged(Native Method)
            	at java.net.URLClassLoader.findClass(Unknown Source)
            	at java.lang.ClassLoader.loadClass(Unknown Source)
            	at java.lang.ClassLoader.loadClass(Unknown Source)
            	at java.lang.ClassLoader.defineClass1(Native Method)
            	at java.lang.ClassLoader.defineClass(Unknown Source)
            	at java.security.SecureClassLoader.defineClass(Unknown Source)
            	at java.net.URLClassLoader.defineClass(Unknown Source)
            	at java.net.URLClassLoader.access$100(Unknown Source)
            	at java.net.URLClassLoader$1.run(Unknown Source)
            	at java.net.URLClassLoader$1.run(Unknown Source)
            	at java.security.AccessController.doPrivileged(Native Method)
            	at java.net.URLClassLoader.findClass(Unknown Source)
            	at java.lang.ClassLoader.loadClass(Unknown Source)
            	at java.lang.ClassLoader.loadClass(Unknown Source)
            	at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch4(RemoteClassLoader.java:705)
            	at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch3(RemoteClassLoader.java:759)
            	at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            	at java.lang.reflect.Method.invoke(Unknown Source)
            	at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:282)
            	at hudson.remoting.Request$2.run(Request.java:326)
            	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
            	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
            	at java.util.concurrent.FutureTask.run(Unknown Source)
            	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            	at java.lang.Thread.run(Unknown Source)
            [WARNINGS] Skipping publisher since build result is FAILURE
            Skipping Cobertura coverage report as build was not UNSTABLE or better ...
            Finished: FAILURE
            

            (Unfortunately I can't fully switch over to Maven 3 yet in production environment.)

            So this may be related to this issue: JENKINS-18394 ?

            By the way: the job is NOT running on a slave but on the master jenkins. (There's even no slave node configured!)
            So I still don't know what causes the stack trace on maven 2.2.1, and I don't know if it's related to Findbugs reporting or not.

            (PS: @Ulli: I didn't intend to. On updating this issue, I just selected the option to let JIRA set its assignment; it seems it selected you?)

            Show
            belpk K P added a comment - - edited Update: I've played around some more with various configurations: When I disable Findbugs reporting, I still get the above stack trace and warnings, BUT, at the end, the build does not fail. I've also tried switching to Maven 3 (Maven 3.0.5). Without Findbugs: no stack trace, and build succeeds. With Findbugs, the build fails again, with the following stack trace: [INFO] Generating "Dependencies" report --- maven-project-info-reports-plugin:2.6 java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:174) at hudson.maven.Maven3Builder.call(Maven3Builder.java:100) at hudson.maven.Maven3Builder.call(Maven3Builder.java:66) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.IncompatibleClassChangeError: Implementing class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch4(RemoteClassLoader.java:705) at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch3(RemoteClassLoader.java:759) at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:282) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) channel stopped ERROR: Failed to parse POMs hudson.util.IOException2: java.lang.reflect.InvocationTargetException at hudson.maven.Maven3Builder.call(Maven3Builder.java:162) at hudson.maven.Maven3Builder.call(Maven3Builder.java:66) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.Exception: java.lang.reflect.InvocationTargetException at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:177) at hudson.maven.Maven3Builder.call(Maven3Builder.java:100) ... 10 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:174) ... 11 more Caused by: java.lang.IncompatibleClassChangeError: Implementing class at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch4(RemoteClassLoader.java:705) at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch3(RemoteClassLoader.java:759) at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:282) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) [WARNINGS] Skipping publisher since build result is FAILURE Skipping Cobertura coverage report as build was not UNSTABLE or better ... Finished: FAILURE (Unfortunately I can't fully switch over to Maven 3 yet in production environment.) So this may be related to this issue: JENKINS-18394 ? By the way: the job is NOT running on a slave but on the master jenkins. (There's even no slave node configured!) So I still don't know what causes the stack trace on maven 2.2.1, and I don't know if it's related to Findbugs reporting or not. (PS: @Ulli: I didn't intend to. On updating this issue, I just selected the option to let JIRA set its assignment; it seems it selected you?)
            Hide
            belpk K P added a comment -

            And one more update:

            I can confirm that the other plugins seem not to be affected.

            So only turning on "Publish FindBugs analysis results" fails the builds, both Maven 2 and Maven 3 in jenkins 1.519.

            The similar options for PMD, CPD, Task scanner, warning scanner, cobertura, ... all seem to be unaffected and work fine.

            ... only FindBugs seems to be breaking "something"

            Show
            belpk K P added a comment - And one more update: I can confirm that the other plugins seem not to be affected. So only turning on " Publish FindBugs analysis results " fails the builds, both Maven 2 and Maven 3 in jenkins 1.519. The similar options for PMD, CPD, Task scanner, warning scanner, cobertura, ... all seem to be unaffected and work fine. ... only FindBugs seems to be breaking "something"
            Hide
            kutzi kutzi added a comment - - edited

            Based on the previous comments, this looks like a duplicate of JENKINS-18405

            Show
            kutzi kutzi added a comment - - edited Based on the previous comments, this looks like a duplicate of JENKINS-18405
            Hide
            jglick Jesse Glick added a comment - - edited

            Was observed in 1.522, and seems unrelated in fact.

            Show
            jglick Jesse Glick added a comment - - edited Was observed in 1.522, and seems unrelated in fact.
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2705
            [FIXED JENKINS-18441] NPE in MavenFingerprinter.getArtifactRepositoryMaven21. (Revision 10643f9cf61e2eee1a7bf8b3394b3f6cb175450a)

            Result = SUCCESS
            Jesse Glick : 10643f9cf61e2eee1a7bf8b3394b3f6cb175450a
            Files :

            • changelog.html
            • maven-plugin/src/main/java/hudson/maven/reporters/MavenFingerprinter.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2705 [FIXED JENKINS-18441] NPE in MavenFingerprinter.getArtifactRepositoryMaven21. (Revision 10643f9cf61e2eee1a7bf8b3394b3f6cb175450a) Result = SUCCESS Jesse Glick : 10643f9cf61e2eee1a7bf8b3394b3f6cb175450a Files : changelog.html maven-plugin/src/main/java/hudson/maven/reporters/MavenFingerprinter.java
            Hide
            newenigma newenigma added a comment - - edited

            Hi

            This issue is still occurring for me on 1.523

            From looking so far, it is only happening on Maven builds with packaging of pom.
            EDIT: Scrap above comment, I can see it is still happening on Maven builds with packaging of war and jar

            Apologies, looks like this fix is in 1.524 and not 1.523. I'll close the issue.

            Show
            newenigma newenigma added a comment - - edited Hi This issue is still occurring for me on 1.523 From looking so far, it is only happening on Maven builds with packaging of pom. EDIT: Scrap above comment, I can see it is still happening on Maven builds with packaging of war and jar Apologies, looks like this fix is in 1.524 and not 1.523. I'll close the issue.
            Hide
            jglick Jesse Glick added a comment -

            Right, the fix is only in a release candidate so far.

            Show
            jglick Jesse Glick added a comment - Right, the fix is only in a release candidate so far.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            maven-plugin/src/main/java/hudson/maven/reporters/MavenFingerprinter.java
            http://jenkins-ci.org/commit/jenkins/1b44e6c71a50f932a368552d3b3c8422c0342374
            Log:
            [FIXED JENKINS-18441] NPE in MavenFingerprinter.getArtifactRepositoryMaven21.

            (cherry picked from commit 10643f9cf61e2eee1a7bf8b3394b3f6cb175450a)

            Conflicts:
            changelog.html

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: maven-plugin/src/main/java/hudson/maven/reporters/MavenFingerprinter.java http://jenkins-ci.org/commit/jenkins/1b44e6c71a50f932a368552d3b3c8422c0342374 Log: [FIXED JENKINS-18441] NPE in MavenFingerprinter.getArtifactRepositoryMaven21. (cherry picked from commit 10643f9cf61e2eee1a7bf8b3394b3f6cb175450a) Conflicts: changelog.html
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/hudson/maven/reporters/MavenFingerprinter.java
            http://jenkins-ci.org/commit/maven-plugin/e77a80550fc58115e41126350c1effa4e6f031a9
            Log:
            [FIXED JENKINS-18441] NPE in MavenFingerprinter.getArtifactRepositoryMaven21.

            Originally-Committed-As: 10643f9cf61e2eee1a7bf8b3394b3f6cb175450a

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/hudson/maven/reporters/MavenFingerprinter.java http://jenkins-ci.org/commit/maven-plugin/e77a80550fc58115e41126350c1effa4e6f031a9 Log: [FIXED JENKINS-18441] NPE in MavenFingerprinter.getArtifactRepositoryMaven21. Originally-Committed-As: 10643f9cf61e2eee1a7bf8b3394b3f6cb175450a

              People

              Assignee:
              marcsanfacon Marc Sanfacon
              Reporter:
              belpk K P
              Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: