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 159680, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 20160226-0a11c5776e4d) VM: Java HotSpot(TM) 64-Bit Server VM, 25.72-b15, Java(TM) SE Runtime Environment, 1.8.0_72-b15 OS: Linux User Comments: petrk: Selected text in diff view Stacktrace: javax.swing.text.BadLocationException: Invalid offset=373 not within <0, 372> at org.netbeans.modules.editor.lib2.DocUtils.checkOffsetValid(DocUtils.java:239) at org.netbeans.modules.editor.lib2.DocUtils.checkOffsetValid(DocUtils.java:234) at org.netbeans.modules.editor.lib2.DocUtils.getRowStart(DocUtils.java:70) at org.netbeans.modules.editor.lib2.highlighting.CaretBasedBlockHighlighting$CaretRowHighlighting.getCurrentBlockPositions(CaretBasedBlockHighlighting.java:303) at org.netbeans.modules.editor.lib2.highlighting.CaretBasedBlockHighlighting.updateLineInfo(CaretBasedBlockHighlighting.java:216) at org.netbeans.modules.editor.lib2.highlighting.CaretBasedBlockHighlighting.stateChanged(CaretBasedBlockHighlighting.java:204)
Created attachment 159033 [details] stacktrace
Created attachment 159264 [details] stacktrace Try to select copy and paste text from Output panel to newly created SQL file
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=223240
Created attachment 159909 [details] stacktrace I couldn't identify the reason
Created attachment 160355 [details] stacktrace Pasting code into editor.
Created attachment 161507 [details] stacktrace Trying to copy statement for insert data.
Created attachment 162188 [details] stacktrace Just created a new .properties file
Created attachment 162431 [details] stacktrace editing sql
Created attachment 162564 [details] stacktrace Highlighted diff text.
Created attachment 162584 [details] stacktrace Switching open files while search field is focussed.
Created attachment 162623 [details] stacktrace double click inside md file
Editing inside scss file in an HTML 5 project
Created attachment 162853 [details] IDE log
Created attachment 163104 [details] stacktrace not sure
Created attachment 163584 [details] stacktrace selecting text in the editor.
Created attachment 163638 [details] stacktrace wanted to add a watch to variables window
Created attachment 163639 [details] stacktrace tried to add new watch
Created attachment 164397 [details] stacktrace Starting IDE
Created attachment 164583 [details] stacktrace no idea, sorry
149 duplicates -> should be likely fixed ;) Thanks!
This bug already has 250 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=223240
Created attachment 165672 [details] stacktrace Select text in SQL Query window