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 230226 - 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: 7.3.1
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-24 11:05 UTC by Ralph Ruijs
Modified: 2013-05-28 08:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 200895


Attachments
stacktrace (614 bytes, text/plain)
2013-05-24 11:05 UTC, Ralph Ruijs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Ruijs 2013-05-24 11:05:29 UTC
Build: NetBeans IDE 7.3.1 RC (Build 201305162200)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b25, Java(TM) SE Runtime Environment, 1.7.0_12-ea-b02
OS: Mac OS X

User Comments:
ralphbenjamin: Invoked add column on a table in a mysql database




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.db.explorer.dlg.AddTableColumnDialog.updateState(AddTableColumnDialog.java:503)
   at org.netbeans.modules.db.explorer.dlg.AddTableColumnDialog.setDescriptor(AddTableColumnDialog.java:587)
   at org.netbeans.modules.db.explorer.dlg.AddTableColumnDialog.showDialogAndCreate(AddTableColumnDialog.java:647)
   at org.netbeans.modules.db.explorer.action.AddColumnAction$1.run(AddColumnAction.java:87)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2044)
Comment 1 Ralph Ruijs 2013-05-24 11:05:30 UTC
Created attachment 134854 [details]
stacktrace
Comment 2 Jaroslav Havlin 2013-05-27 17:10:37 UTC
I cannot reproduce the bug. Does it appear randomly, or every time you try to add a column?
Thank you.
Comment 3 Ralph Ruijs 2013-05-28 08:24:30 UTC
(In reply to comment #2)
> I cannot reproduce the bug. Does it appear randomly, or every time you try to
> add a column?
> Thank you.

It was happening every time I tried to add a column, but it seems to work fine in 7.3.1 and dev-build today. I will reopen if it happens again and I have some more info about how to reproduce.