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

Summary: IllegalArgumentException: different buffers
Product: editor Reporter: antonpresn
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 229777
Attachments: stacktrace

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