This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 50067 - IndexOutOfBounds from CallableImpl.ParametersListener.change
Summary: IndexOutOfBounds from CallableImpl.ParametersListener.change
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-07 08:51 UTC by Martin Matula
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Matula 2004-10-07 08:51:48 UTC
The following exception was thrown when working
with the IDE (see issue 49101).

java.lang.ArrayIndexOutOfBoundsException: -1

	at java.util.ArrayList.get(ArrayList.java:326)

	at
org.netbeans.modules.java.bridge.CallableImpl$ParametersListener.change(CallableImpl.java:882)

[catch] at
org.netbeans.mdr.util.EventNotifier$EventsDelivery.run(EventNotifier.java:269)

	at java.lang.Thread.run(Thread.java:534)



The line numbers are out of data, but I looked at
the code and IMO the error could relate to lines
790 or 800 of CallableImpl. While findParamIndex
method can return -1, the code does not seem to
check it.
Dan, please look at it.
Comment 1 Daniel Prusa 2004-10-13 09:40:13 UTC
Checking in CallableImpl.java;
/cvs/java/src/org/netbeans/modules/java/bridge/CallableImpl.java,v  <--  
new revision: 1.10; previous revision: 1.9