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.
I was trying to insert <%@page import. I typed in <%@ and page showed in the drop down and then when I selected it the IDE froze. It happened again when I killed the process and started it. Have attached the messages.log file. It says something about Invalid Locks in the tags formatter
Created attachment 69986 [details] messages log file
reassigning to jsp editor for evalutation
Can you please attach a threaddump if the issue is reproducible? BTW I do not see anything about locks in the messages.log.
Created attachment 70038 [details] correct messages file
Mfukala, how do i attach the thread dump? Even so when the IDE is frozen. The issue is definitely reproducible.
http://wiki.netbeans.org/GenerateThreadDump
Created attachment 70045 [details] Thread dump
The AWT thread is in runnable state and is reformatting the document. Does the reformatting ends after some time or is it endless? I cannot reproduce the issue in recent dev builds, there has been some changes to the reformatting done recently. OTOH they shouldn't influence this problem. Is the problem reproducible on any JSP file in any context, or just in a specific file/place? If the second option is true, can you attach the file and decribe where is the exact place in the document the problem happen? Thanks for your input.
Created attachment 70057 [details] jsp file
I havent had it happen anywhere else. Even in the same file which I managed to write that code without invoking the auto complete, if I leave that line and do the same thing on the next line it works. but when I delete the line and try it to do it with the code complete it freezes. I will attach the file.
Its line number 9. Sorry, missed that information last time
It works for me on latest dev build. My steps: 1) open the P15-expectationCV.jsp file 2) delete content of line 9 3) at the beginning of the line type <%@ => completion opens 4) confirm the first item => code is completed, no CPU activity, do deadlock Can you try it od a newer daily build please?
I am not able to reproduce either...
Is there a way to run netbeans 6.5 beta in debug mode or something. I can provide you guys with more information if you want.
setdosa, it would help if you download a daily build of 6.5 and check if the problem is still there. tslota, maybe you could try to reproduce on 6.5 beta so you would at least know what 'was' the problem.
I am downloading the latest nightly build and am gonna run it. But before I forget I ran the test again on the beta and this is what you have to do to reproduce the freeze 1. Open the file 2. go to first column or line 9, shift+end and delete. 3. Press backspace which will take you to previous line. 4. press enter and then type <% and from the drop down select page. press enter and the IDE freezes Will attach the messages.log file which has the lock message
Created attachment 70163 [details] Thread dump
Created attachment 70164 [details] There were 2 java processes running. this is the other one
Created attachment 70165 [details] messages log file
Doesnt seem to happen on the latest nightly build. You guys can close it if you feel so. Thanks for looking into it
Thanks for the report. I still think it would be worthy to check the problem on beta since there still can be a bug in the reformatter or lexer.
I was playing with this document for a long while in the current dev build and all seems fine. The original issue was probably caused by a perf problem in lexer/embedding, I dont remember the issue #, but it is already fixed.