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 209392 - AssertionError: DataNode without FileObject in Lookup
Summary: AssertionError: DataNode without FileObject in Lookup
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 53192 210154
  Show dependency tree
 
Reported: 2012-03-09 17:53 UTC by Jesse Glick
Modified: 2012-03-29 06:27 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185473


Attachments
stacktrace (5.78 KB, text/plain)
2012-03-09 17:53 UTC, Jesse Glick
Details
stacktrace (7.62 KB, text/plain)
2012-03-23 21:26 UTC, Jesse Glick
Details
stacktrace (7.62 KB, text/plain)
2012-03-26 09:53 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2012-03-09 17:53:47 UTC
Build: NetBeans IDE Dev (Build 20120308-cb9e08f5027a)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04
OS: Linux

Stacktrace: 
java.lang.AssertionError: DataNode without FileObject in Lookup
   at org.netbeans.modules.java.api.common.project.ui.ActionFilterNode$ActionFilterChildren.createNodes(ActionFilterNode.java:364)
   at org.netbeans.modules.java.api.common.project.ui.ActionFilterNode$ActionFilterChildren.createNodes(ActionFilterNode.java:348)
   at org.openide.nodes.Children$Keys$KE.nodes(Children.java:1661)
   at org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:149)
   at org.openide.nodes.EntrySupport$Default$Info.nodes(EntrySupport.java:943)
   at org.openide.nodes.EntrySupport$Default.justComputeNodes(EntrySupport.java:253)
Comment 1 Jesse Glick 2012-03-09 17:53:50 UTC
Created attachment 116521 [details]
stacktrace
Comment 2 Tomas Zezula 2012-03-12 15:41:05 UTC
Seems as a bug in the DataFolder's node, there is no FileObject in the node's Lookup.
I've added more logging (type of node), jet-main 29134623d8d8.
Comment 3 Quality Engineering 2012-03-15 12:29:28 UTC
Integrated into 'main-golden', will be available in build *201203150400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/29134623d8d8
User: Tomas Zezula <tzezula@netbeans.org>
Log: #209392:AssertionError: DataNode without FileObject in Lookup
Comment 4 Jesse Glick 2012-03-23 21:22:09 UTC
Happened again to me in a dev build, check log.
Comment 5 Jesse Glick 2012-03-23 21:26:00 UTC
Created attachment 117182 [details]
stacktrace

Expanding jsse.jar from JDK in "reduced tree" mode.
Comment 6 Jiri Prox 2012-03-26 09:53:02 UTC
Created attachment 117235 [details]
stacktrace

AE when trying to unfold rt.jar in project view -> project ->Libraries-> JDK 1.7
Comment 7 Tomas Zezula 2012-03-26 11:54:42 UTC
Now it's obvious. Caused by Please Wait.
Comment 8 Tomas Zezula 2012-03-26 13:32:03 UTC
Thanks Jirko, after nearly 3 hours trying it on different OSs I am able to reproduce it.
Has to be in "reduced tree" as Jesse has written in comment #5 but I've overlooked it.
Comment 9 Tomas Zezula 2012-03-26 14:35:43 UTC
Fixed jet-main b80e2ffe220d