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 98912 - IllegalArgumentException while invoking diff.
Summary: IllegalArgumentException while invoking diff.
Status: VERIFIED FIXED
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:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-26 08:42 UTC by Peter Pis
Modified: 2007-08-01 12:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IllegalArgumentException (2.12 KB, text/plain)
2007-03-26 08:42 UTC, Peter Pis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2007-03-26 08:42:23 UTC
NetBeans IDE Dev (Build 200703252000)
1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

Steps:
1. Open versioned controlled project.
2. Modify and save some file of it. (Delete line, modify another line and new
method e.g.: 
"void get() {
        
 }"

3. Invoke "Diff" action from side bar diff over the last modification. Exception
 is thrown.

java.lang.IllegalArgumentException: Illegal difference number: 3
	at
org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.setCurrentDifference(EditableDiffView.java:433)
	at org.netbeans.modules.versioning.diff.DiffSidebar.onDiff(DiffSidebar.java:193)
	at
org.netbeans.modules.versioning.diff.DiffTooltipActionsPanel.actionPerformed(DiffTooltipActionsPanel.java:113)
Comment 1 Peter Pis 2007-03-26 08:42:58 UTC
Created attachment 39926 [details]
IllegalArgumentException
Comment 2 Maros Sandor 2007-08-01 12:23:47 UTC
Cannot reproduce now, please verify in latest builds.
Comment 3 Peter Pis 2007-08-01 12:27:33 UTC
Verified. NetBeans IDE Dev (Build 200708010000)