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 144952 - [65cat] NullPointerException at org.netbeans.modules.db.explorer.dlg.SchemaPanel$4.run
Summary: [65cat] NullPointerException at org.netbeans.modules.db.explorer.dlg.SchemaPa...
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rob Englander
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-24 14:06 UTC by sunbiz
Modified: 2008-08-25 12:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 97736


Attachments
stacktrace (2.58 KB, text/plain)
2008-08-24 14:06 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2008-08-24 14:06:05 UTC
Build: NetBeans IDE Dev (Build 200808240201)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.25.11-0.1-pae, i386

User Comments: 
Steps to reproduce:
1.) Create New java Application -> Database Application
2.) Give a project name and click next
3.) Select from the dropdown, New Connection
4.) Without any changes, cancel the New Connection dialog... will throw the exception

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.db.explorer.dlg.SchemaPanel$4.run(SchemaPanel.java:312)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
Comment 1 sunbiz 2008-08-24 14:06:14 UTC
Created attachment 68191 [details]
stacktrace
Comment 2 Rob Englander 2008-08-24 17:47:13 UTC
98eb5fe9b63b
Comment 3 Quality Engineering 2008-08-25 05:31:14 UTC
Integrated into 'main-golden', available in build *200808250201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/98eb5fe9b63b
User: Rob Englander <mindstream@netbeans.org>
Log: #144952 Ensure that the progress components exist before attempting to clear them upon user initiated Cancel.
Comment 4 Roman Mostyka 2008-08-25 12:17:31 UTC
Verified with build 080825.