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 171567 - NullPointerException at org.netbeans.modules.db.explorer.DatabaseConnection.selectInExplorer
Summary: NullPointerException at org.netbeans.modules.db.explorer.DatabaseConnection.s...
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL: http://statistics.netbeans.org/except...
Keywords:
: 173709 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-06 11:26 UTC by Tomas Mysik
Modified: 2009-10-05 09:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 157923


Attachments
stacktrace (1.84 KB, text/plain)
2009-09-06 11:26 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2009-09-06 11:26:20 UTC
Build: NetBeans IDE Dev (Build 200908022240)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.28-15-generic, amd64

User Comments:
tmysik: - select text in SQL file
- Run Selection



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.db.explorer.DatabaseConnection.selectInExplorer(DatabaseConnection.java:910)
        at org.netbeans.modules.db.explorer.node.ConnectionNodeProvider.initialize(ConnectionNodeProvider.java:123)
        at org.netbeans.api.db.explorer.node.NodeProvider.getNodes(NodeProvider.java:103)
        at org.netbeans.modules.db.explorer.node.NodeRegistry.getNodes(NodeRegistry.java:149)
        at org.netbeans.api.db.explorer.node.BaseNode.getChildNodes(BaseNode.java:239)
        at org.netbeans.modules.db.explorer.DatabaseConnection.findConnectionNode(DatabaseConnection.java:970)
Comment 1 Tomas Mysik 2009-09-06 11:26:26 UTC
Created attachment 87169 [details]
stacktrace
Comment 2 Jiri Rechtacek 2009-09-07 09:31:18 UTC
Changeset: http://hg.netbeans.org/main-golden/rev/e8da9e0f6cc2
User: Jiri Rechtacek <jrechtacek@netbeans.org>
The fix is available since Dev build 200908211401.
Comment 3 Jiri Rechtacek 2009-10-05 09:54:10 UTC
*** Issue 173709 has been marked as a duplicate of this issue. ***