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.
Steps to reproduce: - create Welcome sample - do step into - open Disassembly, Disassembly(main) tab appears - do several steps then step into "std:cout" system call, a new Disassembly tab appears - switch to newly appeared Disassembly tab Result: NPE window appears cyclically and blocks IDE and other windows (it's impossible to switch focus to any other window). java.lang.NullPointerException at javax.swing.text.BoxView.calculateMinorAxisRequirements(BoxView.java:886) at javax.swing.text.BoxView.checkRequests(BoxView.java:918) at javax.swing.text.BoxView.setSpanOnAxis(BoxView.java:326) at javax.swing.text.BoxView.layout(BoxView.java:691) at javax.swing.text.BoxView.setSize(BoxView.java:380) at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1702) at javax.swing.plaf.basic.BasicTextUI.viewToModel(BasicTextUI.java:1088) at javax.swing.plaf.basic.BasicTextUI.viewToModel(BasicTextUI.java:1062) at javax.swing.text.JTextComponent.viewToModel(JTextComponent.java:1418) at org.netbeans.modules.cnd.debugger.common2.debugger.assembly.DisView$1$1.scanLine(DisView.java:565) at org.netbeans.modules.cnd.debugger.common2.debugger.assembly.DisView$ViewScanner.scan(DisView.java:434) at org.netbeans.modules.cnd.debugger.common2.debugger.assembly.DisView$1.paintComponent(DisView.java:641) at javax.swing.JComponent.paint(JComponent.java:1029) at javax.swing.JComponent.paintChildren(JComponent.java:864) at javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.JViewport.paint(JViewport.java:747) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5124) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1475) at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1406) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:294) at javax.swing.RepaintManager.paint(RepaintManager.java:1220) at javax.swing.JComponent._paintImmediately(JComponent.java:5072) at javax.swing.JComponent.paintImmediately(JComponent.java:4882) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714) at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148) [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
old disassembly window causes these exceptions
fixed in: http://hg.netbeans.org/cnd-main/rev/c169205786b4 there should be only new disassembly in gdb
*** Bug 193032 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201012110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c169205786b4 User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #192996 (IDE crashes after NPE in Disassembly)
Integrated into 'main-silver', will be available in build *201704080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/cfd60174882e User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #192996 (IDE crashes after NPE in Disassembly) - removed old disassembly initialization from common