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 137380 - ArrayIndexOutOfBoundsException when trying to create sample MySQL database
Summary: ArrayIndexOutOfBoundsException when trying to create sample MySQL database
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: David Vancouvering
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 06:25 UTC by David Vancouvering
Modified: 2008-08-19 02:12 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 David Vancouvering 2008-06-17 06:25:16 UTC
- Connect to MySQL in MySQL Server node
- Choose Create Database...
- Try to pick one of the sample databases

Get

java.lang.ArrayIndexOutOfBoundsException: -1
	at org.netbeans.modules.db.mysql.ui.CreateDatabasePanel$DatabaseComboModel.getElementAt(CreateDatabasePanel.java:501)
	at apple.laf.CUIAquaComboBox$CoreAquaItemListener.itemStateChanged(CUIAquaComboBox.java:73)
	at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1162)

No workaround that I can see - this feature just doesn't work.  I wonder how long this has been like this.
Comment 1 David Vancouvering 2008-06-17 18:26:11 UTC
http://hg.netbeans.org/main?cmd=changeset;node=7cb7ebb68838
Comment 2 Roman Mostyka 2008-06-19 18:31:58 UTC
Verified with build 080619.