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 179020 - [69cat] IllegalArgumentException: Original Node from map {position=489, iconResource=org/netbeans/modules/kenai/ui/resources/kenai-small.png, name=kenai, original=null, displayName=Kenai Instances, instanceCr
Summary: [69cat] IllegalArgumentException: Original Node from map {position=489, iconR...
Status: RESOLVED DUPLICATE of bug 185666
Alias: None
Product: platform
Classification: Unclassified
Component: Nodes (show other bugs)
Version: 6.x
Hardware: All All
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-24 03:39 UTC by krzychukula
Modified: 2010-05-13 09:15 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 163898


Attachments
stacktrace (6.01 KB, text/plain)
2009-12-24 03:39 UTC, krzychukula
Details
stacktrace (6.01 KB, text/plain)
2009-12-24 03:40 UTC, krzychukula
Details
stacktrace (5.46 KB, text/plain)
2010-05-12 14:55 UTC, Michel Graciano
Details
stacktrace (5.46 KB, text/plain)
2010-05-12 17:13 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description krzychukula 2009-12-24 03:39:33 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-4582-on-091223)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.31-16-generic, i386

User Comments:
krzychukula: After updated to new Kenai UI



Stacktrace: 
java.lang.IllegalArgumentException: Original Node from map {position=489, iconResource=org/netbeans/modules/kenai/ui/resources/kenai-small.png, name=kenai, original=null, displayName=Kenai Instances, instanceCreate=org.openide.nodes.LazyNode@15c049d[Name=kenai, displayName=Kenai Instances]} is null
   at org.openide.nodes.LazyNode.switchToOriginal(LazyNode.java:82)
   at org.openide.nodes.LazyNode$SwitchChildren.addNotify(LazyNode.java:104)
   at org.openide.nodes.Children.callAddNotify(Children.java:548)
   at org.openide.nodes.EntrySupport$Default.getArray(EntrySupport.java:744)
   at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:166)
   at org.openide.nodes.EntrySupport$Default.getNodes(EntrySupport.java:222)
Comment 1 krzychukula 2009-12-24 03:39:37 UTC
Created attachment 92900 [details]
stacktrace
Comment 2 krzychukula 2009-12-24 03:40:36 UTC
Created attachment 92901 [details]
stacktrace
Comment 3 Jaroslav Tulach 2010-04-12 19:50:30 UTC
Some problem related to Kenai node.
Comment 4 Jan Becicka 2010-04-13 12:55:14 UTC
I do not see kenai code on stack trace and Exception itself does not make sense te me. Please evaluate properly. Thanks.
Comment 5 Jaroslav Tulach 2010-04-20 12:22:33 UTC
Node provided by some Kenai module cannot be created. As the exception says "original = null", it should be non-null.

The reasons seem to be quite unrelated to anything in platform/nodes. See the messages.log file (full of CNFE) to learn details and evalute yourself.
Comment 6 Jan Becicka 2010-04-20 12:35:09 UTC
should be already fixed. Probably caused by wrong version of module.
Comment 7 Michel Graciano 2010-05-12 14:39:57 UTC
Well, I've faced this since yesterday which avoid use Database inside the IDE.
Comment 8 Jan Becicka 2010-05-12 14:45:55 UTC
Michel, please attach messages.log
Comment 9 Jan Becicka 2010-05-12 14:51:42 UTC
I see messages log available at http://statistics.netbeans.org/exceptions/messageslog?id=386043

The problem seems to be in NPE from db.explorer
java.lang.NullPointerException
	at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor$Handler.startElement(DatabaseConnectionConvertor.java:490)
Comment 10 Michel Graciano 2010-05-12 14:55:25 UTC
Created attachment 98868 [details]
stacktrace

When try to expand the Databses node
Comment 11 Exceptions Reporter 2010-05-12 14:55:35 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=163898
Comment 12 Michel Graciano 2010-05-12 14:57:01 UTC
(In reply to comment #8)
> Michel, please attach messages.log
You can see the details here http://statistics.netbeans.org/exceptions/detail.do?id=163898
Looks it is related to #185929. Feel free to close if it is really related.

Thanks
Comment 13 Jiri Rechtacek 2010-05-12 15:18:04 UTC
I don't see any relation with db code, reassigned to nodes.
Comment 14 Michel Graciano 2010-05-12 17:13:27 UTC
Created attachment 98887 [details]
stacktrace
Comment 15 Jiri Rechtacek 2010-05-13 07:55:32 UTC
Honza Becicka noted some of exceptions may be caused by NPE at DatabaseConnectionConvertor$Handler.startElement(DatabaseConnectionConvertor.java:490)
It's tracked as issue 185666. I fixed it right now.
core-main/rev/b847127d524b
Comment 16 Jiri Rechtacek 2010-05-13 09:15:03 UTC
Evaluation: it's caused by NPE in DatabaseConnectionConvertor, tracked as issue 185666. Should be fixed in tomorrow's build (2010/05/14).

*** This bug has been marked as a duplicate of bug 185666 ***