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 7770 - Clicking to the right of columns in the bundle editor yields ArrayOutOfBounds exception
Summary: Clicking to the right of columns in the bundle editor yields ArrayOutOfBounds...
Status: CLOSED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 3.x
Hardware: Other Other
: P4 normal (vote)
Assignee: issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-09-28 16:47 UTC by Ross Judson
Modified: 2003-07-01 14:20 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 Ross Judson 2000-09-28 16:47:11 UTC
The mouseclicked method should check to see if the click is off the table.
Another possibility is that the programmer expects that the columns should fill
the view.  There may be cases when this is not so.


Thu Sep 28 11:39:00 EDT 2000java.lang.ArrayIndexOutOfBoundsException: -1 < 0
java.lang.ArrayIndexOutOfBoundsException: -1 < 0
        at java.util.Vector.elementAt(Vector.java:427)
        at javax.swing.table.DefaultTableColumnModel.getColumn
(DefaultTableColumnModel.java:276)
        at org.netbeans.modules.properties.BundleEditPanel$10.mouseClicked
(BundleEditPanel.java:307)
        at java.awt.AWTEventMulticaster.mouseClicked
(AWTEventMulticaster.java:211)
        at java.awt.Component.processMouseEvent(Component.java:3720)
        at java.awt.Component.processEvent(Component.java:3546)
        at java.awt.Container.processEvent(Container.java:1164)
        at java.awt.Component.dispatchEventImpl(Component.java:2595)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:2451)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2230)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:912)
        at java.awt.Component.dispatchEvent(Component.java:2499)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
        at java.awt.EventDispatchThread.pumpOneEvent
(EventDispatchThread.java:103)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Comment 1 Peter Zavadsky 2000-10-11 13:58:59 UTC
This is bug related [main trunk] only.
Fixed.
Comment 2 vnemec 2000-10-18 15:24:59 UTC
verified in [main trunk](nb50)
Comment 3 Quality Engineering 2003-07-01 14:20:19 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.