Continuum
  1. Continuum
  2. CONTINUUM-2475

NullPointerException while adding a Maven 2 project if there is already an Ant project in the group

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.6, 1.4.0 (Beta)
    • Fix Version/s: 1.3.6
    • Component/s: None
    • Labels:
      None

      Description

      This occurs in the Selenium test:testAddMavenTwoProjectFromRemoteSourceToNonDefaultProjectGroup

      java.lang.NullPointerException
      at org.apache.maven.continuum.DefaultContinuum.checkForDuplicateProjectInGroup(DefaultContinuum.java:3750)
      at org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMetadataActivity(DefaultContinuum.java:1714)
      at org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMetadataActivity(DefaultContinuum.java:1843)
      at org.apache.maven.continuum.DefaultContinuum.addMavenTwoProject(DefaultContinuum.java:1393)
      at org.apache.maven.continuum.web.action.AddMavenTwoProjectAction.doExecute(AddMavenTwoProjectAction.java:109)
      at org.apache.maven.continuum.web.action.AddMavenProjectAction.execute(AddMavenProjectAction.java:189)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
      at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)
      at org.apache.struts2.interceptor.BackgroundProcess$1.run(BackgroundProcess.java:56)
      at java.lang.Thread.run(Thread.java:637)

        Activity

        Brett Porter created issue -
        Brett Porter made changes -
        Field Original Value New Value
        Assignee Brett Porter [ brettporter ]
        Fix Version/s 1.4.0 [ 15106 ]
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Brett Porter made changes -
        Summary NullPointerException while adding a project NullPointerException while adding a Maven 2 project if there is already an Ant project in the group
        Brett Porter made changes -
        Affects Version/s 1.3.6 [ 16131 ]
        Fix Version/s 1.3.6 [ 16131 ]
        Brett Porter made changes -
        Fix Version/s 1.4.0 [ 15106 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
        Mark Thomas made changes -
        Workflow jira [ 12711119 ] Default workflow, editable Closed status [ 12740655 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
        Mark Thomas made changes -
        Workflow jira [ 12948532 ] Default workflow, editable Closed status [ 12985779 ]

          People

          • Assignee:
            Brett Porter
            Reporter:
            Brett Porter
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development