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 7.1 RC2 (Build 201111302200) VM: Java HotSpot(TM) 64-Bit Server VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06 OS: Windows 7 User Comments: namgivu: Hit `tab` on keyboard for two collapsed blocks of html tags cause this crash GUEST: Runing debugger. GUEST: A java.lang.NullPointerException exception has occurred. Please report this at http://www.netbeans.org/community/issues.html, including a copy of your messages.log file as an attachment. The messages.log file is located in your C:\Documents and Settings\D_Tr_Kien.NOMANDY-SR2\.netbeans\dev\var\log folder. GUEST: 1) enabled rectangular selection 2) tried to select block of C code GUEST: shift-tab on collapsed code segment GUEST: Trying to delete trailing white space in a wrapped line. Stacktrace: java.lang.IllegalStateException: Not locker. lockThread=null at org.netbeans.lib.editor.util.PriorityMutex.unlock(PriorityMutex.java:122) at org.netbeans.modules.editor.lib2.view.DocumentView.unlock(DocumentView.java:272) at org.netbeans.modules.editor.lib2.view.DocumentView.runTransaction(DocumentView.java:215) at org.netbeans.modules.editor.lib2.view.DocumentView$1.run(DocumentView.java:226) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1335) at org.netbeans.modules.editor.lib2.view.DocumentView.runReadLockTransaction(DocumentView.java:223)
Created attachment 113945 [details] stacktrace
This is a race condition.
I did not find any serious error but in case of InterruptedException catching the code could possibly lead to invalid locking so I've fixed that. http://hg.netbeans.org/jet-main/rev/b11670ccc29e
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/b11670ccc29e User: Miloslav Metelka <mmetelka@netbeans.org> Log: #206122 - IllegalStateException: Not locker. lockThread=null
verified in trunk namgivu, can you please verify it too, since this is hard to reproduce?
Yes sure I will
Which version should I test this? I'm using PHP Netbeans 7.1 Is it okie?
You have to use daily build - it is available here: http://bits.netbeans.org/trunk/nightly/2012-02-06_04-00-12/ thanks for your time
Integrated into 'releases', will be available in build *201202082200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/00f392a106b2 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #206122 - IllegalStateException: Not locker. lockThread=null
v.
*** Bug 217003 has been marked as a duplicate of this bug. ***
*** Bug 221931 has been marked as a duplicate of this bug. ***