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

Summary: deleted file does not disappear from logical view
Product: javaee Reporter: Lukas Jungmann <jungi>
Component: PersistenceAssignee: Andrei Badea <abadea>
Status: RESOLVED FIXED    
Severity: blocker Keywords: RANDOM, REGRESSION
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

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.