Home » Archived » Buckminster » ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1
| | |
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #676182 is a reply to message #676114] |
Fri, 03 June 2011 06:22 |
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I can see it in
<a class="moz-txt-link-freetext" href="https://hudson.eclipse.org/hudson/job/emf-cdo-integration/1511/console">https://hudson.eclipse.org/hudson/job/emf-cdo-integration/1511/console</a>
:<br>
<pre><b class="ant-target">provision<a name="ant-target-19"></a></b>:
[echo] Importing projects into workspace /opt/users/hudsonbuild/workspace/emf-cdo-integration/result/workspace and binaries into target platform /opt/users/hudsonbuild/workspace/emf-cdo-integration/result/tp
[mkdir] Created dir: /opt/users/hudsonbuild/workspace/emf-cdo-integration/result/tp
[java] INFO: System property http.proxyHost has been set to proxy.eclipse.org by an external source. This value will be overwritten using the values from the preferences
[java] INFO: System property http.proxyPort has been set to 9898 by an external source. This value will be overwritten using the values from the preferences
[java] INFO: System property http.nonProxyHosts has been set to *.eclipse.org|172.30.206.* by an external source. This value will be overwritten using the values from the preferences
[java] INFO: System property https.proxyHost has been set to proxy.eclipse.org by an external source. This value will be overwritten using the values from the preferences
[java] INFO: System property https.proxyPort has been set to 9898 by an external source. This value will be overwritten using the values from the preferences
[java] INFO: System property https.nonProxyHosts has been set to *.eclipse.org by an external source. This value will be overwritten using the values from the preferences
[java] WARNING [0015] : Component request org.junit:osgi.bundle/[4.8.2.v4_8_2_v20110321-1705,4.8.2.v4_8_2_v20110321-1705] is inconflict with request org.junit:osgi.bundle/[3.8.2.v3_8_2_v20100427-1100,3.8.2.v3_8_2_v20100427-1100]
[java] WARNING [0025] : Component request org.junit.source:osgi.bundle/[3.8.2.v3_8_2_v20100427-1100,3.8.2.v3_8_2_v20100427-1100] is inconflict with request org.junit.source:osgi.bundle/[4.8.2.v4_8_2_v20110321-1705,4.8.2.v4_8_2_v20110321-1705]
[java] WARNING [0004] : Component request org.apache.log4j:osgi.bundle/[1.2.15.v201012070815,1.2.15.v201012070815] is inconflict with request org.apache.log4j:osgi.bundle/[1.2.13.v200903072027,1.2.13.v200903072027]
<font color="#ff0000"><b>[java] ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1</b></font>
[java] WARNING [0106] : Component request org.apache.commons.logging:osgi.bundle/[1.0.4.v201101211617,1.0.4.v201101211617] is inconflict with request org.apache.commons.logging:osgi.bundle/[1.1.0,2.0.0)
[java] INFO: TAG-ID 0004 = Query for org.eclipse.emf.cdo.releng:buckminster, path: org.eclipse.emf.cdo.releng:buckminster$4.0.0.qualifier -> org.eclipse.emf.mwe2.runtime.sdk:eclipse.feature$2.0.0.v201106010351
[java] TAG-ID 0015 = Query for org.eclipse.emf.cdo.releng:buckminster, path: org.eclipse.emf.cdo.releng:buckminster$4.0.0.qualifier -> org.eclipse.jdt:eclipse.feature$3.7.0.v20110520-0800-7z8gFchFMTdFYKuJsMLpUla9B15B
[java] TAG-ID 0016 = Query for org.eclipse.emf.cdo.releng:buckminster, path: org.eclipse.emf.cdo.releng:buckminster$4.0.0.qualifier -> com.mysql.jdbc:eclipse.feature$5.1.11
[java] TAG-ID 0025 = Query for org.eclipse.emf.cdo.releng:buckminster, path: org.eclipse.emf.cdo.releng:buckminster$4.0.0.qualifier -> org.eclipse.jdt.source:eclipse.feature$3.7.0.v20110520-0800-7z8gFchFMTdFYKuJsMLpUla9B15B
[java] TAG-ID 0106 = Query for org.eclipse.emf.cdo.releng:buckminster, path: org.eclipse.emf.cdo.releng:buckminster$4.0.0.qualifier -> org.eclipse.platform:eclipse.feature$3.7.0.v20110520-0800-9gF7UHNFFt4cwE-pibLJ7m-mS0OWjdqewtz0110 -> org.eclipse.help:eclipse.feature$1.3.0.v20110327-7i7uFFiFFt6ZqnbNsPXLa3
[java]
<span class="ant-outcome-failure">BUILD FAILED
</span>/opt/users/hudsonbuild/workspace/emf-cdo-integration/org.eclipse.emf.cdo/releng/org.eclipse.emf.cdo.releng/build.xml:319: The following error occurred while executing this line:
/opt/users/hudsonbuild/workspace/emf-cdo-integration/org.eclipse.emf.cdo/releng/org.eclipse.emf.cdo.releng/build.xml:95: The following error occurred while executing this line:
/opt/users/hudsonbuild/workspace/emf-cdo-integration/org.eclipse.emf.cdo/releng/org.eclipse.emf.cdo.releng/build.xml:79: Java returned: 1
(I'll be off until Tuesday)
Cheers
/Eike
----
<a class="moz-txt-link-freetext" href="http://www.esc-net.de">http://www.esc-net.de</a>
<a class="moz-txt-link-freetext" href="http://thegordian.blogspot.com">http://thegordian.blogspot.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/eikestepper">http://twitter.com/eikestepper</a>
</pre>
<br>
<br>
Am 02.06.2011 23:21, schrieb Thomas Hallgren:
<blockquote cite="mid:is8ud2$61s$1@news.eclipse.org" type="cite">Hi
Eike,
<br>
<br>
How do you know that it's an AIOOB exception? I can't derive that
from the logs. Do you have some other info that I can't see?
<br>
<br>
FWIW, nothing has changed at our end since May 29.
<br>
<br>
- thomas
<br>
<br>
<br>
On 2011-06-02 22:05, Eike Stepper wrote:
<br>
<blockquote type="cite">Here a build with loglevel DEBUG:
<a class="moz-txt-link-freetext" href="https://hudson.eclipse.org/hudson/job/emf-cdo-integration/1513/console">https://hudson.eclipse.org/hudson/job/emf-cdo-integration/1513/console</a>
<br>
<br>
Looks different, but still wrong ;-(
<br>
<br>
Cheers
<br>
/Eike
<br>
<br>
----
<br>
<a class="moz-txt-link-freetext" href="http://www.esc-net.de">http://www.esc-net.de</a>
<br>
<a class="moz-txt-link-freetext" href="http://thegordian.blogspot.com">http://thegordian.blogspot.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://twitter.com/eikestepper">http://twitter.com/eikestepper</a>
<br>
<br>
<br>
<br>
Am 02.06.2011 22:01, schrieb Eike Stepper:
<br>
<blockquote type="cite">Hi,
<br>
<br>
my builds started failing with the above error message. Here
an example:
<br>
<a class="moz-txt-link-freetext" href="https://hudson.eclipse.org/hudson/job/emf-cdo-integration/1511/console">https://hudson.eclipse.org/hudson/job/emf-cdo-integration/1511/console</a>
<br>
<br>
Any idea how I can avoid that?
<br>
<br>
Cheers
<br>
/Eike
<br>
<br>
----
<br>
<a class="moz-txt-link-freetext" href="http://www.esc-net.de">http://www.esc-net.de</a>
<br>
<a class="moz-txt-link-freetext" href="http://thegordian.blogspot.com">http://thegordian.blogspot.com</a>
<br>
<a class="moz-txt-link-freetext" href="http://twitter.com/eikestepper">http://twitter.com/eikestepper</a>
<br>
<br>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
</body>
</html>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #676199 is a reply to message #676182] |
Fri, 03 June 2011 07:05 |
|
Right, but the run with DEBUG output didn't show this error and consequently, I have no stack-trace.
- thomas
On 2011-06-03 08:22, Eike Stepper wrote:
> I can see it in https://hudson.eclipse.org/hudson/job/emf-cdo-integration/1511/console :
>
> *provision*:
> [echo] Importing projects into workspace /opt/users/hudsonbuild/workspace/emf-cdo-integration/result/workspace and binaries into target platform /opt/users/hudsonbuild/workspace/emf-cdo-integration/result/tp
> [mkdir] Created dir: /opt/users/hudsonbuild/workspace/emf-cdo-integration/result/tp
> [java] INFO: System property http.proxyHost has been set to proxy.eclipse.org by an external source. This value will be overwritten using the values from the preferences
> [java] INFO: System property http.proxyPort has been set to 9898 by an external source. This value will be overwritten using the values from the preferences
> [java] INFO: System property http.nonProxyHosts has been set to *.eclipse.org|172.30.206.* by an external source. This value will be overwritten using the values from the preferences
> [java] INFO: System property https.proxyHost has been set to proxy.eclipse.org by an external source. This value will be overwritten using the values from the preferences
> [java] INFO: System property https.proxyPort has been set to 9898 by an external source. This value will be overwritten using the values from the preferences
> [java] INFO: System property https.nonProxyHosts has been set to *.eclipse.org by an external source. This value will be overwritten using the values from the preferences
> [java] WARNING [0015] : Component request org.junit:osgi.bundle/[4.8.2.v4_8_2_v20110321-1705,4.8.2.v4_8_2_v20110321-1705] is inconflict with request org.junit:osgi.bundle/[3.8.2.v3_8_2_v20100427-1100,3.8.2.v3_8_2_v20100427-1100]
> [java] WARNING [0025] : Component request org.junit.source:osgi.bundle/[3.8.2.v3_8_2_v20100427-1100,3.8.2.v3_8_2_v20100427-1100] is inconflict with request org.junit.source:osgi.bundle/[4.8.2.v4_8_2_v20110321-1705,4.8.2.v4_8_2_v20110321-1705]
> [java] WARNING [0004] : Component request org.apache.log4j:osgi.bundle/[1.2.15.v201012070815,1.2.15.v201012070815] is inconflict with request org.apache.log4j:osgi.bundle/[1.2.13.v200903072027,1.2.13.v200903072027]
> *[java] ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1*
> [java] WARNING [0106] : Component request org.apache.commons.logging:osgi.bundle/[1.0.4.v201101211617,1.0.4.v201101211617] is inconflict with request org.apache.commons.logging:osgi.bundle/[1.1.0,2.0.0)
> [java] INFO: TAG-ID 0004 = Query for org.eclipse.emf.cdo.releng:buckminster, path: org.eclipse.emf.cdo.releng:buckminster$4.0.0.qualifier -> org.eclipse.emf.mwe2.runtime.sdk:eclipse.feature$2.0.0.v201106010351
> [java] TAG-ID 0015 = Query for org.eclipse.emf.cdo.releng:buckminster, path: org.eclipse.emf.cdo.releng:buckminster$4.0.0.qualifier -> org.eclipse.jdt:eclipse.feature$3.7.0.v20110520-0800-7z8gFchFMTdFYKuJsMLpUla9B15B
> [java] TAG-ID 0016 = Query for org.eclipse.emf.cdo.releng:buckminster, path: org.eclipse.emf.cdo.releng:buckminster$4.0.0.qualifier -> com.mysql.jdbc:eclipse.feature$5.1.11
> [java] TAG-ID 0025 = Query for org.eclipse.emf.cdo.releng:buckminster, path: org.eclipse.emf.cdo.releng:buckminster$4.0.0.qualifier -> org.eclipse.jdt.source:eclipse.feature$3.7.0.v20110520-0800-7z8gFchFMTdFYKuJsMLpUla9B15B
> [java] TAG-ID 0106 = Query for org.eclipse.emf.cdo.releng:buckminster, path: org.eclipse.emf.cdo.releng:buckminster$4.0.0.qualifier -> org.eclipse.platform:eclipse.feature$3.7.0.v20110520-0800-9gF7UHNFFt4cwE-pibLJ7m-mS0OWjdqewtz0110 -> org.eclipse.help:eclipse.feature$1.3.0.v20110327-7i7uFFiFFt6ZqnbNsPXLa3
> [java]
>
> BUILD FAILED
> /opt/users/hudsonbuild/workspace/emf-cdo-integration/org.eclipse.emf.cdo/releng/org.eclipse.emf.cdo.releng/build.xml:319: The following error occurred while executing this line:
> /opt/users/hudsonbuild/workspace/emf-cdo-integration/org.eclipse.emf.cdo/releng/org.eclipse.emf.cdo.releng/build.xml:95: The following error occurred while executing this line:
> /opt/users/hudsonbuild/workspace/emf-cdo-integration/org.eclipse.emf.cdo/releng/org.eclipse.emf.cdo.releng/build.xml:79: Java returned: 1
>
> (I'll be off until Tuesday)
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>
>
> Am 02.06.2011 23:21, schrieb Thomas Hallgren:
>> Hi Eike,
>>
>> How do you know that it's an AIOOB exception? I can't derive that from the logs. Do you have some other info that I
>> can't see?
>>
>> FWIW, nothing has changed at our end since May 29.
>>
>> - thomas
>>
>>
>> On 2011-06-02 22:05, Eike Stepper wrote:
>>> Here a build with loglevel DEBUG: https://hudson.eclipse.org/hudson/job/emf-cdo-integration/1513/console
>>>
>>> Looks different, but still wrong ;-(
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://www.esc-net.de
>>> http://thegordian.blogspot.com
>>> http://twitter.com/eikestepper
>>>
>>>
>>>
>>> Am 02.06.2011 22:01, schrieb Eike Stepper:
>>>> Hi,
>>>>
>>>> my builds started failing with the above error message. Here an example:
>>>> https://hudson.eclipse.org/hudson/job/emf-cdo-integration/1511/console
>>>>
>>>> Any idea how I can avoid that?
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://www.esc-net.de
>>>> http://thegordian.blogspot.com
>>>> http://twitter.com/eikestepper
>>>>
>>>>
>>
|
|
|
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #676956 is a reply to message #676199] |
Tue, 07 June 2011 05:08 |
|
Am 03.06.2011 09:05, schrieb Thomas Hallgren:
> Right, but the run with DEBUG output didn't show this error and consequently, I have no stack-trace.
I don't have it either. Buckminster must have swallowed it ;-(
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
>
> - thomas
>
> On 2011-06-03 08:22, Eike Stepper wrote:
>> I can see it in https://hudson.eclipse.org/hudson/job/emf-cdo-integration/1511/console :
>>
>> *provision*:
>> [echo] Importing projects into workspace /opt/users/hudsonbuild/workspace/emf-cdo-integration/result/workspace and binaries into target platform /opt/users/hudsonbuild/workspace/emf-cdo-integration/result/tp
>> [mkdir] Created dir: /opt/users/hudsonbuild/workspace/emf-cdo-integration/result/tp
>> [java] INFO: System property http.proxyHost has been set to proxy.eclipse.org by an external source. This value will be overwritten using the values from the preferences
>> [java] INFO: System property http.proxyPort has been set to 9898 by an external source. This value will be overwritten using the values from the preferences
>> [java] INFO: System property http.nonProxyHosts has been set to *.eclipse.org|172.30.206.* by an external source. This value will be overwritten using the values from the preferences
>> [java] INFO: System property https.proxyHost has been set to proxy.eclipse.org by an external source. This value will be overwritten using the values from the preferences
>> [java] INFO: System property https.proxyPort has been set to 9898 by an external source. This value will be overwritten using the values from the preferences
>> [java] INFO: System property https.nonProxyHosts has been set to *.eclipse.org by an external source. This value will be overwritten using the values from the preferences
>> [java] WARNING [0015] : Component request org.junit:osgi.bundle/[4.8.2.v4_8_2_v20110321-1705,4.8.2.v4_8_2_v20110321-1705] is inconflict with request org.junit:osgi.bundle/[3.8.2.v3_8_2_v20100427-1100,3.8.2.v3_8_2_v20100427-1100]
>> [java] WARNING [0025] : Component request org.junit.source:osgi.bundle/[3.8.2.v3_8_2_v20100427-1100,3.8.2.v3_8_2_v20100427-1100] is inconflict with request org.junit.source:osgi.bundle/[4.8.2.v4_8_2_v20110321-1705,4.8.2.v4_8_2_v20110321-1705]
>> [java] WARNING [0004] : Component request org.apache.log4j:osgi.bundle/[1.2.15.v201012070815,1.2.15.v201012070815] is inconflict with request org.apache.log4j:osgi.bundle/[1.2.13.v200903072027,1.2.13.v200903072027]
>> *[java] ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1*
>> [java] WARNING [0106] : Component request org.apache.commons.logging:osgi.bundle/[1.0.4.v201101211617,1.0.4.v201101211617] is inconflict with request org.apache.commons.logging:osgi.bundle/[1.1.0,2.0.0)
>> [java] INFO: TAG-ID 0004 = Query for org.eclipse.emf.cdo.releng:buckminster, path: org.eclipse.emf.cdo.releng:buckminster$4.0.0.qualifier -> org.eclipse.emf.mwe2.runtime.sdk:eclipse.feature$2.0.0.v201106010351
>> [java] TAG-ID 0015 = Query for org.eclipse.emf.cdo.releng:buckminster, path: org.eclipse.emf.cdo.releng:buckminster$4.0.0.qualifier -> org.eclipse.jdt:eclipse.feature$3.7.0.v20110520-0800-7z8gFchFMTdFYKuJsMLpUla9B15B
>> [java] TAG-ID 0016 = Query for org.eclipse.emf.cdo.releng:buckminster, path: org.eclipse.emf.cdo.releng:buckminster$4.0.0.qualifier -> com.mysql.jdbc:eclipse.feature$5.1.11
>> [java] TAG-ID 0025 = Query for org.eclipse.emf.cdo.releng:buckminster, path: org.eclipse.emf.cdo.releng:buckminster$4.0.0.qualifier -> org.eclipse.jdt.source:eclipse.feature$3.7.0.v20110520-0800-7z8gFchFMTdFYKuJsMLpUla9B15B
>> [java] TAG-ID 0106 = Query for org.eclipse.emf.cdo.releng:buckminster, path: org.eclipse.emf.cdo.releng:buckminster$4.0.0.qualifier -> org.eclipse.platform:eclipse.feature$3.7.0.v20110520-0800-9gF7UHNFFt4cwE-pibLJ7m-mS0OWjdqewtz0110 -> org.eclipse.help:eclipse.feature$1.3.0.v20110327-7i7uFFiFFt6ZqnbNsPXLa3
>> [java]
>>
>> BUILD FAILED
>> /opt/users/hudsonbuild/workspace/emf-cdo-integration/org.eclipse.emf.cdo/releng/org.eclipse.emf.cdo.releng/build.xml:319: The following error occurred while executing this line:
>> /opt/users/hudsonbuild/workspace/emf-cdo-integration/org.eclipse.emf.cdo/releng/org.eclipse.emf.cdo.releng/build.xml:95: The following error occurred while executing this line:
>> /opt/users/hudsonbuild/workspace/emf-cdo-integration/org.eclipse.emf.cdo/releng/org.eclipse.emf.cdo.releng/build.xml:79: Java returned: 1
>>
>> (I'll be off until Tuesday)
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>
>>
>> Am 02.06.2011 23:21, schrieb Thomas Hallgren:
>>> Hi Eike,
>>>
>>> How do you know that it's an AIOOB exception? I can't derive that from the logs. Do you have some other info that I
>>> can't see?
>>>
>>> FWIW, nothing has changed at our end since May 29.
>>>
>>> - thomas
>>>
>>>
>>> On 2011-06-02 22:05, Eike Stepper wrote:
>>>> Here a build with loglevel DEBUG: https://hudson.eclipse.org/hudson/job/emf-cdo-integration/1513/console
>>>>
>>>> Looks different, but still wrong ;-(
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://www.esc-net.de
>>>> http://thegordian.blogspot.com
>>>> http://twitter.com/eikestepper
>>>>
>>>>
>>>>
>>>> Am 02.06.2011 22:01, schrieb Eike Stepper:
>>>>> Hi,
>>>>>
>>>>> my builds started failing with the above error message. Here an example:
>>>>> https://hudson.eclipse.org/hudson/job/emf-cdo-integration/1511/console
>>>>>
>>>>> Any idea how I can avoid that?
>>>>>
>>>>> Cheers
>>>>> /Eike
>>>>>
>>>>> ----
>>>>> http://www.esc-net.de
>>>>> http://thegordian.blogspot.com
>>>>> http://twitter.com/eikestepper
>>>>>
>>>>>
>>>
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #676958 is a reply to message #676956] |
Tue, 07 June 2011 05:46 |
|
Can you reproduce the problem when running with DEBUG? If not, can you reproduce the problem with --displaystacktrace?
- thomas
On 2011-06-07 07:08, Eike Stepper wrote:
> Am 03.06.2011 09:05, schrieb Thomas Hallgren:
>> Right, but the run with DEBUG output didn't show this error and consequently, I have no stack-trace.
> I don't have it either. Buckminster must have swallowed it ;-(
>
> Cheers
> /Eike
>
|
|
| |
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #676981 is a reply to message #676961] |
Tue, 07 June 2011 07:30 |
|
On 2011-06-07 08:09, Eike Stepper wrote:
> Am 07.06.2011 07:46, schrieb Thomas Hallgren:
>> Can you reproduce the problem when running with DEBUG?
> At least not during that build I guess.
>
>> If not, can you reproduce the problem with --displaystacktrace?
> Where do I need to specify this?
>
At the same place where you pass --loglevel to Buckminster.
- thomas
|
|
|
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #677011 is a reply to message #676981] |
Tue, 07 June 2011 10:09 |
|
Am 07.06.2011 09:30, schrieb Thomas Hallgren:
> On 2011-06-07 08:09, Eike Stepper wrote:
>> Am 07.06.2011 07:46, schrieb Thomas Hallgren:
>>> Can you reproduce the problem when running with DEBUG?
>> At least not during that build I guess.
>>
>>> If not, can you reproduce the problem with --displaystacktrace?
>> Where do I need to specify this?
>>
> At the same place where you pass --loglevel to Buckminster.
I just notice that we already use that option:
<macrodef name="buckminster">
<attribute name="command" />
<attribute name="workspace" default="${workspace}" />
<element name="sysproperties" optional="true" />
<element name="globargs" optional="true" />
<element name="cmdargs" optional="true" />
<sequential>
<eclipse.launch app="buckminster">
<properties>
<sysproperty key="bugfix.288796" value="true" />
<sysproperties />
</properties>
<args>
<jvmarg value="-Xmx4096m" />
<arg value="-data" />
<arg value="@{workspace}" />
<arg value="--loglevel" />
<arg value="${buckminster.loglevel}" />
<arg value="--displaystacktrace" />
<globargs />
<arg value="@{command}" />
<arg value="-P" />
<arg value="${properties.tmp}" />
<cmdargs />
</args>
</eclipse.launch>
</sequential>
</macrodef>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #677044 is a reply to message #677011] |
Tue, 07 June 2011 11:18 |
|
I see that you have several successful builds since the AIOOB failure. Did you change anything or did it just magically
started working again? What do I need to do to reproduce the error?
- thomas
On 2011-06-07 12:09, Eike Stepper wrote:
> Am 07.06.2011 09:30, schrieb Thomas Hallgren:
>> On 2011-06-07 08:09, Eike Stepper wrote:
>>> Am 07.06.2011 07:46, schrieb Thomas Hallgren:
>>>> Can you reproduce the problem when running with DEBUG?
>>> At least not during that build I guess.
>>>
>>>> If not, can you reproduce the problem with --displaystacktrace?
>>> Where do I need to specify this?
>>>
>> At the same place where you pass --loglevel to Buckminster.
> I just notice that we already use that option:
>
> <macrodef name="buckminster">
> <attribute name="command" />
> <attribute name="workspace" default="${workspace}" />
> <element name="sysproperties" optional="true" />
> <element name="globargs" optional="true" />
> <element name="cmdargs" optional="true" />
> <sequential>
> <eclipse.launch app="buckminster">
> <properties>
> <sysproperty key="bugfix.288796" value="true" />
> <sysproperties />
> </properties>
> <args>
> <jvmarg value="-Xmx4096m" />
> <arg value="-data" />
> <arg value="@{workspace}" />
> <arg value="--loglevel" />
> <arg value="${buckminster.loglevel}" />
> <arg value="--displaystacktrace" />
> <globargs />
> <arg value="@{command}" />
> <arg value="-P" />
> <arg value="${properties.tmp}" />
> <cmdargs />
> </args>
> </eclipse.launch>
> </sequential>
> </macrodef>
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
|
|
|
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #677066 is a reply to message #677044] |
Tue, 07 June 2011 12:36 |
|
Am 07.06.2011 13:18, schrieb Thomas Hallgren:
> I see that you have several successful builds since the AIOOB failure. Did you change anything or did it just magically started working again?
I changed nothing relevant. It seems to come and go.
> What do I need to do to reproduce the error?
I have not the least bit of a clue. Maybe you find the piece of code that swallows the stack trace?
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
>
> - thomas
>
> On 2011-06-07 12:09, Eike Stepper wrote:
>> Am 07.06.2011 09:30, schrieb Thomas Hallgren:
>>> On 2011-06-07 08:09, Eike Stepper wrote:
>>>> Am 07.06.2011 07:46, schrieb Thomas Hallgren:
>>>>> Can you reproduce the problem when running with DEBUG?
>>>> At least not during that build I guess.
>>>>
>>>>> If not, can you reproduce the problem with --displaystacktrace?
>>>> Where do I need to specify this?
>>>>
>>> At the same place where you pass --loglevel to Buckminster.
>> I just notice that we already use that option:
>>
>> <macrodef name="buckminster">
>> <attribute name="command" />
>> <attribute name="workspace" default="${workspace}" />
>> <element name="sysproperties" optional="true" />
>> <element name="globargs" optional="true" />
>> <element name="cmdargs" optional="true" />
>> <sequential>
>> <eclipse.launch app="buckminster">
>> <properties>
>> <sysproperty key="bugfix.288796" value="true" />
>> <sysproperties />
>> </properties>
>> <args>
>> <jvmarg value="-Xmx4096m" />
>> <arg value="-data" />
>> <arg value="@{workspace}" />
>> <arg value="--loglevel" />
>> <arg value="${buckminster.loglevel}" />
>> <arg value="--displaystacktrace" />
>> <globargs />
>> <arg value="@{command}" />
>> <arg value="-P" />
>> <arg value="${properties.tmp}" />
>> <cmdargs />
>> </args>
>> </eclipse.launch>
>> </sequential>
>> </macrodef>
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
| | | |
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #682580 is a reply to message #682579] |
Sat, 11 June 2011 14:30 |
|
Am 11.06.2011 16:22, schrieb Thomas Hallgren:
> Hi Eike,
>
> Since you're the only one getting this, would it be possible for you to attach a debugger and trap that exception?
I really would like to but I don't have the least bit of a clue how to debug a Buckminster build on Hudson ;-(
If you want to try to reproduce it I can help you with knowledge about my build, though.
Today I experienced another, different exception without a stack trace. It was a StackOverflowException and I could only solve it because I knew exacly what I had done during the preceding 15 minutes. It was caused by some additional properties that my build.xml wrote to the build-info.xml that's "somehow" consumed later by Buckminster. How can it come that there's no stack trace in the log even though I said --displaystacktrace?
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
>
> - thomas
>
> On 2011-06-11 15:50, Eike Stepper wrote:
>> And again: https://hudson.eclipse.org/hudson/job/emf-cdo-integration/1566/console
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>
>> Am 10.06.2011 10:48, schrieb Eike Stepper:
>>> It happened again: https://hudson.eclipse.org/hudson/job/emf-cdo-integration/1549/console
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://www.esc-net.de
>>> http://thegordian.blogspot.com
>>> http://twitter.com/eikestepper
>>>
>>>
>>>
>>> Am 02.06.2011 22:01, schrieb Eike Stepper:
>>>> Hi,
>>>>
>>>> my builds started failing with the above error message. Here an example:
>>>> https://hudson.eclipse.org/hudson/job/emf-cdo-integration/1511/console
>>>>
>>>> Any idea how I can avoid that?
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://www.esc-net.de
>>>> http://thegordian.blogspot.com
>>>> http://twitter.com/eikestepper
>>>>
>>>>
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #682709 is a reply to message #682580] |
Sat, 11 June 2011 22:00 |
|
On 2011-06-11 16:30, Eike Stepper wrote:
>> Since you're the only one getting this, would it be possible for you to attach a debugger and trap that exception?
> I really would like to but I don't have the least bit of a clue how to debug a Buckminster build on Hudson ;-(
>
Buckminster is a java process and I think you start it from an ant-script? If so, try adding a line like this:
<jvmarg value="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y"/>
The process will then stop and listen to port 8000. Start an IDE and attach. A prerequisite is of course that you are
allowed to attach to the given port and that might be a problem only the webmaster can solve. Have you never seen this
when running a local build?
> How can it come
> that there's no stack trace in the log even though I said --displaystacktrace?
>
Buckminster isn't in complete control. Many exceptions are both thrown and cought by underlying logic that we cannot
influence.
- thomas
|
|
| | | | |
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #805807 is a reply to message #765493] |
Fri, 24 February 2012 06:49 |
|
Am 14.12.2011 08:32, schrieb Thomas Hallgren:
> HI Eike,
>
> The problem is that I don't know who logs this either. I consider it unlikely that it's code that we have control over
> (we would log the stack trace) so I must assume that it's some underlying code that simply does:
>
> catch(Exception e) {
> log(e.getMessage());
> }
I'm still facing this problem very frequently and in contrast to what I said earlier, I don't believe that this is *not*
a Buckminster issue. Please have oine more look at the exact console output:
[java] ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1
[java] ...
[java] TAG-ID 0016 = Query for org.eclipse.emf.cdo.releng:osgi.bundle, path: org.eclipse.emf.cdo.releng:osgi.bundle$4.0.2.qualifier -> com.mysql.jdbc:eclipse.feature$5.1.11
Both the ERROR and the TAG-ID lines are assembled by Buckminster, perhaps in
org.eclipse.buckminster.core.RMContext.formatStatus(BufferedWriter, int, IStatus). In case of an IStatus with an
exception I can't see how the respective stack trace would be written to the output.
In general I can not imagine how a third party technology such as, e.g., p2, could tell Buckminster directly about an
exception without actually throwing or returning it. In both cases the stack trace should be available.
Please, please, please. Please tell me where this exception is coming from ;-(
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #805976 is a reply to message #805807] |
Fri, 24 February 2012 11:12 |
|
On 02/24/2012 07:49 AM, Eike Stepper wrote:
> Both the ERROR and the TAG-ID lines are assembled by Buckminster, perhaps in
> org.eclipse.buckminster.core.RMContext.formatStatus(BufferedWriter, int, IStatus). In case of an IStatus with an
> exception I can't see how the respective stack trace would be written to the output.
>
I hate to admit this ;-) but it looks like you're right. Please enter a bugzilla for with the above info and I'll have a
look at it shortly.
- thomas
|
|
| |
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #806188 is a reply to message #806007] |
Fri, 24 February 2012 17:07 |
Carsten Reckord Messages: 139 Registered: July 2009 |
Senior Member |
|
|
Eike,
Do you by chance have a path in one of your RMaps that does not exist? I
experienced this issue in that case together with parallel resolutions (iirc
it was a multithreading issue where one thread would invalidate the provider
list somehow, while the other was iterating over it).
In that case, try either removing that path from the RMap or dialing down
the resolution threads.
Thomas,
WRT stacktrace logging, I found this a few days ago:
diff --git
a/org.eclipse.buckminster.core/src/java/org/eclipse/buckminster/core/RMContext.java
b/org.eclipse.buckminster.core/src/java/org/eclipse/buckminster/c
index 7bd4f0c..c41e64e 100644
---
a/org.eclipse.buckminster.core/src/java/org/eclipse/buckminster/core/RMContext.java
+++
b/org.eclipse.buckminster.core/src/java/org/eclipse/buckminster/core/RMContext.java
@@ -269,7 +269,7 @@ public class RMContext extends ExpandingProperties<Object> {
if (!isSilentStatus()) {
switch (st.getSeverity()) {
case IStatus.ERROR:
- logger.error(formatStatus(st));
+ logger.error(st.getException(),
formatStatus(st));
break;
case IStatus.WARNING:
logger.warning(formatStatus(st));
Didn't get around to file a bug + patch yet
On 24.02.2012 13:13, Eike Stepper wrote:
> Am 24.02.2012 12:12, schrieb Thomas Hallgren:
>> On 02/24/2012 07:49 AM, Eike Stepper wrote:
>>> Both the ERROR and the TAG-ID lines are assembled by Buckminster, perhaps in
>>> org.eclipse.buckminster.core.RMContext.formatStatus(BufferedWriter, int, IStatus). In case of an IStatus with an
>>> exception I can't see how the respective stack trace would be written to the output.
>>>
>> I hate to admit this ;-) but it looks like you're right. Please enter a bugzilla for with the above info and I'll have
>> a look at it shortly.
> You're the greatest ;-)
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=372470
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
|
|
| |
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #880075 is a reply to message #806188] |
Fri, 01 June 2012 11:17 |
|
Hi Carsten,
Sorry, your post has slipped through my fingers ;-(
Comments below...
Am 24.02.2012 18:07, schrieb Carsten Reckord:
> Eike,
>
> Do you by chance have a path in one of your RMaps that does not exist?
What do you mean by "path"? <rm:searchPath> elements? If so, how can one not exist?
> I experienced this issue in that case together with parallel resolutions (iirc
> it was a multithreading issue where one thread would invalidate the provider
> list somehow, while the other was iterating over it).
Sounds at least reasonable ;-)
>
> In that case, try either removing that path from the RMap
I doubt that we have anything in our rmap that can simply be removed.
> or dialing down the resolution threads.
How have you done this? Did it have a bad impact on the build time?
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
>
>
> Thomas,
>
> WRT stacktrace logging, I found this a few days ago:
>
> diff --git
> a/org.eclipse.buckminster.core/src/java/org/eclipse/buckminster/core/RMContext.java
> b/org.eclipse.buckminster.core/src/java/org/eclipse/buckminster/c
> index 7bd4f0c..c41e64e 100644
> ---
> a/org.eclipse.buckminster.core/src/java/org/eclipse/buckminster/core/RMContext.java
> +++
> b/org.eclipse.buckminster.core/src/java/org/eclipse/buckminster/core/RMContext.java
> @@ -269,7 +269,7 @@ public class RMContext extends ExpandingProperties<Object> {
> if (!isSilentStatus()) {
> switch (st.getSeverity()) {
> case IStatus.ERROR:
> - logger.error(formatStatus(st));
> + logger.error(st.getException(),
> formatStatus(st));
> break;
> case IStatus.WARNING:
> logger.warning(formatStatus(st));
>
>
> Didn't get around to file a bug + patch yet
>
> On 24.02.2012 13:13, Eike Stepper wrote:
>> Am 24.02.2012 12:12, schrieb Thomas Hallgren:
>>> On 02/24/2012 07:49 AM, Eike Stepper wrote:
>>>> Both the ERROR and the TAG-ID lines are assembled by Buckminster, perhaps in
>>>> org.eclipse.buckminster.core.RMContext.formatStatus(BufferedWriter, int, IStatus). In case of an IStatus with an
>>>> exception I can't see how the respective stack trace would be written to the output.
>>>>
>>> I hate to admit this ;-) but it looks like you're right. Please enter a bugzilla for with the above info and I'll have
>>> a look at it shortly.
>> You're the greatest ;-)
>>
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=372470
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #880334 is a reply to message #880075] |
Fri, 01 June 2012 21:33 |
Carsten Reckord Messages: 139 Registered: July 2009 |
Senior Member |
|
|
Hi Eike,
Comments below...
>> Do you by chance have a path in one of your RMaps that does not
>exist?
>What do you mean by "path"?<rm:searchPath> elements? If so, how can
>one not exist?
No, I meant an uri used in a provider pointing to an invalid location ( in
my case it was for local resolution from the file system, can't remember
right now if it also happens with p2 or other providers)
>>
>> In that case, try either removing that path from the RMap
>I doubt that we have anything in our rmap that can simply be removed.
>
>> or dialing down the resolution threads.
>How have you done this? Did it have a bad impact on the build time?
In the IDE it's in the Buckminster preferences. On the command line you can
do 'buckminster setpref maxParallelResolutions 1'
It did slow down the build a bit, but not significantly. I actually kept the
setting after removing the bad path, because it improved log readability (I
log at debug level by default,.which definitely allows down the build
significantly ;p)
cheers,
Carsten
|
|
|
Re: ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1 [message #880494 is a reply to message #880334] |
Sat, 02 June 2012 05:57 |
|
Am 01.06.2012 23:33, schrieb Carsten Reckord:
> Hi Eike,
>
> Comments below...
>
>>> Do you by chance have a path in one of your RMaps that does not
>> exist?
>> What do you mean by "path"?<rm:searchPath> elements? If so, how can
>> one not exist?
> No, I meant an uri used in a provider pointing to an invalid location ( in
> my case it was for local resolution from the file system, can't remember
> right now if it also happens with p2 or other providers)
Hmm, I'll have to have a closer look in the future whether the failure of the build is caused by the
ArrayIndexOutOfBoundsException or rather by some wrong URI. But I do remember now that in many cases just kicking a new
build (without fixing anything in the RMap) fixed the problem.
>
>>> In that case, try either removing that path from the RMap
>> I doubt that we have anything in our rmap that can simply be removed.
>>
>>> or dialing down the resolution threads.
>> How have you done this? Did it have a bad impact on the build time?
> In the IDE it's in the Buckminster preferences. On the command line you can
> do 'buckminster setpref maxParallelResolutions 1'
>
> It did slow down the build a bit, but not significantly. I actually kept the
> setting after removing the bad path, because it improved log readability (I
> log at debug level by default,.which definitely allows down the build
> significantly ;p)
Excellent, I'll try that! Thank you a lot ;-)
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Goto Forum:
Current Time: Sun Sep 22 06:06:57 GMT 2024
Powered by FUDForum. Page generated in 0.03956 seconds
|