Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-2411

IndexOutOfBoundsException in DefaultContinuum.executeAddProjectsFromMetadataActivity

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.4 (Beta)
    • Fix Version/s: 1.3.5 (Beta)
    • Component/s: None
    • Labels:
      None
    • Environment:
      Microsoft Windows [Version 6.0.6002] (Windows Server 2008)
      java version "1.6.0_17"
      Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
      Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)

      Description

      When adding a project to continuum via "Add Maven 1.x Project" and selecting a file the Exception
      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      appears.
      This seems to be independend from the selected project.

      After the action the project is in the group anyway and can be build normally.

      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      at java.util.ArrayList.RangeCheck(Unknown Source)
      at java.util.ArrayList.get(Unknown Source)
      at org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMetadataActivity(DefaultContinuum.java:1735)
      at org.apache.maven.continuum.DefaultContinuum.executeAddProjectsFromMetadataActivity(DefaultContinuum.java:1777)
      at org.apache.maven.continuum.DefaultContinuum.addMavenOneProject(DefaultContinuum.java:1276)
      at org.apache.maven.continuum.web.action.AddMavenOneProjectAction.doExecute(AddMavenOneProjectAction.java:45)
      at org.apache.maven.continuum.web.action.AddMavenProjectAction.execute(AddMavenProjectAction.java:189)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      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(Unknown Source)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ctan Maria Catherine Tan
                Reporter:
                trippeltrappel Stefan Cordes
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: