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
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-alpha-6
    • Fix Version/s: 3.0-alpha-7
    • Component/s: Embedding
    • Labels:
      None

      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.

        Activity

        Benjamin Bentmann created issue -
        Benjamin Bentmann made changes -
        Field Original Value New Value
        Link This issue depends upon PLX-448 [ PLX-448 ]
        Hide
        Benjamin Bentmann added a comment -

        Fixed in r902667.

        Show
        Benjamin Bentmann added a comment - Fixed in r902667 .
        Benjamin Bentmann made changes -
        Resolution Fixed [ 1 ]
        Fix Version/s 3.0-alpha-7 [ 16087 ]
        Assignee Benjamin Bentmann [ bentmann ]
        Status Open [ 1 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
        Mark Thomas made changes -
        Workflow jira [ 12714844 ] Default workflow, editable Closed status [ 12754489 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
        Mark Thomas made changes -
        Workflow jira [ 12951293 ] Default workflow, editable Closed status [ 12987563 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        1d 22h 4m 1 Benjamin Bentmann 24/Jan/10 16:27

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development