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.
This bug was originally marked as duplicate of bug 185666, 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-5216-on-100521) VM: Java HotSpot(TM) Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Linux User Comments: akochnev: Trying to expand databases node in Services Stacktrace: java.lang.IllegalArgumentException: Original Node from map {position=101, iconResource=org/netbeans/modules/db/resources/database.gif, name=Databases, original=null, displayName=Databases, instanceCreate=org.openide.nodes.LazyNode@1af24e2[Name=Databases, displayName=Databases]} is null at org.openide.nodes.LazyNode.switchToOriginal(LazyNode.java:85) at org.openide.nodes.LazyNode$SwitchChildren.addNotify(LazyNode.java:107) at org.openide.nodes.Children.callAddNotify(Children.java:554) at org.openide.nodes.EntrySupport$Default.getArray(EntrySupport.java:758) at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:169) at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:225)
Created attachment 99580 [details] stacktrace
Look at the exception report's messages.log file. There are some exceptions from the db.RootNode creation associated with access to keystore: INFO [org.netbeans.core.startup.layers.BinaryFS]: value = org.netbeans.modules.db.explorer.node.RootNode.instance from UI/Runtime/org-netbeans-modules-db-explorer-node-RootNode-instance.instance org.netbeans.modules.keyring.kde.KWalletProvider$KwalletException: error while trying to access KWallet, during save at org.netbeans.modules.keyring.kde.KWalletProvider.save(KWalletProvider.java:96) at org.netbeans.api.keyring.Keyring.save(Keyring.java:110) at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor$Handler.startElement(DatabaseConnectionConvertor.java:493) I guess they are the main reason why the Databases node is not created. Is it wise to store something into keyring, when just creating a node?
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=170230
It's should be fixed in recent daily builds - changeset http://hg.netbeans.org/main/rev/4762e7ec74bf. Integrated into 'main-golden', will be available in build *201104080400* on http://bits.netbeans.org/dev/nightly/
PROBLEM IS STILL THERE
Created attachment 111078 [details] stacktrace Have two Hudson Builders nodes in Services tab.
Created attachment 111488 [details] stacktrace
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/1264cfa5ce3d User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #197930: CCE: org.netbeans.modules.db.explorer.node.DriverListNode cannot be cast to java.lang.Comparable