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 271135 - IllegalArgumentException: different buffers
Summary: IllegalArgumentException: different buffers
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-21 07:41 UTC by antonpresn
Modified: 2017-07-21 07:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 229777


Attachments
stacktrace (6.21 KB, text/plain)
2017-07-21 07:41 UTC, antonpresn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description antonpresn 2017-07-21 07:41:08 UTC
Build: NetBeans IDE Dev (Build 201707050001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Windows Server 2012 R2

User Comments:
antonpresn: i use jvi
what i've been doing is editing.
I ve selected and copied $fnGetFormAttrVal with commands bvt(y
then i've pressed Ctrl+h to call search/replace dialog and 've got an exception from ide




Stacktrace: 
java.lang.IllegalArgumentException: different buffers
   at com.raelity.jvi.ViFPOS$abstractFPOS.compareTo(ViFPOS.java:168)
   at com.raelity.jvi.ViFPOS$abstractFPOS.compareTo(ViFPOS.java:98)
   at com.raelity.jvi.core.Buffer$VisualBounds.init(Buffer.java:469)
   at com.raelity.jvi.core.Buffer.getVisualSelectBlocks(Buffer.java:591)
   at org.netbeans.modules.jvi.impl.NbTextView$VisualSelectHighlighter.getBlocks(NbTextView.java:1308)
   at org.netbeans.modules.jvi.impl.NbTextView$BlocksHighlighter$1.run(NbTextView.java:1559)
Comment 1 antonpresn 2017-07-21 07:41:11 UTC
Created attachment 164803 [details]
stacktrace