Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-60

Possible NPE when calling RepositorySystemSession.getFileTransformerManager()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.1
    • Component/s: resolver
    • Labels:
      None

      Description

      happens in Maven Core ITs during MNG-6489 build:

      Test Result (3 failures / +3)
          org.apache.maven.it.MavenITmng4788InstallationToCustomLocalRepoTest.testit
          org.apache.maven.it.MavenITmng4788InstallationToCustomLocalRepoTest.testit
          org.apache.maven.it.MavenITmng4788InstallationToCustomLocalRepoTest.testit
      
      [...]
      Caused by: java.lang.NullPointerException
          at org.eclipse.aether.internal.impl.DefaultInstaller.install (DefaultInstaller.java:242)
          at org.eclipse.aether.internal.impl.DefaultInstaller.install (DefaultInstaller.java:188)
          at org.eclipse.aether.internal.impl.DefaultInstaller.install (DefaultInstaller.java:145)
          at org.eclipse.aether.internal.impl.DefaultRepositorySystem.install (DefaultRepositorySystem.java:364)
          at org.apache.maven.artifact.installer.DefaultArtifactInstaller.install (DefaultArtifactInstaller.java:107)
      

       This happens when the session is created (copied) with new DefaultRepositorySystemSession( session )

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                rfscholte Robert Scholte
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: