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
URL:
Keywords:
Depends on:
Blocks:
 
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


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

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




Stacktrace: 
java.lang.IllegalArgumentException: Illegal difference number: 8
   at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.setDifferenceImpl(EditableDiffView.java:564)
   at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.access$2500(EditableDiffView.java:112)
   at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView$3.run(EditableDiffView.java:462)
   at org.netbeans.modules.diff.builtin.visualizer.editable.DiffViewManager.runWithSmartScrollingDisabled(DiffViewManager.java:118)
   at org.netbeans.modules.diff.builtin.visualizer.editable.EditableDiffView.setLocation(EditableDiffView.java:459)
   at org.netbeans.api.diff.DiffController.setLocation(DiffController.java:135)
Comment 1 Exceptions Reporter 2016-04-29 14:06:23 UTC
Created attachment 159478 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2016-06-06 09:41:11 UTC
Created attachment 159967 [details]
stacktrace

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 
see http://statistics.netbeans.org/exceptions/detail.do?id=223803
Comment 5 Exceptions Reporter 2017-07-15 06:28:47 UTC
Created attachment 164772 [details]
stacktrace

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

Diff-ing 2 files and deleting one of them