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

Summary: [65cat] NullPointerException at org.netbeans.modules.db.dataview.output.SQLStatementExecutor.rollback
Product: db Reporter: sunbiz <sunbiz>
Component: Show DataAssignee: _ ahimanikya <ahimanikya>
Status: VERIFIED FIXED    
Severity: blocker CC: romanmostyka
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=97900
Issue Type: DEFECT Exception Reporter: 97900
Attachments: stacktrace

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.