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 189163

Summary: NullPointerException at org.netbeans.modules.db.explorer.node.ColumnNode$1.run
Product: db Reporter: mklaehn <mklaehn>
Component: CodeAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 171702
Attachments: stacktrace

Description mklaehn 2010-08-03 13:37:22 UTC
This bug was originally marked as duplicate of bug 160809, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build nbms-and-javadoc-5447-on-100712)
VM: Java HotSpot(TM) Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

User Comments:
mklaehn: just one connected database. no opened views requiring the database.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.db.explorer.node.ColumnNode$1.run(ColumnNode.java:151)
   at org.netbeans.modules.db.explorer.node.ColumnNode$1.run(ColumnNode.java:133)
   at org.netbeans.modules.db.metadata.model.JDBCConnMetadataModel.runReadAction(JDBCConnMetadataModel.java:97)
   at org.netbeans.modules.db.metadata.model.api.MetadataModel.runReadAction(MetadataModel.java:92)
   at org.netbeans.modules.db.explorer.node.ColumnNode.setupNames(ColumnNode.java:132)
   at org.netbeans.modules.db.explorer.node.ColumnNode.initialize(ColumnNode.java:124)
Comment 1 mklaehn 2010-08-03 13:37:26 UTC
Created attachment 101163 [details]
stacktrace
Comment 2 Jiri Rechtacek 2010-10-14 14:41:37 UTC
Changeset: bb9eeadf84cc
Author:    Jiri Rechtacek <jrechtacek@netbeans.org>
Date:      2010-10-14 16:32
Message:   #189163: NPE at org.netbeans.modules.db.explorer.node.ColumnNode$1.run
Issue #189163 - NullPointerException at org.netbeans.modules.db.explorer.node.ColumnNode$1.run
Comment 3 Quality Engineering 2010-10-15 02:56:52 UTC
Integrated into 'main-golden', will be available in build *201010150000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/bb9eeadf84cc
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #189163: NPE at org.netbeans.modules.db.explorer.node.ColumnNode$1.run
Issue #189163 - NullPointerException at org.netbeans.modules.db.explorer.node.ColumnNode$1.run
Comment 4 Jiri Rechtacek 2011-03-25 09:34:13 UTC
fixed again after 7.0, core-main/rev/018efca2ba2a