Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-27015

IllegalArgumentException on Publish Maven Index task

    XMLWordPrintable

    Details

    • Story Points:
      3
    • Sprint:
      NXRM Rocket Sprint 7, NXRM Rocket Sprint 8
    • Notability:
      3

      Description

      After upgrading from Nexus 3.27.0 to 3.29.2, then some of the Maven Publish Indexes task fail with IllegalArgumentException

      2021-03-12 12:52:56,228+0100 ERROR [quartz-15-thread-19]  *SYSTEM org.sonatype.nexus.repository.maven.tasks.PublishMavenIndexTask - Failed to run task 'Publish Maven indexes of maven-releases' on repository 'maven-releases'
      java.lang.IllegalArgumentException: null
       at com.google.common.base.Preconditions.checkArgument(Preconditions.java:128)
       at org.sonatype.nexus.repository.maven.internal.orient.OrientMavenIndexPublisher.toRecord(OrientMavenIndexPublisher.java:192)
       at org.sonatype.nexus.repository.maven.internal.orient.OrientMavenIndexPublisher.lambda$2(OrientMavenIndexPublisher.java:180)
      

      Nexus should skip any problematic components and continue top process the rest of the hosted repository and publish indexes.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aivasenko Andrew Ivasenko
              Reporter:
              msurani Mahendra Surani
              Last Updated By:
              Joe Tom Joe Tom
              Team:
              NXRM - Rocket Raccoon
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title