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 141483 - [65cat] [65cat][Database Support] DatabaseException: Operation not allowed after ResultSet closed
Summary: [65cat] [65cat][Database Support] DatabaseException: Operation not allowed af...
Status: RESOLVED DUPLICATE of bug 140272
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Vancouvering
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-24 08:23 UTC by marcelheijmans
Modified: 2008-07-24 10:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 79769


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marcelheijmans 2008-07-24 08:23:32 UTC
Build: NetBeans IDE Dev (Build 200807231346)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.0-b11-fastdebug, Java(TM) SE Runtime Environment, 1.6.0_10-beta-fastdebug-b22
OS: Linux, 2.6.22-14-generic, amd64

User Comments: 
After creating a new table (with a CREATE TABLE sql script) you have to update the database tree to show the newly created table.
However when you refresh the tree it does show the new table, but also throws a DatabaseException.

Stacktrace: 
org.netbeans.api.db.explorer.DatabaseException: Operation not allowed after ResultSet closed
        at org.netbeans.modules.db.explorer.infos.TableNodeInfo.initChildren(TableNodeInfo.java:167)
        at org.netbeans.modules.db.explorer.infos.TableNodeInfo.initChildren(TableNodeInfo.java:78)
        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)
Comment 1 Roman Mostyka 2008-07-24 10:36:20 UTC

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