You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Philippe Busque (JIRA)" <ji...@codehaus.org> on 2010/10/18 22:31:41 UTC

[jira] Created: (CONTINUUM-2574) IndexOutOfBoundsException when adding a Group Build Definitions

IndexOutOfBoundsException when adding a Group Build Definitions
---------------------------------------------------------------

                 Key: CONTINUUM-2574
                 URL: http://jira.codehaus.org/browse/CONTINUUM-2574
             Project: Continuum
          Issue Type: Bug
          Components: Core system
    Affects Versions: 1.3.6
            Reporter: Philippe Busque
         Attachments: continuum.log


When trying to add a Group Build Definitions to a non-empty group containing no default build definion, an IndexOutOfBoundsException exception is thrown.

How to reproduce:

Create a group using a template containing no default Group Build Definition.
Add a project to this group.
Add a Group Build Definition.

Error received:

    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
	at java.util.ArrayList.get(ArrayList.java:322)
	at org.apache.maven.continuum.web.action.BuildDefinitionAction.input(BuildDefinitionAction.java:215)
	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)
....

Full stack trace attached.


-- 
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-2574) IndexOutOfBoundsException when adding a Group Build Definitions

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated CONTINUUM-2574:
------------------------------------

      Description: 
When trying to add a Group Build Definitions to a non-empty group containing no default build definion, an IndexOutOfBoundsException exception is thrown.

How to reproduce:

Create a group using a template containing no default Group Build Definition.
Add a project to this group.
Add a Group Build Definition.

Error received:

    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
	at java.util.ArrayList.get(ArrayList.java:322)
	at org.apache.maven.continuum.web.action.BuildDefinitionAction.input(BuildDefinitionAction.java:215)
	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)
....

Full stack trace attached.


  was:

When trying to add a Group Build Definitions to a non-empty group containing no default build definion, an IndexOutOfBoundsException exception is thrown.

How to reproduce:

Create a group using a template containing no default Group Build Definition.
Add a project to this group.
Add a Group Build Definition.

Error received:

    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
	at java.util.ArrayList.get(ArrayList.java:322)
	at org.apache.maven.continuum.web.action.BuildDefinitionAction.input(BuildDefinitionAction.java:215)
	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)
....

Full stack trace attached.


    Fix Version/s: Backlog

> IndexOutOfBoundsException when adding a Group Build Definitions
> ---------------------------------------------------------------
>
>                 Key: CONTINUUM-2574
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2574
>             Project: Continuum
>          Issue Type: Bug
>          Components: Core system
>    Affects Versions: 1.3.6
>            Reporter: Philippe Busque
>             Fix For: Backlog
>
>         Attachments: continuum.log
>
>
> When trying to add a Group Build Definitions to a non-empty group containing no default build definion, an IndexOutOfBoundsException exception is thrown.
> How to reproduce:
> Create a group using a template containing no default Group Build Definition.
> Add a project to this group.
> Add a Group Build Definition.
> Error received:
>     java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
> 	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
> 	at java.util.ArrayList.get(ArrayList.java:322)
> 	at org.apache.maven.continuum.web.action.BuildDefinitionAction.input(BuildDefinitionAction.java:215)
> 	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)
> ....
> Full stack trace attached.

-- 
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