StackOverflowError in Maven RedeployPublisher after upgrade to 1.598

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major
    • Component/s: maven-plugin
    • Environment:
      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.

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

              Created:
              Updated:
              Resolved: