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 202177

Summary: IllegalArgumentException: Original Node from map {position=400, iconResource=org/netbeans/modules/server/ui/resources/servers.png, shortDescription=Servers registered in the IDE, name=servers, origina
Product: db Reporter: Exceptions Reporter <exceptions_reporter>
Component: CodeAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED WORKSFORME    
Severity: normal CC: biness, jrechtacek, trandinhcung
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 181165
Attachments: stacktrace

Description Exceptions Reporter 2011-09-15 11:20:24 UTC
This issue was reported manually by jrechtacek.
It already has 3 duplicates 


Build: NetBeans IDE 7.0.1 (Build 201107282000)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Linux

Stacktrace: 
java.lang.IllegalArgumentException: Original Node from map {position=400, iconResource=org/netbeans/modules/server/ui/resources/servers.png, shortDescription=Servers registered in the IDE, name=servers, original=null, displayName=Servers, instanceCreate=org.openide.nodes.LazyNode@a7634[Name=servers, displayName=Servers]} is null
   at org.openide.nodes.LazyNode.switchToOriginal(LazyNode.java:85)
   at org.openide.nodes.LazyNode$SwitchChildren.getNodesCount(LazyNode.java:119)
   at org.openide.explorer.view.TreeView$6.run(TreeView.java:1005)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
Comment 1 Exceptions Reporter 2011-09-15 11:20:29 UTC
Created attachment 110784 [details]
stacktrace
Comment 2 Petr Hejl 2011-10-19 08:54:47 UTC
I have no idea what is this issue about. The message might be clear to author of the lazyness...
Comment 3 Jaroslav Tulach 2011-11-03 07:53:42 UTC
You need to look into the messages.log files. For example this one 
http://statistics.netbeans.org/exceptions/messageslog?id=526786
shows that there is probably a deadlock in RootNode.getInstance:

INFO [org.netbeans.core.CLIOptions2]: EQ stuck in Thread[AWT-EventQueue-1,6,IDE Main]
org.netbeans.core.CLIOptions2$EQStuck: GUI is not responsive
org.netbeans.modules.server.ui.node.RootNode.getInstance(RootNode.java:106)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Comment 4 Petr Hejl 2011-11-08 10:48:01 UTC
I don't see a deadlock in the source code. Reporter, can you provide thread dump?
Comment 5 anup.pather 2012-03-04 07:09:01 UTC
my database is not working in netbeans 7.0 please solve my database problem
Comment 6 dwfpmproject 2012-06-17 01:12:27 UTC
I just encountered the same problem. Is there some form of work around?
Comment 7 java2decore 2012-11-25 17:00:14 UTC
Please i need the solution to these problem urgently..cos i am unable to open the database panel and i do get the summary as the error report..and. i have installl and re-install several time.... and i have to finish up a project as soon as possible.thanks
Comment 8 Petr Hejl 2012-11-25 17:07:06 UTC
(In reply to comment #7)
> Please i need the solution to these problem urgently..cos i am unable to open
> the database panel and i do get the summary as the error report..and. i have
> installl and re-install several time.... and i have to finish up a project as
> soon as possible.thanks

Please provide a thread dump and detail steps to reproduce.
Comment 9 Petr Hejl 2012-12-04 15:34:38 UTC
Reports contains lot of unrelated issues resulting in this IAE. Most of them (and user comment) are about DB node. Perhaps it has been resolved already, there are no new reports in 7.2, 7.3.
Comment 10 Jaroslav Havlin 2012-12-05 16:50:56 UTC
> Perhaps it has been resolved already, there are no new reports in 7.2, 7.3.
I cannot reproduce it in development build. The bug has been probably already fixed.
Closing. Please reopen this issue if you can reproduce the problem in NetBeans 7.3 beta 2 or in the latest development build. Thank you.