deactivate button in Tools menu works partially (also after last update jVi disabled itself, also in the same way - partially)
cursor buttons, backspace and Ctrl+F does not work
Tools->Plugins-> i had diactivated all jVi related records there, but the problem stays.
also Ctrl+F shows an exception
java.lang.NullPointerException
at org.netbeans.modules.editor.impl.SearchBar.addKeystrokeReplaceActionTo(SearchBar.java:789)
at org.netbeans.modules.editor.impl.SearchBar.<init>(SearchBar.java:189)
at org.netbeans.modules.editor.impl.SearchBar.getInstance(SearchBar.java:169)
at org.netbeans.modules.editor.impl.SearchBar.getInstance(SearchBar.java:178)
at org.netbeans.modules.editor.impl.SearchAndReplaceBarHandler$SearchAction.actionPerformed(SearchAndReplaceBarHandler.java:102)
at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:339)
at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:93)
at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
at org.openide.awt.GeneralAction$DelegateAction.actionPerformed(GeneralAction.java:219)
at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1138)
at javax.swing.JComponent.processKeyBindings(JComponent.java:2897)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2814)
at java.awt.Component.processEvent(Component.java:6045)
at java.awt.Container.processEvent(Container.java:2045)
at java.awt.Component.dispatchEventImpl(Component.java:4629)
at java.awt.Container.dispatchEventImpl(Container.java:2103)
at java.awt.Component.dispatchEvent(Component.java:4455)
at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1881)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:759)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1035)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:902)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:724)
at java.awt.Component.dispatchEventImpl(Component.java:4499)
at java.awt.Container.dispatchEventImpl(Container.java:2103)
at java.awt.Window.dispatchEventImpl(Window.java:2517)
at java.awt.Component.dispatchEvent(Component.java:4455)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
at java.awt.EventQueue$2.run(EventQueue.java:622)
at java.awt.EventQueue$2.run(EventQueue.java:620)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:153)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
[catch] at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
---------------
jVi Version: 1.4.53.25 Source: jVi (vi/vim) for NetBeans 7.0
Product Version: NetBeans IDE 7.1 Beta (Build 201109252201)
Java: 1.6.0_22; OpenJDK Client VM 20.0-b11
System: Linux version 3.1.0-1.2-pae running on i386; UTF-8; en_US (nb)
User directory: /home/alex/.netbeans/7.1beta
Cache directory: /home/alex/.netbeans/7.1beta/var/cache
This works OK for me. (Should have responded long ago).
If there is some issue, provide more details on how to reproduce. Will close this report soon.
I have encountered this issue as well using Netbeans 16 with jVi 2.0.13 on Windows 10. It happens when you save a new keybinding while in Normal (edited: not Command) mode. Saving in Insert mode does it normally.
It seems some keybindings get saved in a xml file in:
%appdata%\NetBeans\16\config\Editors\Keybindings\NetBeans\
org-netbeans-modules-editor-settings-CustomKeybindings.xml
Renaming (deleting) it seems to solve the issue.
I don't know if it's related but the effect is similar to what's described here (which is how I found the file): https://bz.apache.org/netbeans/show_bug.cgi?id=231747
Some other details:
Last edit: Matias Mario 2023-02-19
If you provide steps to recreate, I'll give it a try. (I don't understand how it happened).
Command mode is after ":".
Thank you for the quick reply! I'm sorry, I meant Normal mode facepalm
Last edit: Matias Mario 2023-02-19