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 139902 - org.netbeans.api.db.explorer.DatabaseException: No operations allowed after connection closed.
Summary: org.netbeans.api.db.explorer.DatabaseException: No operations allowed after c...
Status: RESOLVED DUPLICATE of bug 140068
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Vancouvering
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-14 17:08 UTC by Roman Mostyka
Modified: 2008-07-28 23:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 47797


Attachments
stacktrace (2.64 KB, text/plain)
2008-07-14 17:08 UTC, Roman Mostyka
Details
stacktrace (2.69 KB, text/plain)
2008-07-15 12:20 UTC, Roman Mostyka
Details
stacktrace (2.69 KB, text/plain)
2008-07-23 07:58 UTC, yudiset
Details
stacktrace (2.64 KB, text/plain)
2008-07-27 02:12 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2008-07-14 17:08:01 UTC
Build: NetBeans IDE Dev (Build 080714)
VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26
OS: Windows XP, 5.1, x86

User Comments: 
1. Connect to some MySQL DB.
2. Rightclick connection's node and choose "Disconnect".

Result: DatabaseException arises.
Comment 1 Roman Mostyka 2008-07-14 17:08:14 UTC
Created attachment 64454 [details]
stacktrace
Comment 2 Roman Mostyka 2008-07-15 12:20:35 UTC
Build: NetBeans IDE Dev (Build 080714)
VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26
OS: Windows XP, 5.1, x86

User Comments: 
1. Connect to DB.
2. Disconnect after some time.

Result: DatabaseException arises.
Comment 3 Roman Mostyka 2008-07-15 12:20:45 UTC
Created attachment 64547 [details]
stacktrace
Comment 4 yudiset 2008-07-23 07:58:30 UTC
Build: NetBeans IDE Dev (Build 2008-07-23_01-10-24)
VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25
OS: Windows XP, 5.1, x86

User Comments: 
This error occurs after I disconnect a connection to a database and then delete it.
Comment 5 yudiset 2008-07-23 07:58:34 UTC
Created attachment 65313 [details]
stacktrace
Comment 6 sunbiz 2008-07-27 02:12:13 UTC
Build: NetBeans IDE Dev (Build 080725)
VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25
OS: Windows Vista, 6.0, x86

User Comments: 
Disconnecting database connection after truncating contents of a MySQL Table

Stacktrace: 
org.netbeans.api.db.explorer.DatabaseException: No operations allowed after connection closed.
        at org.netbeans.modules.db.explorer.infos.TableListNodeInfo.initChildren(TableListNodeInfo.java:110)
        at org.netbeans.modules.db.explorer.infos.DatabaseNodeInfo.getChildren(DatabaseNodeInfo.java:688)
        at org.netbeans.modules.db.explorer.nodes.DatabaseNode$DatabaseNodeChildFactory.createKeys(DatabaseNode.java:382)
        at org.openide.nodes.AsynchChildren.run(AsynchChildren.java:147)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 7 sunbiz 2008-07-27 02:12:23 UTC
Created attachment 65736 [details]
stacktrace
Comment 8 Roman Mostyka 2008-07-28 17:05:55 UTC
It occurs all the time now, so increase priority to P2.
Comment 9 David Vancouvering 2008-07-28 23:56:57 UTC

*** This issue has been marked as a duplicate of 140068 ***