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.
The problem is that the IDE get completely frozen once a css file is opened : both already existing CSS and newly created CSS file cause the IDE the freeze. The only solution I have to resume working on my project is killing the IDE and restarting it. Once a CSS file has been selected, the navigator panel view seems to correctly display the CSS file structure. The freeze occurs when trying to display the content of the file in the editor by opening it : no or only few parts of the CSS file seems to get syntax coloring : comments and sometimes random parts of the CSS. My CSS aren't malformated since even editor-generated and empty css file cause the hang to happen. Here is maybe something related in message.log (last line) : Compiler: HotSpot 64-Bit Server Compiler Heap memory usage: initial 32.0MB maximum 357.4MB Non heap memory usage: initial 34.4MB maximum 248.0MB Garbage collector: PS Scavenge (Collections=11 Total time spent=0s) Garbage collector: PS MarkSweep (Collections=1 Total time spent=0s) Classes: loaded=5854 total loaded=5854 unloaded 0 INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 2'109'620'224 ATTENTION [global]: Error in source for css properties model for property: z-index Information about my system : Product Version = NetBeans IDE 6.5 (Build 090125) Operating System = Linux version 2.6.28-gentoo running on amd64 Java; VM; Vendor = 1.6.0_12-ea; Java HotSpot(TM) 64-Bit Server VM 11.2-b01; Sun Microsystems Inc. Runtime = Java(TM) SE Runtime Environment 1.6.0_12-ea-b02 Java Home = /opt/sun-jdk-1.6.0.12_beta2/jre System Locale; Encoding = fr_CH (nb); UTF-8 Installation = /usr/share/netbeans-6.5/nb6.5 /usr/share/netbeans-6.5/ide10 /usr/share/netbeans-6.5/java2 /usr/share/netbeans-6.5/xml2 /usr/share/netbeans-6.5/webcommon1 /usr/share/netbeans-6.5/websvccommon1 /usr/share/netbeans-6.5/enterprise5 /usr/share/netbeans-6.5/gsf1 /usr/share/netbeans-6.5/php1 /usr/share/netbeans-6.5/visualweb2 /usr/share/netbeans-6.5/harness /usr/share/netbeans-6.5/groovy1 /usr/share/netbeans-6.5/platform9 Note that I tried with beta3 version and also sun-jdk-1.5.0.17, the problem remain the same.
Created attachment 76211 [details] Thread dump
Created attachment 76212 [details] message.log
After installing the IDE from the website (built version), the problem is gone. Seems like there is a problem with gentoo ebuild or from source build. Since I don't know if netbeans ppl can do something for it, I will try to ask gentoo ebuild maintainer.
I had the freeze problem with netbeans build from http://www.netbeans.org/issues/show_bug.cgi?id=157413 so it does not seem to be problem of gentoo ebuild. Each time I tried to open empty css file or css file with some content, netbeans freezed. Yesterday I forgot netbeans freezes and opened a css file, without any freeze. Since that the freeze did not occur again. I have no idea what the cause could be.
The issue has already been fixed, the CssPreview panel is not created and intialized in AWT.