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 259063 - IllegalArgumentException: Illegal difference number: 8
Summary: IllegalArgumentException: Illegal difference number: 8
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Diff (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
Depends on:
Reported: 2016-04-29 14:06 UTC by Exceptions Reporter
Modified: 2017-11-17 16:58 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 223803

stacktrace (2.28 KB, text/plain)
2016-04-29 14:06 UTC, Exceptions Reporter
stacktrace (2.28 KB, text/plain)
2016-06-06 09:41 UTC, Vladimir Voskresensky
stacktrace (7.99 KB, text/plain)
2017-07-15 06:28 UTC, Exceptions Reporter
stacktrace (2.28 KB, text/plain)
2017-07-26 09:19 UTC, scanti

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-04-29 14:06:21 UTC
This bug was originally marked as duplicate of bug 155306, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GUEST: 8 is illegal

java.lang.IllegalArgumentException: Illegal difference number: 8
   at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.setDifferenceImpl(
   at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.access$2500(
   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.api.diff.DiffController.setLocation(
Comment 1 Exceptions Reporter 2016-04-29 14:06:23 UTC
Created attachment 159478 [details]
Comment 2 Vladimir Voskresensky 2016-06-06 09:41:11 UTC
Created attachment 159967 [details]

clean & build
Comment 3 Vladimir Voskresensky 2016-06-06 09:52:12 UTC
I think it occurs when Tools->Diff view was left in between opened files (even not active one) and I changed one of files externally
Comment 4 Exceptions Reporter 2017-03-28 10:55:09 UTC
This bug already has 5 duplicates 
Comment 5 Exceptions Reporter 2017-07-15 06:28:47 UTC
Created attachment 164772 [details]

Diff 2 files
Comment 6 scanti 2017-07-26 09:19:52 UTC
Created attachment 164834 [details]

Diff-ing 2 files and deleting one of them