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

NullPointerException after close program

    XMLWordPrintableJSON

Details

    Description

      Hello,

      An error will pop up when the program closes.

      Sometimes it only appears for a fraction of a second, barely noticeable. Sometimes it will also appear for a few seconds. I've copied it a few times and the bug always writes the same thing.

      java.lang.NullPointerException
      at org.netbeans.modules.lsp.client.LSPBindings$Cleanup.run(LSPBindings.java:243)
      at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
      at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
      at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
      at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
      Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
      at org.openide.util.RequestProcessor.post(RequestProcessor.java:395)
      at org.netbeans.core.startup.NbStartStop.startClose(NbStartStop.java:119)
      at org.netbeans.core.startup.NbInstaller.closeAsync(NbInstaller.java:707)
      at org.netbeans.ModuleManager.shutDownAsync(ModuleManager.java:2302)
      at org.netbeans.core.startup.ModuleSystem.shutDownAsync(ModuleSystem.java:346)
      at org.netbeans.core.NbLifeExit.doExit(NbLifeExit.java:114)
      at org.netbeans.core.NbLifeExit.run(NbLifeExit.java:71)
      at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.doEvent(NbMutexEventProvider.java:95)
      at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.readAccess(NbMutexEventProvider.java:70)
      at org.netbeans.modules.openide.util.LazyMutexImplementation.readAccess(LazyMutexImplementation.java:66)
      at org.openide.util.Mutex.readAccess(Mutex.java:235)
      at org.netbeans.core.NbLifecycleManager.exit(NbLifecycleManager.java:209)
      at org.netbeans.core.NbLifecycleManager.exit(NbLifecycleManager.java:115)
      at org.netbeans.core.windows.view.ui.MainWindow$9.windowClosing(MainWindow.java:529)
      at java.desktop/java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:357)
      at java.desktop/java.awt.Window.processWindowEvent(Window.java:2068)
      at java.desktop/javax.swing.JFrame.processWindowEvent(JFrame.java:298)
      at java.desktop/java.awt.Window.processEvent(Window.java:2027)
      at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
      at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
      at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2762)
      at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
      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:389)
      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:389)
      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)
      [catch] at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
      

      I know the program does not limit it, but it did not make the mistake before.

      I'm sorry, I do not know exactly when it started, but it's been a longer time (definitely it started in the version of the end of January)

      Please repair.

      Thank you

      Attachments

        Issue Links

          Activity

            People

              jlahoda Jan Lahoda
              Michal_cat Michal Rama
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m