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

StackOverflow in PomParser during the call on the remote side

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin, (1)
      remoting
    • None
    • Jenkins version: 2.58 to latest

      Using same JDK version (1.8) and same Git version on Master and slave machines running on Windows 2012 Server R2

      Triggering the Jenkins slave from master using Java Web start (JNLP) throws this error:
      ERROR: Failed to parse POMs
      java.io.IOException: remote file operation failed: D:\Jenkins Instance\workspace\UI Automation (Goal 2)\Page Objects at hudson.remoting.Channel@XXXX:JNLP4-connect connection from servername/ip address:port number: java.io.IOException: Remote call on JNLP4-connect connection from servername/ip address:port number failed
      at hudson.FilePath.act(FilePath.java:993)
      at hudson.FilePath.act(FilePath.java:975)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:960)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:679)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
      at hudson.model.Run.execute(Run.java:1735)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:405)
      Caused by: java.io.IOException: Remote call on JNLP4-connect connection from servername/ip address:port number failed
      at hudson.remoting.Channel.call(Channel.java:838)
      at hudson.FilePath.act(FilePath.java:986)
      ... 8 more
      Caused by: java.lang.StackOverflowError
      at java.lang.Exception.<init>(Unknown Source)
      at java.lang.ReflectiveOperationException.<init>(Unknown Source)
      at java.lang.reflect.InvocationTargetException.<init>(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.google.inject.internal.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:50)
      at com.sun.proxy.$Proxy26.lookup(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
      at ......remote call to JNLP4-connect connection from servername/ip address:port number(Native Method)
      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1545)
      at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
      at hudson.remoting.Channel.call(Channel.java:830)
      ... 9 more
       

        1. JENKINS-44095(Stack Trace).txt
          72 kB
        2. jobConfig_1.jpg
          jobConfig_1.jpg
          137 kB
        3. jobConfig_2.jpg
          jobConfig_2.jpg
          132 kB
        4. jobConfig_3.jpg
          jobConfig_3.jpg
          145 kB
        5. jobConfig_4.jpg
          jobConfig_4.jpg
          130 kB
        6. jobConfig_5.jpg
          jobConfig_5.jpg
          190 kB
        7. jobConfig_6.jpg
          jobConfig_6.jpg
          171 kB
        8. jobConfig_7.jpg
          jobConfig_7.jpg
          191 kB
        9. plugins_1.jpg
          plugins_1.jpg
          251 kB
        10. plugins_2.jpg
          plugins_2.jpg
          277 kB
        11. plugins_3.jpg
          plugins_3.jpg
          273 kB
        12. plugins_4.jpg
          plugins_4.jpg
          253 kB
        13. plugins_5.jpg
          plugins_5.jpg
          252 kB

          [JENKINS-44095] StackOverflow in PomParser during the call on the remote side

          Oleg Nenashev added a comment -

          Please provide a full stacktrace. "java.lang.StackOverflowError" means that you have a really big call chain, which is not a case for the provided output

          Oleg Nenashev added a comment - Please provide a full stacktrace. "java.lang.StackOverflowError" means that you have a really big call chain, which is not a case for the provided output

          naveen daita added a comment -

          oleg_nenashev full stack track is in the attached text file. Thanks

          naveen daita added a comment - oleg_nenashev full stack track is in the attached text file. Thanks

          Oleg Nenashev added a comment -

          I would suppose that Maven Project Build somehow receives a Groovy class and then passes it to the remote side as one of the PomParser fields. Maybe as a listener contributed by one of the build wrappers. It needs a diagnostics by the Maven Project maintainer. Please provide Job configuration and the list of installed plugins

          Oleg Nenashev added a comment - I would suppose that Maven Project Build somehow receives a Groovy class and then passes it to the remote side as one of the PomParser fields. Maybe as a listener contributed by one of the build wrappers. It needs a diagnostics by the Maven Project maintainer. Please provide Job configuration and the list of installed plugins

          Oleg Nenashev added a comment -

          CC aheritier

           

          Oleg Nenashev added a comment - CC aheritier  

          naveen daita added a comment -

          oleg_nenashev, aheritier job configuration and list of installed plugins are in the form of images attached. 

           

           

           

          naveen daita added a comment - oleg_nenashev , aheritier  job configuration and list of installed plugins are in the form of images attached.       

            Unassigned Unassigned
            jenkins_auto_user naveen daita
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: