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 17456 - CVS: "Commit" throws BLE when last two new lines chars are deleted.
Summary: CVS: "Commit" throws BLE when last two new lines chars are deleted.
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-09 11:25 UTC by Jiri Kovalsky
Modified: 2003-07-01 13:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
BLE thrown if last two new line chars of pre commit message are deleted. (2.06 KB, text/plain)
2001-11-09 11:27 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-11-09 11:25:07 UTC
Development build of NetBeans 3.3 #200111090100 on Windows 2000 with JDK 1.3.1

Description:
============
This is almost unlikely and harmless but visible. If the last two new line cha-
racters of pre commit message are deleted and user clicks "OK" button BadLocati-
onException is thrown however commit succeeds.

Steps to reproduce:
===================
1. Mount CVS filesystem using Command-line Client.
2. "Open" some [Up-to-date] file, modify and "Save" it.
3. Right click on this [Locally Modified] file and choose "CVS|Commit" action.
4. In upcoming dialog scroll down and delete last two lines characters.
5. Push "OK" button and the exception will come up.
Comment 1 Jiri Kovalsky 2001-11-09 11:27:16 UTC
Created attachment 3336 [details]
BLE thrown if last two new line chars of pre commit message are deleted.
Comment 2 Martin Entlicher 2001-11-09 12:10:51 UTC
You should not care about these empty lines!
Comment 3 Martin Entlicher 2001-11-09 12:23:24 UTC
Fixed in build 11/12.
Comment 4 Jiri Kovalsky 2001-11-12 11:46:45 UTC
Cool. Verified in development build of NetBeans 3.3 #200111120100. 
BTW, should we file also such kind of bugs ? I am confused. :-( I know
what I did was stupid but should I simply ignore it and pretend every-
thing is all right ?
Comment 5 Martin Entlicher 2001-11-12 14:27:29 UTC
Please keep filling bugs like this. I didn't meant the comment really
seriously. It will make the module more robust if we catch these
"minor" things.
Users are also doing strange things sometimes. Ideally the IDE should
be resistant to users' errors.
Comment 6 Quality Engineering 2003-07-01 13:02:09 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.