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 127475 - deleted file does not disappear from logical view
Summary: deleted file does not disappear from logical view
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords: RANDOM, REGRESSION
Depends on:
Blocks:
 
Reported: 2008-02-15 14:21 UTC by Lukas Jungmann
Modified: 2008-02-29 13:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (169.99 KB, image/png)
2008-02-15 14:22 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2008-02-15 14:21:37 UTC
-invoke Delete action on the persistence.xml node in project logical view

=> file is deleted, but still visible in project logical view and user can still "work" with it (well, if (s)he bypass
some exceptions like:
WARNING [org.openide.loaders.DataObject]
java.lang.IllegalStateException: The data object /tmp/FromEntities/src/conf/persistence.xml is invalid; you may not call
getNodeDelegate on it any more; see #17020 and please fix your code
[catch] at org.openide.loaders.DataObject.getNodeDelegate(DataObject.java:267)
        at org.netbeans.modules.xml.multiview.ToolBarMultiViewElement.getLookup(ToolBarMultiViewElement.java:137)
...
)

Same appplies also for *.dbschema file
Comment 1 Lukas Jungmann 2008-02-15 14:22:59 UTC
Created attachment 56732 [details]
screenshot
Comment 2 Andrei Badea 2008-02-25 14:04:29 UTC
Randomly reproducible (i.e., not under the debugger).
Comment 3 Andrei Badea 2008-02-25 16:03:52 UTC
Now not reproducible at all, so downgrading. Please let me know if you can still reproduce in a recent daily build. Thanks.
Comment 4 Andrei Badea 2008-02-29 13:58:55 UTC
Hopefully fixed in dbce534558c8.