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 176722 - NullPointerException at org.netbeans.modules.db.explorer.dlg.AddTableColumnDialog.updateState
Summary: NullPointerException at org.netbeans.modules.db.explorer.dlg.AddTableColumnDi...
Status: RESOLVED WORKSFORME
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Skrivanek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-12 12:32 UTC by malakim
Modified: 2009-11-13 02:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 161017


Attachments
stacktrace (6.61 KB, text/plain)
2009-11-12 12:32 UTC, malakim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description malakim 2009-11-12 12:32:15 UTC
Build: NetBeans IDE Dev (Build 200911091156)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02-90, Java(TM) SE Runtime Environment, 1.6.0_15-b03-219
OS: Mac OS X, 10.6.2, x86_64

User Comments:
malakim: Creating a database table on a remote server

GUEST: I was adding a column to a new MySQL table.  I selected INT for the column type, and then edited the selection of the column type and selected the blank option.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.db.explorer.dlg.AddTableColumnDialog.updateState(AddTableColumnDialog.java:481)
        at org.netbeans.modules.db.explorer.dlg.AddTableColumnDialog.access$000(AddTableColumnDialog.java:85)
        at org.netbeans.modules.db.explorer.dlg.AddTableColumnDialog$2.actionPerformed(AddTableColumnDialog.java:194)
        at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1240)
        at javax.swing.JComboBox.setSelectedItem(JComboBox.java:567)
        at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:599)
Comment 1 malakim 2009-11-12 12:32:19 UTC
Created attachment 90941 [details]
stacktrace
Comment 2 Jiri Skrivanek 2009-11-13 02:45:19 UTC
I can't reproduce it. Please, reopen this issue if you have steps to repeat.