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 87668 - A file removed externally still opened in the editor
Summary: A file removed externally still opened in the editor
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexey Butenko
Depends on: 48263
  Show dependency tree
Reported: 2006-10-20 17:46 UTC by Andrei Badea
Modified: 2009-02-19 22:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

Stack trace (1.18 KB, text/plain)
2006-10-20 17:47 UTC, Andrei Badea

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Badea 2006-10-20 17:46:18 UTC
1. Have a NetBeans module project
2. Open its in the editor
3. Remove externally, return to NetBeans.

ERROR: the file is removed from the logical view, but it stays opened in the 

4. Right-click the editor, invoke Select in | Projects.

ERROR: AssertionError is thrown.
Comment 1 Andrei Badea 2006-10-20 17:47:56 UTC
Created attachment 35427 [details]
Stack trace
Comment 2 Jesse Glick 2006-10-20 20:27:03 UTC
I have seen this happen as well, to random .properties files. Probably yet
another bug caused by the weird DataObject setup in the properties module. When
will this be rewritten? Can I do it? :-)
Comment 3 Marian Petras 2007-01-16 16:14:19 UTC
Yes, it seems to be caused by the weird setup, indeed. I do not know when it
will be rewritten, I have no plan for it at the moment (I also maintain JUnit,
Utilities, Image and I18N)

I do not mind if you do it yourself. Just expect a lot of work and bear in mind
that module Internationalization depends on Properties so there is a friend API
between these two modules.
Comment 4 Alexey Butenko 2009-02-02 09:13:47 UTC
Changeset 8d2ffb09b0e3