You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2009/10/26 13:53:26 UTC

[jira] Closed: (MNG-4406) Fatal error running Maven on z/OS

     [ http://jira.codehaus.org/browse/MNG-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-4406.
----------------------------------

    Resolution: Not A Bug
      Assignee: Benjamin Bentmann

>From the stack trace:
{noformat}
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 17
	at java.util.ArrayList.contains(Unknown Source)
	at org.apache.maven.project.ModelUtils.orderAfterMerge(ModelUtils.java:575)
{noformat}
{{List.contains(Object)}} does not get any index from the caller, so the execution clearly dies inside the JRE's own code because of a bad access to the internal arrays backing the list. This is not a bug in Maven itself, as stressed by the fact that this code works on other JREs, but a problem in the JRE you use and its implementation of {{ArrayList}}. So please report this to the vendor of your JRE.

> Fatal error running Maven on z/OS
> ---------------------------------
>
>                 Key: MNG-4406
>                 URL: http://jira.codehaus.org/browse/MNG-4406
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: z/OS 1.6
> JAVA 1.6
> Maven 2.2.1
>            Reporter: Uli Althen
>            Assignee: Benjamin Bentmann
>         Attachments: N001.zip
>
>
> I have installed maven on a z/OS 1.6 system. 
> /u/uli: >mvn --version
> Apache Maven 2.2.1 (r801777; 2009-08-06 14:16:01-0500)
> Java version: 1.6.0
> Java home: /usr/lpp/java/J6.0
> Default locale: en_US, platform encoding: CP1047
> OS name: "z/os" version: "01.06.00" arch: "s390" Family: "unix"
> running >mvn help:active-profiles -X -e produces a Fatal error.
> I tried a number of commands. They all seem to result in the same stack trace. (see attached output.txt).
> Attached zip file contains, the settings.xam files and a pom.xml. The error is the same regardless of whether the pom.xml is in the current path.
> Thanks for your help
> Uli

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