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 234278 - IllegalArgumentException: Original Node from map {position=101, iconResource=org/netbeans/modules/db/resources/database.gif, name=Databases, original=null, displayName=Databases, instanceCreate=org.op
Summary: IllegalArgumentException: Original Node from map {position=101, iconResource=...
Status: RESOLVED WORKSFORME
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-12 15:51 UTC by Exceptions Reporter
Modified: 2015-06-22 17:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194491


Attachments
stacktrace (4.46 KB, text/plain)
2013-08-12 15:51 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-08-12 15:51:57 UTC
This bug was originally marked as duplicate of bug 186859, 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.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_15-b03
OS: Windows 8

User Comments:
GUEST: we were connecting sql with netbeans

GUEST: tengo insalado opensuse 12.2 y netbeans 6.9, y no me deja ingreasar a prestacions -> base de datos.




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[name=null][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:575)
   at org.openide.nodes.EntrySupport$Default.getArray(EntrySupport.java:770)
   at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:172)
   at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:228)
Comment 1 Exceptions Reporter 2013-08-12 15:51:59 UTC
Created attachment 138600 [details]
stacktrace
Comment 2 Jan Peska 2013-08-19 09:11:50 UTC
it seems the original node instance set in layer xml is null -> reassigning to Databases for further evaluation
Comment 3 matthias42 2015-06-22 17:38:41 UTC
Closing this bug as WORKSFORME. The reporting version is old and was a beta. The node that caused this was the root node of database support (identified by displayName and icon and position). Currently the root node is registered by the SevicesTabNodeRegistration annotation.