Borwe created NETBEANS-5362:
-------------------------------
Summary: Jvi plugin bug when using FlatLaf themes
Key: NETBEANS-5362
URL: https://issues.apache.org/jira/browse/NETBEANS-5362
Project: NetBeans
Issue Type: Bug
Components: platform - Window System
Affects Versions: Next
Reporter: Borwe
After installing the Jvi plugin for netbeans to give it vim like powers for
editing, whenever I use any FlatLaf theme and try enter a command in normal
mode while editing, eg: ':w', a window pops up as it should, but also the error
dialog, which seems to just be annoying, as still after exiting the dialogue,
and pressing enter, the jvi command still works as expected.
*Error:*
{{java.lang.NullPointerException
at
com.formdev.flatlaf.ui.FlatPopupFactory.getPopupForScreenOfOwner(FlatPopupFactory.java:114)
at
com.formdev.flatlaf.ui.FlatPopupFactory.getPopup(FlatPopupFactory.java:78)
at
org.netbeans.modules.editor.completion.CompletionLayoutPopup.show(CompletionLayoutPopup.java:287)
at
org.netbeans.modules.editor.completion.CompletionLayoutPopup.showAlongOccupiedBounds(CompletionLayoutPopup.java:319)
at
org.netbeans.modules.editor.completion.CompletionLayoutPopup.showAlongAnchorBounds(CompletionLayoutPopup.java:299)
at
org.netbeans.modules.editor.completion.CompletionLayout.updateLayout(CompletionLayout.java:285)
at
org.netbeans.modules.editor.completion.CompletionLayout$CompletionPopup.show(CompletionLayout.java:458)
at
org.netbeans.modules.editor.completion.CompletionLayout$CompletionPopup.show(CompletionLayout.java:346)
at
org.netbeans.modules.editor.completion.CompletionLayout.showCompletion(CompletionLayout.java:121)
at
org.netbeans.modules.editor.completion.CompletionImpl$10.run(CompletionImpl.java:1166)
at
java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:708)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
[catch] at
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
at
java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at
java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at
java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:682)
at
java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.desktop/java.awt.Dialog.show(Dialog.java:1070)
at java.desktop/java.awt.Component.show(Component.java:1716)
at java.desktop/java.awt.Component.setVisible(Component.java:1663)
at java.desktop/java.awt.Window.setVisible(Window.java:1031)
at java.desktop/java.awt.Dialog.setVisible(Dialog.java:1005)
at
com.raelity.jvi.swing.WindowCmdEntry.finishActivate(WindowCmdEntry.java:84)
at
com.raelity.jvi.swing.CommandLineEntry.activate(CommandLineEntry.java:159)
at
com.raelity.jvi.manager.Scheduler.startCommandEntry(Scheduler.java:272)
at
com.raelity.jvi.core.ColonCommands.doColonCommand(ColonCommands.java:129)
at com.raelity.jvi.core.Normal.nv_colon(Normal.java:2496)
at com.raelity.jvi.core.Normal.normal_cmd(Normal.java:627)
at com.raelity.jvi.core.Normal.processInputChar(Normal.java:179)
at com.raelity.jvi.core.GetChar.pumpChar(GetChar.java:401)
at com.raelity.jvi.core.GetChar.pumpAllChars(GetChar.java:365)
at com.raelity.jvi.core.GetChar.startPump(GetChar.java:308)
at com.raelity.jvi.core.GetChar.gotc(GetChar.java:178)
at com.raelity.jvi.core.Hook.gotc(Hook.java:97)
at com.raelity.jvi.manager.Scheduler.keyStroke(Scheduler.java:212)
at
com.raelity.jvi.swing.SwingFactory$EnqueCharAction.actionPerformed(SwingFactory.java:632)
at
java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810)
at
java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900)
at
java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2948)
at
java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862)
at java.desktop/java.awt.Component.processEvent(Component.java:6412)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at
java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
at
java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at
java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
at
java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
at
java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
at
java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
at
java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
at
java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4892)
at
java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:708)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:708)
at
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
at
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at
java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists