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 270410

Summary: NullPointerException at com.raelity.jvi.swing.SwingTextView.setVpTopPoint
Product: ide Reporter: dhanav
Component: CodeAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 224544
Attachments: stacktrace

Description dhanav 2017-04-16 04:04:27 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Linux

User Comments:
dhanav: Just created a new project with existing sources.

GUEST: Install JvI plugin on Netbeans 8.2, open file and press G to move the carret to the end of file - null pointer exception. gg also not working

GUEST: Using jVi doing a regex search in a js file.




Stacktrace: 
java.lang.NullPointerException
   at com.raelity.jvi.swing.SwingTextView.setVpTopPoint(SwingTextView.java:1514)
   at com.raelity.jvi.swing.SwingTextView.setVpTopLogicalLine(SwingTextView.java:758)
   at com.raelity.jvi.core.Misc01.scrollToLogicalLine(Misc01.java:213)
   at com.raelity.jvi.core.Misc01.scrollToLine(Misc01.java:64)
   at com.raelity.jvi.core.G.scrollToLine(G.java:81)
   at com.raelity.jvi.swing.SwingTextView$WCursor.set(SwingTextView.java:1287)
Comment 1 dhanav 2017-04-16 04:04:30 UTC
Created attachment 164115 [details]
stacktrace