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

StackOverflowError in Maven RedeployPublisher after upgrade to 1.598

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • maven-plugin
    • Jenkins 1.598, Maven Integration Plugin 2.8

      After upgrading to 1.598 jobs with a Deploy Maven Artifacts post-build step fail with the following StackOverflowError:

      Maven RedeployPublisher use remote X maven settings from : /home/jenkins/.m2/settings.xml
      [INFO] Deployment in http://x.x.x/nexus/content/repositories/x-snapshots/ (id=x,uniqueVersion=true)
      Deploying the main artifact x-0.0.1-SNAPSHOT.jar
      FATAL: null
      java.lang.StackOverflowError
      	at sun.reflect.GeneratedMethodAccessor260.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.$Proxy79.lookup(Unknown Source)
      	at sun.reflect.GeneratedMethodAccessor260.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.$Proxy79.lookup(Unknown Source)
      

      Removing the Deploy Maven Artifacts post-build steps fixes the builds. Other post-build steps (e.g. Sonar) work fine.

            Unassigned Unassigned
            ahorst Andreas Horst
            Votes:
            12 Vote for this issue
            Watchers:
            19 Start watching this issue

              Created:
              Updated:
              Resolved: