Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-4702

Netbeans sometimes not responding after pressing Ctrl+F

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.0
    • None
    • editor - Search
    • None
    • fedora linux 32 (wayland) - jdk 14 update 2.

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            jherkel Jakub Herkel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: