Donate Share

Trove for Java

Tracker: Support Requests

5 ArrayIndexOutOfBoundsException on TIntObjectHashMap.put() - ID: 2818941
Last Update: Comment added ( sf-robot )

Greets,

Encountering an arrayindexoutofbounds systematically when
- restarting my software (reloading data)
And randomly, when
- hashmap grow ->rehash

Exception follows :

java.lang.ArrayIndexOutOfBoundsException: -1
at gnu.trove.TIntObjectHashMap.rehash(TIntObjectHashMap.java:190)
at gnu.trove.THash.postInsertHook(THash.java:359)
at gnu.trove.TIntObjectHashMap.put(TIntObjectHashMap.java:165)

Using Trove 2.0.3


Laurent Bocquet ( lbocquet ) - 2009-07-09 10:22

5

Closed

None

Nobody/Anonymous

None

None

Public


Comments ( 3 )

Date: 2009-08-04 02:20
Sender: sf-robotSourceForge.net Site Admin

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).


Date: 2009-07-20 21:32
Sender: robedenProject Admin

Due to lack of response, this tracker item is being put into a "pending"
status. It will be automatically closed in 10 days if no further activity
is taken. If you would like this item to remain active, please add a
comment with more information or other explanation.


Date: 2009-07-09 19:13
Sender: robedenProject Admin

This almost always occurs due to access from multiple threads. Can you
provide more details about the use case in which you see the problem? A
test case would be outstanding, but more information will at least be
needed.

If you continue to think it's a bug, please also provide environment (Java
version, OS, etc.) info.

If you are using it in a threaded environment, remember that Trove
collections are not thread safe and so you will need to provide manual
synchronization/locking.

Bumping to "support requests" until we verify the existence of a bug.


Attached File

No Files Currently Attached

Changes ( 7 )

Field Old Value Date By
allow_comments 1 2009-08-04 02:20 sf-robot
status_id Pending 2009-08-04 02:20 sf-robot
close_date 2009-07-20 21:32 2009-08-04 02:20 sf-robot
close_date - 2009-07-20 21:32 robeden
status_id Open 2009-07-20 21:32 robeden
data_type 424683 2009-07-09 19:13 robeden
category_id Correctness 2009-07-09 19:13 robeden