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 198091 - NullPointerException at org.netbeans.modules.db.explorer.node.ProcedureNode.getIconBase
Summary: NullPointerException at org.netbeans.modules.db.explorer.node.ProcedureNode.g...
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-26 15:14 UTC by michele.mazzei
Modified: 2011-10-20 14:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 178116


Attachments
stacktrace (1.37 KB, text/plain)
2011-04-26 15:14 UTC, michele.mazzei
Details
stacktrace (2.73 KB, text/plain)
2011-10-05 08:04 UTC, paolosca
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michele.mazzei 2011-04-26 15:14:43 UTC
This bug was originally marked as duplicate of bug 192387, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0 (Build 201104080000)
VM: OpenJDK 64-Bit Server VM, 19.0-b09, OpenJDK Runtime Environment, 1.6.0_20-b20
OS: Linux

User Comments:
michele.mazzei: connect to an Informix DB.
On the Services panel, click on the informix node, then click on the Procedures node.
The node remains in "Please Wait..." and this error occurred




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.db.explorer.node.ProcedureNode.getIconBase(ProcedureNode.java:178)
   at org.netbeans.api.db.explorer.node.BaseNode.updateProperties(BaseNode.java:264)
   at org.netbeans.api.db.explorer.node.BaseNode.setup(BaseNode.java:207)
   at org.netbeans.modules.db.explorer.node.ProcedureNode.create(ProcedureNode.java:107)
   at org.netbeans.modules.db.explorer.node.ProcedureNodeProvider$1.run(ProcedureNodeProvider.java:132)
   at org.netbeans.modules.db.explorer.node.ProcedureNodeProvider$1.run(ProcedureNodeProvider.java:115)
Comment 1 michele.mazzei 2011-04-26 15:14:47 UTC
Created attachment 107948 [details]
stacktrace
Comment 2 paolosca 2011-10-05 08:04:21 UTC
Created attachment 111504 [details]
stacktrace

Executing a postgres query from sql editor, query was teking too long so I killed it with the console.
I actually did it several times in the past 15 minutes, this is the first time it rises an exception.
Comment 3 Jiri Rechtacek 2011-10-19 14:55:26 UTC
core-main/rev/21f85a185176
Comment 4 Quality Engineering 2011-10-20 14:27:20 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/21f85a185176
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #198091: NPE at org.netbeans.modules.db.explorer.node.ProcedureNode.getIconBase