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.
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)
Created attachment 159478 [details] stacktrace
Created attachment 159967 [details] stacktrace clean & build
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
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=223803
Created attachment 164772 [details] stacktrace Diff 2 files
Created attachment 164834 [details] stacktrace Diff-ing 2 files and deleting one of them