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

Summary: AssertionError: DataNode without FileObject in Lookup
Product: apisupport Reporter: javydreamercsw <javydreamercsw>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal CC: crazyjavahacking
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 186310
Bug Depends on: 209392    
Bug Blocks: 53192    
Attachments: stacktrace
stacktrace

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'