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 7023 - Errors during parsing on CVS managed, locally removed file.
Summary: Errors during parsing on CVS managed, locally removed file.
Status: CLOSED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-07-11 12:49 UTC by Petr Nejedly
Modified: 2007-09-26 09:14 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (100.88 KB, text/plain)
2001-07-20 20:39 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Nejedly 2000-07-11 12:49:00 UTC
It would be better to not try at all to parse file which is locally
removed (i.e. No file, but shown in explorer)

Steps to reproduce: using CVS, checkout some file, remove it locally,
schedule it to remove from CVS (cvs remove file), do NOT commit, click
on it in explorer.
Comment 1 Svata Dedic 2000-07-11 13:14:59 UTC
It is quite difficult to test for that file, since its FileObject exists and is
valid. The fact that the file is not readable is discovered when the parser
tries to read it.
If we change the behaviour so that status of locally removed files will be `not
parsed', unreadable files (e.g. user doesn't have permissions to read it) will
remain marked as not parsed too.
Comment 2 dmladek 2000-08-09 11:12:59 UTC
[1074CE]
JDK1.3.0.Beta-b07
==================
it's still last on CVS FS (and possibly on others GenericVCS FS).
Comment 3 dmladek 2000-08-15 11:12:59 UTC
Created attachment 94 [details]
IDE log
Comment 4 dmladek 2000-08-15 12:22:59 UTC
I attache whole my IDE log where the latest exception are related to this bug
with removing file from CVS FS. Excuse me that it is unfiltered but I belive
you can find the right info.
Comment 5 Svata Dedic 2000-08-15 12:30:59 UTC
XML and Form DataObjects may not handle the condition gracefully and/or annotate
the exception.
Comment 6 Svata Dedic 2000-08-15 12:32:59 UTC
XML and Form DataObjects may not handle the condition gracefully and/or annotate
the exception.
Comment 7 Svata Dedic 2000-09-21 12:07:59 UTC
The correct result of parsing an locally-removed file is a node "Error" beneath
the Java node. There will be probably more descriptive hint on the file node
taken from the Exception's message.

Error reporting is the business of CloneableEditor support and other
org.openide.text.* classes - a bug that they do not rethrow the IOException in
the thread that was asking for the document was already reported (they show an
exception dialog instead).
Comment 8 Quality Engineering 2003-07-01 13:12:12 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 9 Quality Engineering 2003-07-01 13:16:43 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.