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
Status: RESOLVED 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: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
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


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

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

Stacktrace: 
java.lang.IllegalArgumentException: Illegal difference number: 1
        at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.setDifferenceImpl(EditableDiffView.java:332)
        at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.access$1100(EditableDiffView.java:99)
        at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView$2.run(EditableDiffView.java:288)
        at org.netbeans.modules.diff.builtin.visualizer.editable.DiffViewManager.runWithSmartScrollingDisabled(DiffViewManager.java:109)
        at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.setLocation(EditableDiffView.java:285)
        at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.setCurrentDifference(EditableDiffView.java:568)
Comment 1 libai58 2008-12-12 09:30:39 UTC
Created attachment 74893 [details]
stacktrace
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 http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/be9a23af0b8e
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #155306 - IllegalArgumentException: Illegal difference number
do not set the difference index until the diff gets computed