Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Random errors in resolve step
Random errors in resolve step [message #555089] Wed, 25 August 2010 12:24 Go to next message
Peter Kullmann is currently offline Peter KullmannFriend
Messages: 240
Registered: July 2009
Senior Member
Hi,

Sometimes I'm getting these errors when resolving a cquery.

The first possibility is this (see below for more context):

ERROR [0039] : java.lang.IllegalStateException: Preference node
" file:_home_svw_.hudson_jobs_ch.arenae.funtrade.client.rcp_wo rkspace_none "
has been removed.

The second one is this:

ERROR [0017] : java.lang.ArrayIndexOutOfBoundsException: -1
ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1


Both errors were generated by the resolver for the same cquery. I have
seen these errors on our hudson (headless buckminster) and also in the
ide. In the ide I usually just repeat the resolve action and then it
works ok.


Regards,
Peter


Here is the complete log of the first kind of error:

INFO: resolve 'ch.arenae.funtrade.client.rcp.site.feature/target.cquery'
WARNING [0007] : Component request
org.junit.source:osgi.bundle/[3.8.2.v20090203-1005,3.8.2.v20 090203-1005]
is inconflict with request
org.junit.source:osgi.bundle/[4.8.1.v4_8_1_v20100114-1600,4. 8.1.v4_8_1_v20100114-1600]
WARNING [0007] : Component request
org.junit:osgi.bundle/[3.8.2.v20090203-1005,3.8.2.v20090203- 1005] is
inconflict with request
org.junit:osgi.bundle/[4.8.1.v4_8_1_v20100114-1600,4.8.1.v4_ 8_1_v20100114-1600]
WARNING [0007] : Component request
org.junit:osgi.bundle/[3.8.2.v20090203-1005,3.8.2.v20090203- 1005] is
inconflict with request org.junit:osgi.bundle/4.8.1
ERROR [0039] : java.lang.IllegalStateException: Preference node
" file:_home_svw_.hudson_jobs_ch.arenae.funtrade.client.rcp_wo rkspace_none "
has been removed.
INFO: TAG-ID 0007 = Query for
ch.arenae.funtrade.client.rcp.target.feature:eclipse.feature , path:
ch.arenae.funtrade.client.rcp.target.feature:eclipse.feature $1.0.0.qualifier
-> org.junit.feature:eclipse.feature$3.8.2.201005141703
TAG-ID 0039 = Query for
ch.arenae.funtrade.client.rcp.target.feature:eclipse.feature , path:
ch.arenae.funtrade.client.rcp.target.feature:eclipse.feature $1.0.0.qualifier
->
org.eclipse.platform:eclipse.feature$3.6.0.v20100602-9gF78Gp qFt6trOGhL60z0oEx3fz-JKNwxPY
-> org.eclipse.rcp:eclipse.feature$3.6.0.v20100519-9OArFKvFtsd7 WLUKh-DcYTS


Here the log of the second kind:

INFO: resolve 'ch.arenae.funtrade.client.rcp.site.feature/target.cquery'
WARNING [0007] : Component request
org.junit.source:osgi.bundle/[4.8.1.v4_8_1_v20100114-1600,4. 8.1.v4_8_1_v20100114-1600]
is inconflict with request
org.junit.source:osgi.bundle/[3.8.2.v20090203-1005,3.8.2.v20 090203-1005]
WARNING [0007] : Component request
org.junit:osgi.bundle/[4.8.1.v4_8_1_v20100114-1600,4.8.1.v4_ 8_1_v20100114-1600]
is inconflict with request
org.junit:osgi.bundle/[3.8.2.v20090203-1005,3.8.2.v20090203- 1005]
ERROR [0017] : java.lang.ArrayIndexOutOfBoundsException: -1
ERROR [0016] : java.lang.ArrayIndexOutOfBoundsException: -1
INFO: TAG-ID 0007 = Query for
ch.arenae.funtrade.client.rcp.target.feature:eclipse.feature , path:
ch.arenae.funtrade.client.rcp.target.feature:eclipse.feature $1.0.0.qualifier
-> org.jmock.feature:eclipse.feature$2.5.1.201005190853
TAG-ID 0016 = Query for
ch.arenae.funtrade.client.rcp.target.feature:eclipse.feature , path:
ch.arenae.funtrade.client.rcp.target.feature:eclipse.feature $1.0.0.qualifier
-> javax.xml.rpc:osgi.bundle$1.1.0.v201005080400 ->
org.apache.xerces:osgi.bundle$2.9.0.v200909240008
TAG-ID 0017 = Query for
ch.arenae.funtrade.client.rcp.target.feature:eclipse.feature , path:
ch.arenae.funtrade.client.rcp.target.feature:eclipse.feature $1.0.0.qualifier
-> ch.arenae.dnp.data.feature:eclipse.feature$2.0.0.N20100823-3 ->
org.apache.axis:osgi.bundle$1.4.0.201005181359
Re: Random errors in resolve step [message #555762 is a reply to message #555089] Sat, 28 August 2010 11:34 Go to previous messageGo to next message
Peter Kullmann is currently offline Peter KullmannFriend
Messages: 240
Registered: July 2009
Senior Member
Now, I was getting this one in the IDE:

Errors and Warnings
E [0181] : java.lang.ArrayIndexOutOfBoundsException: -1: -1
E [0179] : java.lang.ArrayIndexOutOfBoundsException:
java.lang.ArrayIndexOutOfBoundsException


Turning on Debug log level didn't help. No more information was
provided. After the third attempt it resolved ok.

Any idea?

Regards,
Peter
Re: Random errors in resolve step [message #725908 is a reply to message #555762] Fri, 16 September 2011 06:52 Go to previous messageGo to next message
Thorsten Meinl is currently offline Thorsten MeinlFriend
Messages: 85
Registered: July 2009
Member
Hi all,

I'm also experiencing similar problems since a few days. During
resolution I sometimes (not everytime!) get

ERROR [0064] : java.lang.IllegalStateException: Preference node
"file:_dev_null" has been removed.

or

ERROR [0002] : java.lang.ArrayIndexOutOfBoundsException: -1

Unfortunately without any further output on the console or in log files.
I know what caused the problem, but I have no idea why.

What I changed during the last days is that the properties file used
during the import command (via -P) has three additional properties

knime.repos.1=file:/dev/null
knime.repos.2=file:/dev/null
knime.repos.3=file:/dev/null

These properties are referenced in the ressource map in a p2-reader, and
some of them are dynamically set to the locations of p2 repositories
created in a previous build step (I'm using Jenkins).


If I have time, I will try to debug the issue but maybe someone has a
hint or even an idea what is going wrong.

Cheers,

Thorsten


Am 28.08.2010 13:34, schrieb Peter Kullmann:
> Now, I was getting this one in the IDE:
>
> Errors and Warnings
> E [0181] : java.lang.ArrayIndexOutOfBoundsException: -1: -1
> E [0179] : java.lang.ArrayIndexOutOfBoundsException:
> java.lang.ArrayIndexOutOfBoundsException
>
>
> Turning on Debug log level didn't help. No more information was
> provided. After the third attempt it resolved ok.
>
> Any idea?
>
> Regards,
> Peter
Re: Random errors in resolve step [message #726666 is a reply to message #725908] Mon, 19 September 2011 08:18 Go to previous message
Thorsten Meinl is currently offline Thorsten MeinlFriend
Messages: 85
Registered: July 2009
Member
I found the cause: Since resolution during import is done concurrently
in different threads and my three repository placeholders referred to
the same non-existing location one thread removed the repository from a
list while another was just trying to access it. This problem should
really only happen, if one repository is referenced multiple times in an
RMap and it's non-existing. Thus in my case setting the three
placeholder variables to three different locations should fix it.

Am 16.09.2011 08:52, schrieb Thorsten Meinl:
> Hi all,
>
> I'm also experiencing similar problems since a few days. During
> resolution I sometimes (not everytime!) get
>
> ERROR [0064] : java.lang.IllegalStateException: Preference node
> "file:_dev_null" has been removed.
>
> or
>
> ERROR [0002] : java.lang.ArrayIndexOutOfBoundsException: -1
>
> Unfortunately without any further output on the console or in log files.
> I know what caused the problem, but I have no idea why.
>
> What I changed during the last days is that the properties file used
> during the import command (via -P) has three additional properties
>
> knime.repos.1=file:/dev/null
> knime.repos.2=file:/dev/null
> knime.repos.3=file:/dev/null
>
> These properties are referenced in the ressource map in a p2-reader, and
> some of them are dynamically set to the locations of p2 repositories
> created in a previous build step (I'm using Jenkins).
>
>
> If I have time, I will try to debug the issue but maybe someone has a
> hint or even an idea what is going wrong.
>
> Cheers,
>
> Thorsten
>
>
> Am 28.08.2010 13:34, schrieb Peter Kullmann:
>> Now, I was getting this one in the IDE:
>>
>> Errors and Warnings
>> E [0181] : java.lang.ArrayIndexOutOfBoundsException: -1: -1
>> E [0179] : java.lang.ArrayIndexOutOfBoundsException:
>> java.lang.ArrayIndexOutOfBoundsException
>>
>>
>> Turning on Debug log level didn't help. No more information was
>> provided. After the third attempt it resolved ok.
>>
>> Any idea?
>>
>> Regards,
>> Peter
>
Previous Topic:buckminster cant find plugins
Next Topic:[solved] Change site.p2 output path
Goto Forum:
  


Current Time: Tue Mar 19 02:26:00 GMT 2024

Powered by FUDForum. Page generated in 0.03846 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top