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: IDE for C, C++, and Fortran (Studio 12.5 Beta [2015/11/13 244c37b31a57]) VM: Java HotSpot(TM) 64-Bit Server VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_67-b01 OS: Linux User Comments: apepin: -set breakpoint in java code on a native method invocation - start debugging - when the first breakpoint is reached do step into the native method - do step over in the native code then press continue Result: NPE occurs together with dbx worning windows. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.viewmodel.TreeModelRoot.destroy(TreeModelRoot.java:290) at org.netbeans.modules.viewmodel.OutlineTable.setModel(OutlineTable.java:367) at org.netbeans.modules.viewmodel.OutlineTable.setModel(OutlineTable.java:345) at org.netbeans.modules.viewmodel.OutlineTable.removeNotify(OutlineTable.java:1083) at java.awt.Container.removeNotify(Container.java:2800) at javax.swing.JComponent.removeNotify(JComponent.java:4759)
Created attachment 157329 [details] stacktrace
see also: bug #256544 bug #256562
Created attachment 157796 [details] stacktrace See bugs #256590
Fixed by changeset: 294591:7763578ef918 http://hg.netbeans.org/core-main/rev/7763578ef918 Please verify.
Integrated into 'main-silver', will be available in build *201512190002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7763578ef918 User: mentlicher@netbeans.org Log: #256590: Do not call foreign code under synchronized block and assure that multiple destroy() invocations are handled correctly.
Can you please verify the fix in trunk so that we can integrate it into 81 patch? Thanks.
We've just built Studio based on the NB trunk. We are going to test it ASAP.
Verified in Studio IDE build with updated org-netbeans-spi-viewmodel.jar provided by Martin.
Transplaned into release81 by changeset: 305727:869d9ae89838 http://hg.netbeans.org/releases/rev/869d9ae89838
Verified in build 20160130.