continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe Busque (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (CONTINUUM-2574) IndexOutOfBoundsException when adding a Group Build Definitions
Date Mon, 18 Oct 2010 20:31:41 GMT
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

        

Mime
View raw message