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 9343 - Some actions should provide better information instead of throwing EOFExceptions.
Summary: Some actions should provide better information instead of throwing EOFExcepti...
Status: CLOSED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 3.x
Hardware: Other Windows ME/2000
: P4 minor (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
: 10764 11761 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-02-01 16:18 UTC by Jiri Kovalsky
Modified: 2007-01-04 17:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Attachment for bug #9343. (1.24 KB, text/plain)
2001-07-20 20:47 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2001-02-01 16:18:12 UTC
Development build of NetBeans #116 (2001-02-01) on Windows 2000 with JDK 1.3.

Description:
============
There are some specific cases when commands fail but instead of giving user some
at least basic information they throw EOFExceptions. It concerns especially bad
tag/branch names. I will mention only three such an occurances. Generally I just
want to propose that whole exception handling should be updated. See attached
file.

Steps to reproduce:
===================
1. Mount JavaCVS filesystem and invoke "Checkout" from popup menu of the root.
2. Don't set anything up and just push "Run Command" and explore the console.
3. Invoke "Checkout" action on arbitrary [Up-to-date] file and setup that you
   want to get e.g. "Next_Branch" revision of this file although you know it was
   not created. Running command gives exactly the same result.Same for "Update".
4. "Commit" the changed file into non-existing or not checked out branch.
Comment 1 Jiri Kovalsky 2001-02-01 16:29:59 UTC
Created attachment 535 [details]
Attachment for bug #9343.
Comment 2 Jan Chalupa 2001-03-12 10:48:26 UTC
Version: 'Dev' -> 3.2
Comment 3 Milos Kleint 2001-04-06 11:49:15 UTC
*** Issue 10764 has been marked as a duplicate of this issue. ***
Comment 4 Milos Kleint 2001-04-26 09:28:07 UTC
*** Issue 11761 has been marked as a duplicate of this issue. ***
Comment 5 Milos Kleint 2001-06-20 08:33:57 UTC
I fixex it generally by returning the LocalizedMessage that is attached to the
exception.
Handling the EOFException in a special way however, to make the error clear.

Feeel free to reopen the bug if there are soe more clear cases when the error
message is "encrypted".

fixed in the main trunk. (actually for some time already, I just kept the bug open.)
Comment 6 Jiri Kovalsky 2001-08-30 13:52:28 UTC
Yes, it looks better now. Verified in development build of NetBeans 
3.3 #200108300704.
Comment 7 Quality Engineering 2003-07-01 12:49:45 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.