This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE Dev (Build 20131208-bdaa8f8f69f1) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Windows 7 User Comments: victork: Caused by opened selfsampler tabs(Opened from Exception Reporter) - exact cause unknown. Stacktrace: java.lang.NullPointerException at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRenderer.paint(WindowsTableHeaderUI.java:170) at javax.swing.CellRendererPane.paintComponent(CellRendererPane.java:151) at javax.swing.plaf.basic.BasicTableHeaderUI.paintCell(BasicTableHeaderUI.java:710) at javax.swing.plaf.basic.BasicTableHeaderUI.paint(BasicTableHeaderUI.java:652) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161) at javax.swing.JComponent.paintComponent(JComponent.java:778)
Created attachment 142941 [details] stacktrace
Reporter, did you switch window styles in Windows Control Panel by any chance?
Nope. However sometimes i connect via RDP and then resolution is changed(From 16:9 to 4:3) and vice versa then coming back locally to the workstation. Only wallpaper and resolution are customized in the system(DPI is standard and Aero+Themes service are on). Note that it happens only then selfsampler tabs are opened(From exception report window and i close the exception report window itself -> selfsampler stays as a tab in the IDE). Exception comes in an "endless" state -> i close it and it pops-up again immediately. Only then i close the selfsampler tab/tabs(if more than one is opened) then after closing the exception window those exceptions will stop popping.
*** Bug 239227 has been marked as a duplicate of this bug. ***
The bug culprit suggests a JTable is being manipulated off the EDT. Reassigning to selfsampler module (please reassign if I picked the wrong component).
You picked the correct one :) Even first bug(239227) is associated with a selfsampler i've didn't saw the relationship back then i submitted it(Exception reporter assigned different bugs to them due to slightly different stacktrace but both have the same cause/bug behind them). Looks like it looses the 'parent' at some stage(may be the 'parent' is an exception report window which i close and that causes the NULL pointer dereference exception).
I am not sure of any other JTable except the one provided by profiler to display the snapshots. Passing to Jirka.
Looks similar to Bug 225222. I can't see any profiler code involved.
Seems to be fixed already. Should not be reproducible in the redesigned profiler UI.