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.
Development build of NetBeans #117 (2001-02-02) on Windows 2000 with JDK 1.3. Description: ============ It is not possible to compare two arbitrary revisions of a file that has status [LRemoved]. Each attempt throws really interesting java.lang.ArithmeticException because of division by zero :-) If you want have a look at the attachment. Steps to reproduce: =================== 1. Mount JavaCVS filesystem and select arbitrary [Up-to-date] file with at least two revisions. 2. Invoke "Remove" action from its popup JavaCvs submenu, check the second checkbox "Delete file(s) before removing." and run the command. 3. The file will change to [LRemoved] status. Launch "Revision Explorer" on it. 4. Expand fileobject and select two revisions say 1.1 and 1.2 and try to view their "Diff". 5. Verify that above mentioned exception is thrown and window contains trash.
Created attachment 546 [details] Attachment for bug #9362.
Version: 'Dev' -> 3.2
sould be fixed in release32 build 13 and dev build 154
[REGRESSION] The fix was either not successfull or not integrated into release32 branch beca- use the bug is 100% reproducable in build #010531_1 of Forte for Java CE using exactly the same procedure that is mentioned above. According to new QA rules concerning regressions I am forced to reopen the bug and apply the highest P1 priority in order to fix it as soon as possible.
it is fixed in the main trunk. (got fixed by code refactoring) the fix for 3.2.1 is trivial and is included here: Index: org/netbeans/modules/cvsclient/commands/diff/CvsDiff.java =================================================================== RCS file: /cvs/javacvs/src/org/netbeans/modules/cvsclient/commands/diff/Attic/CvsDif f.java,v retrieving revision 1.18.2.1 diff -r1.18.2.1 CvsDiff.java 84c84 < && !isFixedDisplayType()) { --- > || isFixedDisplayType()) {
Yes, it works finally well. Verified in development build of NetBeans #205.
Resolved for 3.4.x or earlier, no new info since then -> closing.