[ 
https://issues.apache.org/jira/browse/NETBEANS-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17177087#comment-17177087
 ] 

Laszlo Kishalmi commented on NETBEANS-4702:
-------------------------------------------

What is the LAF you are using?

The problem happens as the JDK could not find a proper EditorKit for the 
searchbar.

> Netbeans sometimes not responding after pressing Ctrl+F
> -------------------------------------------------------
>
>                 Key: NETBEANS-4702
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4702
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Search
>    Affects Versions: 12.0
>         Environment: fedora linux 32 (wayland) - jdk 14 update 2.
>            Reporter: Jakub Herkel
>            Priority: Major
>
> From time to time I have a problem that Netbeans were not responding when I 
> tried to open find dialog(via Ctrl+F). I.e It is possible to switch a window 
> via mouse click but I have to wait around 10 seconds. This laziness can be 
> reverted  when I close the window in which I tried to open a find dialog. In 
> a error log I can see this exception:
> java.lang.NullPointerException
> SEVERE [null]: Last record repeated more than 10 times, further logs of this 
> record are ignored until the log record changes.
> SEVERE [null]: Last record repeated 7547 times in total.
> SEVERE [global]
> java.lang.NullPointerException
>  at 
> java.desktop/javax.swing.text.JTextComponent.write(JTextComponent.java:1655)
>  at java.desktop/javax.swing.JEditorPane.getText(JEditorPane.java:1451)
>  at org.netbeans.modules.editor.search.SearchBar.gainFocus(SearchBar.java:821)
>  at 
> org.netbeans.modules.editor.search.actions.SearchAction.actionPerformed(SearchAction.java:77)
>  at 
> org.netbeans.spi.editor.AbstractEditorAction.actionPerformed(AbstractEditorAction.java:482)
>  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:6413)
>  at java.desktop/java.awt.Container.processEvent(Container.java:2263)
>  at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012)
>  at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
>  at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
>  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:4893)
>  at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
>  at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2764)
>  at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
>  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:391)
>  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:391)
>  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)
> [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.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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to