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 255073 - IllegalArgumentException: Called DataObject.find on null
Summary: IllegalArgumentException: Called DataObject.find on null
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-07 23:37 UTC by skygo
Modified: 2015-09-16 13:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 219769


Attachments
stacktrace (2.25 KB, text/plain)
2015-09-07 23:37 UTC, skygo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description skygo 2015-09-07 23:37:10 UTC
Build: NetBeans IDE Dev (Build 201509070002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 10

User Comments:
skygo: removing file via OS within project opened in netbeans




Stacktrace: 
java.lang.IllegalArgumentException: Called DataObject.find on null
   at org.openide.loaders.DataObject.find(DataObject.java:608)
   at org.netbeans.modules.apisupport.project.ui.ImportantFilesNodeFactory$ImportantFilesChildren.createNodes(ImportantFilesNodeFactory.java:254)
   at org.netbeans.modules.apisupport.project.ui.ImportantFilesNodeFactory$ImportantFilesChildren.createNodes(ImportantFilesNodeFactory.java:192)
   at org.openide.nodes.Children$Keys$KE.nodes(Children.java:1679)
   at org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:149)
   at org.openide.nodes.EntrySupportDefault$Info.nodes(EntrySupportDefault.java:805)
Comment 1 skygo 2015-09-07 23:37:17 UTC
Created attachment 155950 [details]
stacktrace
Comment 2 Ondrej Vrabec 2015-09-08 08:49:40 UTC
Fix: http://hg.netbeans.org/core-main/rev/740616b9f7e2
Comment 3 Ondrej Vrabec 2015-09-08 08:51:24 UTC
Fix: http://hg.netbeans.org/core-main/rev/d9cd55a6f3e1
Comment 4 Quality Engineering 2015-09-10 01:29:17 UTC
Integrated into 'main-silver', will be available in build *201509100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/740616b9f7e2
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #255073 - IllegalArgumentException: Called DataObject.find on null
Do not search for DO when the file has been deleted in the menatime.
Comment 5 skygo 2015-09-16 13:14:28 UTC
Tested more or less the same way. it works well