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

NullPointerException on empty space when documents pop-up has more than one column

    XMLWordPrintableJSON

Details

    Description

      When the document popup (triangle at the right top of editor) has more than one column, and some cell is empty in the pop-up, placing the mouse cursor over the empty cell leads to:

      java.lang.NullPointerException                                                                                                                                                                                                   
              at org.netbeans.swing.tabcontrol.DocumentSwitcherTable.isClosable(DocumentSwitcherTable.java:174)                                                                                                                        
              at org.netbeans.swing.tabcontrol.DocumentSwitcherTable.onMouseEvent(DocumentSwitcherTable.java:88)                                                                                                                       
              at org.netbeans.swing.tabcontrol.ButtonPopupSwitcher.mouseMoved(ButtonPopupSwitcher.java:196)                                                                                                                            
              at java.desktop/java.awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster.java:338)                                                                                                                                    
              at java.desktop/java.awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster.java:337)                                                                                                                                    
              at java.desktop/java.awt.Component.processMouseMotionEvent(Component.java:6677)                                                                                                                                          
              at java.desktop/javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3360)                                                                                                                                     
              at java.desktop/java.awt.Component.processEvent(Component.java:6401)                                                                                                                                                     
              at java.desktop/java.awt.Container.processEvent(Container.java:2263)                                                                                                                                                     
              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.Component.dispatchEvent(Component.java:4840)                                                                                                                                                    
              at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)                                                                                                                                   
              at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4560)                                                                                                                                    
              at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)                                                                                                                                        
              at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)                                                                                                                                                
              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)
      [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

        Issue Links

          Activity

            People

              jlahoda Jan Lahoda
              jlahoda Jan Lahoda
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 0.5h
                  0.5h