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.
This bug was originally marked as duplicate of bug 247398, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 20150629-869e82459cad) VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12 OS: Linux User Comments: petrk: Clicked on some variables in "Variables" tab during debugging of mixed java/cpp application Stacktrace: java.lang.Throwable: Locked by: at org.openide.filesystems.FileLock.<init>(FileLock.java:88) at org.openide.filesystems.AbstractFileObject$AfLock.<init>(AbstractFileObject.java:940) at org.openide.filesystems.AbstractFileObject.lock(AbstractFileObject.java:273) at org.openide.filesystems.FileObject.getOutputStream(FileObject.java:812) at org.netbeans.modules.cnd.debugger.common2.debugger.assembly.Disassembly$DisText.save(Disassembly.java:451) at org.netbeans.modules.cnd.debugger.gdb2.GdbDisassembly.update(GdbDisassembly.java:203)
Created attachment 154417 [details] stacktrace
Created attachment 154813 [details] Proposed Patch
I don't know what could be wrong. The code seems to correctly unlock the file. Maybe we should log all unexpected exceptions to have more information the next time this problem appears again (simple fix in attached patch). Reassigning to cnd/Debugger. Please consider applying the patch. Thank you.
Fixed in: http://hg.netbeans.org/cnd-main/rev/a92f3e31d419 The patch has been applied.
Integrated into 'main-silver', will be available in build *201509040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a92f3e31d419 User: Nikolay Koldunov <henk89@netbeans.org> Log: Fixed #253226 - Throwable: Locked by: