You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Stefan Cordes (JIRA)" <ji...@codehaus.org> on 2009/11/25 14:45:55 UTC
[jira] Created: (CONTINUUM-2411) IndexOutOfBoundsException in
DefaultContinuum.executeAddProjectsFromMetadataActivity
IndexOutOfBoundsException in DefaultContinuum.executeAddProjectsFromMetadataActivity
------------------------------------------------------------------------------------
Key: CONTINUUM-2411
URL: http://jira.codehaus.org/browse/CONTINUUM-2411
Project: Continuum
Issue Type: Bug
Affects Versions: 1.3.4
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)
Reporter: Stefan Cordes
Priority: Minor
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CONTINUUM-2411) IndexOutOfBoundsException in
DefaultContinuum.executeAddProjectsFromMetadataActivity
Posted by "Stefan Cordes (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=206584#action_206584 ]
Stefan Cordes commented on CONTINUUM-2411:
------------------------------------------
My workaround:
Added a "Build Definition" "nothing" with empty goal and shedule NEVER (0 0 * * * ? 1990)
Assigned the "nothing" to "Default Maven 1 Template".
When adding a project the group definitions are use and the never called "nothing" build definition is added to the project (and no IndexOutOfBoundsException appears).
> IndexOutOfBoundsException in DefaultContinuum.executeAddProjectsFromMetadataActivity
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2411
> URL: http://jira.codehaus.org/browse/CONTINUUM-2411
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.3.4
> 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)
> Reporter: Stefan Cordes
> Assignee: Maria Catherine Tan
> Priority: Minor
> Fix For: 1.3.5
>
>
> 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)
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CONTINUUM-2411) IndexOutOfBoundsException in
DefaultContinuum.executeAddProjectsFromMetadataActivity
Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maria Catherine Tan updated CONTINUUM-2411:
-------------------------------------------
Fix Version/s: 1.3.5
> IndexOutOfBoundsException in DefaultContinuum.executeAddProjectsFromMetadataActivity
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2411
> URL: http://jira.codehaus.org/browse/CONTINUUM-2411
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.3.4
> 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)
> Reporter: Stefan Cordes
> Priority: Minor
> Fix For: 1.3.5
>
>
> 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)
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CONTINUUM-2411) IndexOutOfBoundsException in
DefaultContinuum.executeAddProjectsFromMetadataActivity
Posted by "John Michael Luy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205349#action_205349 ]
John Michael Luy commented on CONTINUUM-2411:
---------------------------------------------
I tried adding a maven 1 project and didn't get the error. I only got the error when i edited the build definition template for "Default Maven 1 Template" and removed all the used build definitions. Is this the case here?
> IndexOutOfBoundsException in DefaultContinuum.executeAddProjectsFromMetadataActivity
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2411
> URL: http://jira.codehaus.org/browse/CONTINUUM-2411
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.3.4
> 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)
> Reporter: Stefan Cordes
> Priority: Minor
> Fix For: 1.3.5
>
>
> 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)
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CONTINUUM-2411) IndexOutOfBoundsException in
DefaultContinuum.executeAddProjectsFromMetadataActivity
Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=206537#action_206537 ]
Wendy Smoak commented on CONTINUUM-2411:
----------------------------------------
Can you elaborate on the solution? I can understand that you would not be able to build without a build definition, but why can't you check out?
> IndexOutOfBoundsException in DefaultContinuum.executeAddProjectsFromMetadataActivity
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2411
> URL: http://jira.codehaus.org/browse/CONTINUUM-2411
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.3.4
> 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)
> Reporter: Stefan Cordes
> Assignee: Maria Catherine Tan
> Priority: Minor
> Fix For: 1.3.5
>
>
> 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)
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CONTINUUM-2411) IndexOutOfBoundsException in
DefaultContinuum.executeAddProjectsFromMetadataActivity
Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=206542#action_206542 ]
Maria Catherine Tan commented on CONTINUUM-2411:
------------------------------------------------
The parallel builds manager determines where the project is to be queued during check out by getting the "build queue/s" of the schedule attached to the build definition.
> IndexOutOfBoundsException in DefaultContinuum.executeAddProjectsFromMetadataActivity
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2411
> URL: http://jira.codehaus.org/browse/CONTINUUM-2411
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.3.4
> 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)
> Reporter: Stefan Cordes
> Assignee: Maria Catherine Tan
> Priority: Minor
> Fix For: 1.3.5
>
>
> 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)
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CONTINUUM-2411) IndexOutOfBoundsException in
DefaultContinuum.executeAddProjectsFromMetadataActivity
Posted by "Gwen Harold Autencio (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205724#action_205724 ]
Gwen Harold Autencio commented on CONTINUUM-2411:
-------------------------------------------------
I was able to add maven1 project while selecting a file, i also didn't encounter the error.
Following John's comment, editing a build definition template ( Maven 1 or 2 ) with no build definitions in it and then adding an M1 or M2 project, the error will be displayed.
> IndexOutOfBoundsException in DefaultContinuum.executeAddProjectsFromMetadataActivity
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2411
> URL: http://jira.codehaus.org/browse/CONTINUUM-2411
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.3.4
> 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)
> Reporter: Stefan Cordes
> Priority: Minor
> Fix For: 1.3.5
>
>
> 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)
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CONTINUUM-2411) IndexOutOfBoundsException in
DefaultContinuum.executeAddProjectsFromMetadataActivity
Posted by "Stefan Cordes (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205769#action_205769 ]
Stefan Cordes commented on CONTINUUM-2411:
------------------------------------------
Correct. We have "Default Maven 1 Template" empty as all build definitions are on project group level.
> IndexOutOfBoundsException in DefaultContinuum.executeAddProjectsFromMetadataActivity
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2411
> URL: http://jira.codehaus.org/browse/CONTINUUM-2411
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.3.4
> 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)
> Reporter: Stefan Cordes
> Priority: Minor
> Fix For: 1.3.5
>
>
> 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)
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (CONTINUUM-2411) IndexOutOfBoundsException in
DefaultContinuum.executeAddProjectsFromMetadataActivity
Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maria Catherine Tan reassigned CONTINUUM-2411:
----------------------------------------------
Assignee: Maria Catherine Tan
> IndexOutOfBoundsException in DefaultContinuum.executeAddProjectsFromMetadataActivity
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2411
> URL: http://jira.codehaus.org/browse/CONTINUUM-2411
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.3.4
> 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)
> Reporter: Stefan Cordes
> Assignee: Maria Catherine Tan
> Priority: Minor
> Fix For: 1.3.5
>
>
> 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)
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (CONTINUUM-2411) IndexOutOfBoundsException in
DefaultContinuum.executeAddProjectsFromMetadataActivity
Posted by "Maria Catherine Tan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maria Catherine Tan closed CONTINUUM-2411.
------------------------------------------
Resolution: Fixed
log a warning to inform the users that project cannot be checked out because there is no default build definition.
r898153 of 1.3.x
r898154 of trunk
> IndexOutOfBoundsException in DefaultContinuum.executeAddProjectsFromMetadataActivity
> ------------------------------------------------------------------------------------
>
> Key: CONTINUUM-2411
> URL: http://jira.codehaus.org/browse/CONTINUUM-2411
> Project: Continuum
> Issue Type: Bug
> Affects Versions: 1.3.4
> 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)
> Reporter: Stefan Cordes
> Assignee: Maria Catherine Tan
> Priority: Minor
> Fix For: 1.3.5
>
>
> 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)
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira