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 210154 - AssertionError: DataNode without FileObject in Lookup
Summary: AssertionError: DataNode without FileObject in Lookup
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on: 209392
Blocks: 53192
  Show dependency tree
 
Reported: 2012-03-26 22:47 UTC by javydreamercsw
Modified: 2012-03-30 12:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186310


Attachments
stacktrace (6.38 KB, text/plain)
2012-03-26 22:47 UTC, javydreamercsw
Details
stacktrace (5.88 KB, text/plain)
2012-03-30 12:14 UTC, crazyjavahacking
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2012-03-26 22:47:13 UTC
Build: NetBeans IDE Dev (Build 201203260401)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7

User Comments:
javydreamercsw: Opening Node in libraries. trying it a second time works fine.




Stacktrace: 
java.lang.AssertionError: DataNode without FileObject in Lookup
   at org.netbeans.modules.apisupport.project.ui.ActionFilterNode$ActionFilterChildren.createNodes(ActionFilterNode.java:176)
   at org.netbeans.modules.apisupport.project.ui.ActionFilterNode$ActionFilterChildren.createNodes(ActionFilterNode.java:160)
   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 javydreamercsw 2012-03-26 22:47:14 UTC
Created attachment 117291 [details]
stacktrace
Comment 2 Jesse Glick 2012-03-29 15:44:16 UTC
core-main #7e4401b0a63a
Comment 3 crazyjavahacking 2012-03-30 12:14:21 UTC
Created attachment 117540 [details]
stacktrace

I have created empty NetBeans RCP module project and create tests using Tools -> Create Tests (JUnit 4).

Then I opened 'Unit Test Libraries' where I opened 'JUnit 4 - org.netbeans.libs.junit4'