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 9320 - "Diff" and "Update" commands throw java.text.ParseExceptions in specific cases.
Summary: "Diff" and "Update" commands throw java.text.ParseExceptions in specific cases.
Status: CLOSED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 3.x
Hardware: All All
: P3 normal (vote)
Assignee: _ rgreig
URL:
Keywords:
: 9347 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-01-31 15: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 #9320. (1.89 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-01-31 15:18:38 UTC
Development build of NetBeans #114 (2001-01-30) on Windows 2000 with JDK 1.3.

Description:
============
Sometimes "Diff" and "Update" command throw above mentioned and below attached
exceptions into the console. However this is reproducable. For more details
please have a look at the attachment and see following procedure.

Steps to reproduce:
===================
1. Mount JavaCVS filesystem and underneath create from template javabean file.
2. Specify version e.g. "1.1" at line #14 and "Add" and "Commit" the file.
3. Once it is [Up-to-date] change the version to "1.2", "Save" and "Commit" it.
4. Now the file has 2 revisions 1.1 and 1.2. "Checkout" revision 1.1.
5. "Open" it and change version number to "1.3" and "Save" it. The file should
   become [LMod].
6. Now invoke "Update" command from its popup menu, check "Reset sticky tags..."
   checkbox and click on "Run Command" button.
7. The file changes to [Conflict] and at the same time you will see that above
   mentioned exceptions are thrown into the console.

Note:
=====
If you invoke "Diff" command from the popup menu of such a file and just push
"Run Command" button both exceptions are thrown again.
Comment 1 Jiri Kovalsky 2001-01-31 15:20:59 UTC
Created attachment 522 [details]
Attachment for bug #9320.
Comment 2 _ rgreig 2001-02-19 23:21:19 UTC
*** Issue 9347 has been marked as a duplicate of this issue. ***
Comment 3 _ rgreig 2001-02-20 00:57:24 UTC
Bug lies in class Entry which assumes that conflict fields contain valid dates. 
CVS server does not!
Comment 4 _ rgreig 2001-02-20 00:59:18 UTC
Assigning to Robert
Comment 5 _ rgreig 2001-02-25 22:39:08 UTC
Reassigned because of email address change.
Comment 6 _ rgreig 2001-02-25 22:41:15 UTC
The Entry parser for conflicts could not handle "+=" in the conflict field. It 
now works in the same way as command line cvs and puts in "Result of 
merge+<date>" where there is a merge that results in a conflict.

Files modified:
org.netbeans.lib.cvsclient.admin.Entry
org.netbeans.lib.cvsclient.response.MergedResponse
Comment 7 Jiri Kovalsky 2001-06-07 18:22:10 UTC
It is better now, I mean that no exceptions are thrown but there are some 
messages printed into console. Please remove them. Here they are:

Got copy file response.
LocalPath is: test/another/hidden/
Repository path is: D:\apps\vcs\cvs\repository/test/another/hidden/File.java
New name is: .#File.java.1.1
Comment 8 Milos Kleint 2001-06-08 11:32:40 UTC
should be fixed in dev build 207.
Comment 9 Jiri Kovalsky 2001-06-11 08:34:15 UTC
Good job. Verified in development build of NetBeans #207.
Comment 10 Quality Engineering 2003-07-01 12:47:50 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.