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 155306 - IllegalArgumentException: Illegal difference number: 1
Summary: IllegalArgumentException: Illegal difference number: 1
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: diff-issues@utilities
Depends on:
Reported: 2008-12-12 09:30 UTC by libai58
Modified: 2009-10-22 02:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144281

stacktrace (3.11 KB, text/plain)
2008-12-12 09:30 UTC, libai58

Note You need to log in before you can comment on or make changes to this bug.
Description libai58 2008-12-12 09:30:29 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

java.lang.IllegalArgumentException: Illegal difference number: 1
        at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.setDifferenceImpl(
        at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.access$1100(
        at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView$
        at org.netbeans.modules.diff.builtin.visualizer.editable.DiffViewManager.runWithSmartScrollingDisabled(
        at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.setLocation(
        at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.setCurrentDifference(
Comment 1 libai58 2008-12-12 09:30:39 UTC
Created attachment 74893 [details]
Comment 2 Maros Sandor 2008-12-18 14:45:23 UTC
Can you reproduce the exception? If so, please provide steps to reproduce.
Comment 3 Peter Pis 2009-01-05 12:35:43 UTC
Without requested information for long time - INVALID. We can't do anything in this case. Reporter, please add requested
information and reopen issue. Thanks in advance.
Comment 4 reinouts 2009-10-15 17:05:12 UTC
17 dupes of this trace since 03-09-2009. Reopening.
Comment 5 Ondrej Vrabec 2009-10-16 08:18:38 UTC
100% reproducible - click the diff button in the tooltip window popped up from the diff-sidebar

fixed: cdev #be9a23af0b8e
Comment 6 Quality Engineering 2009-10-17 11:26:59 UTC
Integrated into 'main-golden', will be available in build *200910170201* on (upload may still be in progress)
User: Ondrej Vrabec <>
Log: #155306 - IllegalArgumentException: Illegal difference number
do not set the difference index until the diff gets computed