• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core, maven-plugin
    • None

      Hi,

      After upgrading from 1.596 to 1.598 I am unable to run any Maven Jobs

      I am getting the following StackOverFlow Error.

      Parsing POMs
      ERROR: Failed to parse POMs
      java.io.IOException: remote file operation failed: /tr/j/jh2/workspace/Cannon_Test_maven at hudson.remoting.Channel@4d4d472e:01-Cannon2: java.io.IOException: Remote call on 01-Cannon2 failed
      	at hudson.FilePath.act(FilePath.java:985)
      	at hudson.FilePath.act(FilePath.java:967)
      	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:959)
      	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:679)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
      	at hudson.model.Run.execute(Run.java:1718)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      	at hudson.model.ResourceController.execute(ResourceController.java:89)
      	at hudson.model.Executor.run(Executor.java:240)
      Caused by: java.io.IOException: Remote call on 01-Cannon2 failed
      	at hudson.remoting.Channel.call(Channel.java:760)
      	at hudson.FilePath.act(FilePath.java:978)
      	... 8 more
      Caused by: java.lang.StackOverflowError
      	at java.lang.ReflectiveOperationException.<init>(ReflectiveOperationException.java:89)
      	at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:72)
      	
      	at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:40)
      	at com.sun.proxy.$Proxy30.lookup(Unknown Source)
      
      	at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:40)
      	at com.sun.proxy.$Proxy30.lookup(Unknown Source)
      
      	...
      	1000 lines repeating
      	...
      
      	at com.sun.proxy.$Proxy30.lookup(Unknown Source)
      	at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at ......remote call to 01-Cannon2(Native Method)
      	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
      	at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
      	at hudson.remoting.Channel.call(Channel.java:752)
      	... 9 more
      

        1. config.xml
          2 kB
          Daniel Beck

          [JENKINS-26601] StackOverflow Maven Job Parse Poms

          Geoff Cummings created issue -

          going to 1.597 has stopped the error

          Geoff Cummings added a comment - going to 1.597 has stopped the error

          Robert Hook added a comment -

          I have had similar issues today - upgraded from 1.597 to 1.598 and got OOM when maven was trying to deploy artefacts to our maven repository. Downgrading back to 1.597 sorted this out. Something has gone horribly wrong!

          Robert Hook added a comment - I have had similar issues today - upgraded from 1.597 to 1.598 and got OOM when maven was trying to deploy artefacts to our maven repository. Downgrading back to 1.597 sorted this out. Something has gone horribly wrong!
          Larry Shatzer, Jr. made changes -
          Link New: This issue is related to JENKINS-26595 [ JENKINS-26595 ]

          Andreas Horst added a comment -

          Yes, I'm seeing this as well as JENKINS-26595.

          Andreas Horst added a comment - Yes, I'm seeing this as well as JENKINS-26595 .
          Andrey Boytsov made changes -
          Link New: This issue is related to JENKINS-26613 [ JENKINS-26613 ]

          Daniel Beck added a comment -

          Does this only affect builds run on slaves, or also when building on master?

          Daniel Beck added a comment - Does this only affect builds run on slaves, or also when building on master?

          Also happens on master

          CentOS, JDK 1.7.0_55

          Geoff Cummings added a comment - Also happens on master CentOS, JDK 1.7.0_55

          Daniel Beck added a comment -

          I was unable to reproduce this with 1.598 on CentOS with OpenJDK 1.7, building on the master node, using a fresh Jenkins home only installing Git plugin.

          I tried with the Jenkins project at https://github.com/jenkinsci/jenkins and always got past the Parsing POMs state with both Maven Project plugin 1.1 and 1.2.


          Could someone please try to reproduce this issue using a pristine Jenkins home directory (as easy as

          export JENKINS_HOME=$HOME/JENKINS-26601-Test-Home ; java -jar jenkins.war --httpPort=9999

          ) and a publicly accessibly Maven project using SVN or Git, and post the instructions?

          Daniel Beck added a comment - I was unable to reproduce this with 1.598 on CentOS with OpenJDK 1.7, building on the master node, using a fresh Jenkins home only installing Git plugin. I tried with the Jenkins project at https://github.com/jenkinsci/jenkins and always got past the Parsing POMs state with both Maven Project plugin 1.1 and 1.2. Could someone please try to reproduce this issue using a pristine Jenkins home directory (as easy as export JENKINS_HOME=$HOME/JENKINS-26601-Test-Home ; java -jar jenkins.war --httpPort=9999 ) and a publicly accessibly Maven project using SVN or Git, and post the instructions?

          I get the same error on every maven build following upgrade. Error is:

          java.lang.StackOverflowError
          	at java.lang.Exception.<init>(Exception.java:102)
          	at java.lang.ReflectiveOperationException.<init>(ReflectiveOperationException.java:89)
          	at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:72)
          	at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source)
          	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          	at java.lang.reflect.Method.invoke(Method.java:606)
          	at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:40)
          	at com.sun.proxy.$Proxy52.lookup(Unknown Source)
          	at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source)
          ...
          ...
                  at java.lang.reflect.Method.invoke(Method.java:606)
          	at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:40)
          	at com.sun.proxy.$Proxy52.lookup(Unknown Source)
          	at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source)
          
          

          Kevin Breidenbach added a comment - I get the same error on every maven build following upgrade. Error is: java.lang.StackOverflowError at java.lang.Exception.<init>(Exception.java:102) at java.lang.ReflectiveOperationException.<init>(ReflectiveOperationException.java:89) at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:72) at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:40) at com.sun.proxy.$Proxy52.lookup(Unknown Source) at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source) ... ... at java.lang.reflect.Method.invoke(Method.java:606) at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:40) at com.sun.proxy.$Proxy52.lookup(Unknown Source) at sun.reflect.GeneratedMethodAccessor193.invoke(Unknown Source)

            jglick Jesse Glick
            gcummings Geoff Cummings
            Votes:
            12 Vote for this issue
            Watchers:
            36 Start watching this issue

              Created:
              Updated:
              Resolved: