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 use NetBeans 6.7.1 on WinXP - all work correctly. Now I use IDE NetBeans 6.7.1 in Ubuntu 9.10 (x32). I see namy critical problems with IDE freeze (sleep): on SVN checkout and SVN update, editing php files and many other. I resolve this problem only "kill Java process". Installed all latest versions of plugins (up to date). I use version from ubuntu repository (aptitude) for Java + additional installed plugin for php.
I use Subversion plugin ans installed "subversion 1.6.5" in Ubuntu. I found problem with this component. If I set Subversion -> Show changes (or Diff, Update) - my IDE freeze. Help only "kill process". Please, fix this bug in 6.7 and I waiting 6.8. Thanks!
Please attach the profiler snapshot, thanks - http://wiki.netbeans.org/FitnessViaPartnership
I not understand - how to use this tool. I search this button - but not found. Maybe need install additional plugin and activate it?
Do you have the Memory toolbar displayed, as is stated in the article? > Make sure the Memory toolbar is displayed (step 0)
I found and install plugin. Restart IDE. Press on this "Profile" button. Click on my project folder, select Subversion -> Update. Waiting 10 seconds.... IDE freeze. I go to System monitor and kill Java process. Run IDE. Button "Profile" not pressed! No dump saved (((
I attach image and profile file after start killed IDE.
Created attachment 90705 [details] Profile image
Created attachment 90706 [details] Snapshot afret start killed IDE
Those are useless, could you then attach few thread dumps? Try svn update and when IDE freezes, switch to commandline, and create several thread dumps (at least 5) in 10 seconds period (if you're on linux, to create a thread dump press Ctrl+\). http://wiki.netbeans.org/GenerateThreadDump.
Created attachment 90720 [details] Dump created by jstack
Created attachment 90721 [details] Dump createb by press CTRL+\
1) I checked your thread dumps and there's not a single thread occupied by subversion. Are you sure you created the thread dumps when the IDE got frozen while doing svn update? 2) AWT is doing some painting - but those are classes from JDK. It's definitely not a subversion issue. Could you please attach the message log (~/.netbeans/6.7/var/log/message.log)? I would like to know what version of JDK you use.
Created attachment 90768 [details] ~/.netbeans/6.7/var/log/message.log content Also I found message.log.1 and message.log.2
> Are you sure you created the thread dumps when the IDE got frozen while doing svn update? Yes. After press SVN Update platform frozen and I go to terminal and create dump. I install IDE from Ubuntu aptitude repository for Java developers. And additionaly install plugin for SVN and PHP.
You use java 1.6, that should be OK. Could you try few more things? 1) run IDE with the following switch: -J-DsvnClientAdapterFactory=commandline - still nothing? 2) try a different look and feel: e.g. Nimbus: run IDE with: --laf com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel And again please attach a thread dump
Also this bug I see if work with DB plugin.
So i think it's not subversion related. Please the different look&feel.
Have you tried the different look&feel? Does it help?
> 1) run IDE with the following switch: > -J-DsvnClientAdapterFactory=commandline > still nothing? I run > netbeans -J-DsvnClientAdapterFactory=commandline All work good. But after use PHP editor platform freeze. I create screenshot and create dump. After this I see then plathorm wake up. > 2) try a different look and feel: e.g. Nimbus: run IDE with: > --laf com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel > And again please attach a thread dump I see startup message: > See http://java.sun.com/javase/reference for more details. > UI class not found, using default UI... After I start SVN update process I see FREEZE. I create 2 dumps and one screenshot.
Created attachment 90924 [details] Freeze and wake up in php (screenshot)
Created attachment 90925 [details] Freeze and wake up in php (stack)
Created attachment 90926 [details] Freeze on SVN update command (screenshot)
Created attachment 90927 [details] Freeze on SVN update command (stack 1)
Created attachment 90928 [details] Freeze on SVN update command (stack 2) I waiting 5 minutes - but platform NOT wake up and continue sleep
> All work good. But after use PHP editor platform freeze. That's a different issue and i believe it's already fixed in 6.8. If you want, you can file a separate issue for this. > All work good. Do you mean that if you use this switch, the SVN update works fine? That i suggest you run with the switch permanently and use the commandline client all the time. > 2) try a different look and feel: e.g. Nimbus: run IDE with: Could you try any other different look and feel? Maybe --laf javax.swing.plaf.metal.MetalLookAndFeel Do you still get 'UI class not found, using default UI'?
> Could you try any other different look and feel? Maybe --laf javax.swing.plaf.metal.MetalLookAndFeel Or directly --laf Metal
> netbeans --laf Metal Start and work well. This problem exists not all time. But one time - I see freeze, but now - all right. If this problem will in future - I create dump and attach to this task. Thanks!
> Do you still get 'UI class not found, using default UI'? Plathoem runned in standart mode (not metalic).
Created attachment 90988 [details] Freeze (after 2 seconds)
Created attachment 90989 [details] Freeze (after 10 seconds)
Created attachment 90991 [details] Freeze (after 1 minute)
I'm having this exact same problem. When I commit SVN, sometimes it freezes, sometimes it doesn't. The only way to recover it is to kill the "java" process. The commits get completed, but it's very annoying to have the entire IDE freeze. Has this issue been fixed?
> Has this issue been fixed I am affraid not, because i don't think it's subversion related. Do you get the same thread-dump? Could you attach that? Could you also try a different look&feel than GTK? Run IDE e.g. with --laf Metal.
Do you have an extra SVN server I could make commits to? The one I'm using is a production server, so I can't just make unnecessary commits to it.
Our test servers are in the intranet, sorry. But you can try kenai and create a dummy project there. http://kenai.com/
OK, so i installed Ubuntu 9.10 and played with Netbeans for several minutes: It indeed happens that the IDE gets stuck and frozen. Yet i am still convinced that it is not fully our fault, because it happened to me only with: 1) OpenJDK 1.6, which is preselected in Ubuntun 9.10 by default 2) With the GTK look&feel 3) With javahl library used as a subversion client - this library is not under our control, it is a separate rpm package in Ubuntu 9.10 So than i tried few workarounds, which i recommend to use. So either: 1) Try Sun JDK, not OpenJDK 2) Use a different look&feel - start IDE with e.g.: --laf Metal 3) Don't use javahl library as subversion client - run IDE with: -J-DsvnClientAdapterFactory=commandline I am reopenning the issue, but since there seem to be few WAs and it doesn't seem to be netbeans problem, lowering the priority to P3. Please let me know if any of the workarounds doesn't help. I will try to dig deeper and try to find a reason for this behavior.
This seems to be caused by a bug in javahl library, see http://subversion.tigris.org/issues/show_bug.cgi?id=3498 It seems to be already fixed, however not backported to 1.6 versions of subversion. For now, please either try my workarounds or try the workaround mentioned in http://subclipse.tigris.org/wiki/JavaHL#head-3a1d2d3c54791d2d751794e5d6645f1d77d95b32 - in short, uncomment the line 'password-stores = ' and set it to empty value. It seems not to be enough just to leave the line as a comment, you really need to set it to the empty value. Since it is probably not a netbeans issue, i'm closing as WONTFIX. If you are still able to reproduce even with above mentioned workarounds, please reopen and we will try to find another solution. Thanks.
*** Bug 176840 has been marked as a duplicate of this bug. ***
*** Bug 178122 has been marked as a duplicate of this bug. ***
Another workaround: After installing Ubuntu 9.10 install KDE: sudo apt-get install kubuntu-desktop Then only run NetBeans from Kubuntu GUI.
*** Bug 185482 has been marked as a duplicate of this bug. ***