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 126928 - IllegalArgumentException: Illegal difference number: 1
Summary: IllegalArgumentException: Illegal difference number: 1
Status: CLOSED DUPLICATE of bug 126886
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: diff-issues@utilities
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-07 16:27 UTC by Peter Pis
Modified: 2008-02-26 11:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 12365


Attachments
stacktrace (2.74 KB, text/plain)
2008-02-07 16:27 UTC, Peter Pis
Details
stacktrace (2.74 KB, text/plain)
2008-02-12 14:37 UTC, novakm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2008-02-07 16:27:02 UTC
Build: NetBeans IDE Dev (Build 080204)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows XP, 5.1, x86

User Comments: 
Steps:
1. Open versioned controlled project.
2. Modify and save some file.
3. Using the SideBar diff invoke "Diff". Add some changes to have more modified lines.
4. Use "Down" arrow to move to last modification. 
5. Push "=>" (to accept Original file)
Comment 1 Peter Pis 2008-02-07 16:27:08 UTC
Created attachment 56264 [details]
stacktrace
Comment 2 novakm 2008-02-12 14:37:05 UTC
Build: NetBeans IDE 6.0.1 (Build 080206)
VM: Java HotSpot(TM) Client VM, 11.0-b06
OS: Linux, 2.6.24-7-generic, i386

User Comments: 
1) Open Local History for some file.
2) Do several changes to that file and save it (let's say 3 differences)
3) In local history of that file push the first arrow that reverts all changes - now  you have selected some difference, from total count of 0.... for example 2/0
4) Push Next or Previous Difference arrow
result: the IAE is thrown
Comment 3 novakm 2008-02-12 14:37:19 UTC
Created attachment 56528 [details]
stacktrace
Comment 4 Maros Sandor 2008-02-13 12:54:51 UTC
Should be a dup, please verify.

*** This issue has been marked as a duplicate of 126886 ***
Comment 5 Peter Pis 2008-02-26 11:42:29 UTC
It seems so. Closing.