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 144963 - [65cat] NullPointerException at org.netbeans.modules.db.dataview.output.SQLStatementExecutor.rollback
Summary: [65cat] NullPointerException at org.netbeans.modules.db.dataview.output.SQLSt...
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ ahimanikya
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-24 22:52 UTC by sunbiz
Modified: 2008-09-10 17:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 97900


Attachments
stacktrace (647 bytes, text/plain)
2008-08-24 22:52 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 22:52:17 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b28
OS: Windows Vista, 6.0, x86

User Comments: 
Steps to reproduce:
1.) Connect to sakila database
2.) View Data from actor table
3.) right-click on table and select truncate table
4.) Database connection dialog with pass dialog comes up, since password is not saved
5.) Press cancel on the dialog and the exception is thrown

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.db.dataview.output.SQLStatementExecutor.rollback(SQLStatementExecutor.java:178)
        at org.netbeans.modules.db.dataview.output.SQLStatementExecutor.commitOrRollback(SQLStatementExecutor.java:136)
        at org.netbeans.modules.db.dataview.output.SQLExecutionHelper$4.finished(SQLExecutionHelper.java:369)
        at org.netbeans.modules.db.dataview.output.SQLStatementExecutor.run(SQLStatementExecutor.java:107)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 sunbiz 2008-08-24 22:52:22 UTC
Created attachment 68204 [details]
stacktrace
Comment 2 _ ahimanikya 2008-08-28 21:32:12 UTC
http://hg.netbeans.org/main/rev/068c03300a77
Comment 3 Quality Engineering 2008-08-30 05:36:29 UTC
Integrated into 'main-golden', available in build *200808300201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/068c03300a77
User: ahimanikya@netbeans.org
Log: #144963 [65cat] NullPointerException at org.netbeans.modules.db.dataview.output.SQLStatementExecutor.rollback
Comment 4 Roman Mostyka 2008-09-10 17:24:45 UTC
Verified with build 080909.