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 71041 - DataObjectNotFoundException when deleting java files
Summary: DataObjectNotFoundException when deleting java files
Status: VERIFIED DUPLICATE of bug 66713
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2006-01-05 13:33 UTC by Milan Kubec
Modified: 2006-01-09 09:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exc stack trace (1.76 KB, text/plain)
2006-01-05 13:34 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2006-01-05 13:33:31 UTC
[dev-200601041900, JDK 1.5.0_06]

I had j2seproject with two source roots and one package under each of them, I
was doing some refactoring operations that moved parts of those classes between
those source roots. Then I selected all classes under both source roots and
deleted them - I got DataObjectNotFoundException.

java.lang.Error: org.openide.loaders.DataObjectNotFoundException:
MasterFileObject@158aac4[E:/work/testprojects/JavaApplication12/src2/org/pkg2/SuperClass.java]
	at
org.netbeans.spi.project.support.ant.GlobFileBuiltQuery$StatusImpl.<init>(GlobFileBuiltQuery.java:201)
	at
org.netbeans.spi.project.support.ant.GlobFileBuiltQuery.createStatus(GlobFileBuiltQuery.java:184)
	at
org.netbeans.spi.project.support.ant.GlobFileBuiltQuery.getStatus(GlobFileBuiltQuery.java:108)
	at
org.netbeans.modules.java.j2seproject.J2SEFileBuiltQuery.getStatus(J2SEFileBuiltQuery.java:51)
...
Comment 1 Milan Kubec 2006-01-05 13:34:02 UTC
Created attachment 28201 [details]
exc stack trace
Comment 2 Jesse Glick 2006-01-05 17:17:01 UTC

*** This issue has been marked as a duplicate of 66713 ***
Comment 3 Marian Mirilovic 2006-01-09 09:22:26 UTC
verified duplicate