Maven
  1. Maven
  2. MNG-4544

Concurrent access to Maven internals involving active component collections is not thread-safe

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-alpha-6
    • Fix Version/s: 3.0-alpha-7
    • Component/s: Embedding
    • Labels:
      None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      For instance

      java.lang.NullPointerException
        at org.codehaus.plexus.component.collections.ComponentMap.get(ComponentMap.java:68)
        at org.apache.maven.repository.legacy.LegacyRepositorySystem.createArtifactRepository(LegacyRepositorySystem.java:703)
        at org.apache.maven.repository.legacy.LegacyRepositorySystem.createRepository(LegacyRepositorySystem.java:696)
        at org.apache.maven.repository.legacy.LegacyRepositorySystem.createLocalRepository(LegacyRepositorySystem.java:228)
      

      This is a consequence of PLX-448.

        Issue Links

          Activity

          Hide
          Benjamin Bentmann added a comment -

          Fixed in r902667.

          Show
          Benjamin Bentmann added a comment - Fixed in r902667 .

            People

            • Assignee:
              Benjamin Bentmann
              Reporter:
              Benjamin Bentmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: