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.
When I will to edit a big CSS file (like jquery-ui CSS). Java freeze. The only solution is killing netbeans process.
Please attach the IDE thread dump. Does not seem to be related to parsing & indexing.
The thread dump how to can be found here: http://wiki.netbeans.org/GenerateThreadDump
Created attachment 108191 [details] Thread Dump Here is the Thread Dump
Thanks!
It's a kernel thread dump (it does not contain the hotspot annotations). Please attach the JVM thread dump. press Ctrl-\ in the terminal console you used to start the IDE or kill -QUIT process_id or use jstack jstack process_id Thanks
Please provide the java thread dump as described in comment #5
jstack 1864 Exception in thread "main" java.io.IOException: Premature EOF at sun.tools.attach.HotSpotVirtualMachine.readInt(HotSpotVirtualMachine.java:226) at sun.tools.attach.MacosxVirtualMachine.execute(MacosxVirtualMachine.java:175) at sun.tools.attach.HotSpotVirtualMachine.executeCommand(HotSpotVirtualMachine.java:195) at sun.tools.attach.HotSpotVirtualMachine.remoteDataDump(HotSpotVirtualMachine.java:156) at sun.tools.jstack.JStack.runThreadDump(JStack.java:159) at sun.tools.jstack.JStack.main(JStack.java:94)
This happens either when older jstack is used or it may be caused by JVM bug. In this case you need to run the IDE from Treminal and generate thread dump there. To do it: Open Terminal cd /Applications/NetBeans/NetBeans\ 7.0.app/Contents/Resources/NetBeans/bin/ ./netbeans When the IDE freezes press Ctrl and \ Thanks
Created attachment 108238 [details] Thread Dump When i press "CRTL + \" nothing happens The only report i can give you is the Mac error report
The kernel thread dump is useless, it does not contain enough of information. There is only C stack (hot spot compiled functions, no inlines). The Ctrl + '\' should work but you have to start the IDE from the Terminal using netbeans inside the NetBeans.app and press the 'Ctrl' + '\' in the Terminal (not in the IDE). Another possibility is to downloas VisualVM (http://visualvm.java.net/) and do the thread dump from it. Under the Applications/Local select the NetBeans node and in pop up menu select Thread Dump. Thanks
Ok I tried with VisualVM 1.3.2 when the thread dump clicked, I wait 10 minutes before kill NetBeans app. Result is "Take Thread Dump failed". I think the application cannot get the thread dump because the NetBeans application is not responding
It seems as a JVM problem. Which java (java -version) are you using? Thanks
Java SE 6 32bit
java version "1.6.0_24" Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326) Java HotSpot(TM) Client VM (build 19.1-b02-334, mixed mode)
This is strange. It's the same VM as I have and both VisualVM and JStack works fine for me. The application deadlock does not cause the service thread providing the jstack to freeze.
It's strange bug, that append not each time and only on my MacBook Pro (2011), I cannot reproduce the bug on my Mac Pro.
It's strange I have the same VM on a bit older MacBook and I don't have such problem. The only difference is that I run it in 64 bit mode -d64
You can try also the last possibility how to generate the thread dump. The kill -QUIT process_id. The IDE has to be started from Terminal as described above in comment #8. But it will probably not work as the VM seems to be corrupted. But it's the last chance how to get the thread dump. :-( Thanks!
I have tried this method first but nothing happend like the other method. I envisage the possibility this bug is caused by Java (not by NetBeans). I will test some other possiblities to reproduce the bug and find more explications.
May be related to bug #197340. Could you please try to generate the thread dump using "jstack -F"? Thanks.
I find something about my problem, I have deactivate the code folding and my problem is gone.