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.

Bug 197333 - netbeans crashed when opening css file
Summary: netbeans crashed when opening css file
Status: RESOLVED WORKSFORME
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 7.1
Hardware: PC Mac OS X
: P2 normal with 3 votes (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-01 13:48 UTC by palo310
Modified: 2011-10-18 06:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
crash report (221.36 KB, text/plain)
2011-04-01 13:48 UTC, palo310
Details
The WordPress Twentyten style.css file (24.09 KB, text/css)
2011-05-16 09:23 UTC, Marek Fukala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description palo310 2011-04-01 13:48:34 UTC
Created attachment 107431 [details]
crash report
Comment 1 Petr Pisl 2011-04-04 09:05:30 UTC
Reassigning.
Comment 2 Marek Fukala 2011-04-05 10:04:19 UTC
A JVM crash, IMO nothing to do with css editor. Can you reproduce the problem repeatedly?
Comment 3 mupdegraff 2011-04-23 22:52:12 UTC
This happens every time I open a css file:

Product Version: NetBeans IDE 6.9.1 (Build 201011082200)
Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02-334
System: Mac OS X version 10.6.7 running on x86_64; MacRoman; en_US (nb)
Userdir: /Users/michaelupdegraff/.netbeans/6.9

My macbook is the new Q1 2011 version.
Comment 4 Marek Fukala 2011-04-26 12:19:24 UTC
And it does not happen if you open any other kind of file? Could you possibly run netbeans with a new userdir and try it again. I still doubt it has anything to do with the css editor...
Comment 5 akira28 2011-05-12 14:55:11 UTC
I can confirm this bug. I'm opening the style.css present in the TwentyTen (v1.2) Wordpress theme. I have a MacBook Pro early 2011 model. Symptoms are the same, as the crash report.
Please solve this bug that prevent me to use NetBeans full time. Right now I'm bound to develop with eclipse just for two websites :(
Comment 6 Marek Fukala 2011-05-16 09:22:11 UTC
I have no problems opening the mentioned file (attached for further usage) using 1.6.0_22 in both server and client VMs. I'm going to update java to update 24 and give it another try...
Comment 7 Marek Fukala 2011-05-16 09:23:50 UTC
Created attachment 108311 [details]
The WordPress Twentyten style.css file
Comment 8 Marek Fukala 2011-05-16 11:47:21 UTC
Works for me *in latest dev build* on both VM types:

  Java; VM; Vendor        = 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02-334; Apple Inc.

  Java; VM; Vendor        = 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02-334; Apple Inc.

My Mac's System Version:	Mac OS X 10.6.7 (10J869)

Is there a special setup I must do to reproduce it or is it just enough to create an ant-based web project, copy the css file there and open it?

Can you also please to reproduce the issue with new userdir and latest dev build? Thanks.
Comment 9 webnicko 2011-05-19 23:18:26 UTC
I've got the same issue with another CSS files. Netbeans crash with CSS which seems to be large... I've not the issus with Eclipse or Dreamweaver.

I've a MacBook Pro Q1 2011
Comment 10 webnicko 2011-05-20 16:08:18 UTC
In addition to my comment :

Java : java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)

MacBook Pro 15" : 10.6.7 64bits

With 32 bits, the issue is the same. I have downloaded the Netbeans Dev and it seems to be ok.

My CSS file have ~ 7.000 lines
Comment 11 philgmo 2011-05-26 17:55:11 UTC
I was having this problem, with both large CSS and large Java files (where "large" is more than 3000 lines), both on the 7.0 release version and on the latest development build.

What finally stopped the crashes for me was going back to the standard NetBeans theme (was using Norway Today).  It's a shame if that's the problem; after enough hours of looking at code I find light text on dark to cause much less eye strain.
Comment 12 mdrollette 2011-08-05 16:38:33 UTC
Same problems. Early 2011 MacBook Pro  OSX Lion. It only crashes when the code navigator is open. If i close the navigator before opening a css file everything is peachy.
Comment 13 MackSix 2011-10-18 02:33:17 UTC
This looks like a P2 to me. Correct me if I am wrong. :)

http://wiki.netbeans.org/BugPriorityGuidelines
Comment 14 Marek Fukala 2011-10-18 06:05:08 UTC
The issue is not reproducible on any big CSS file regardless whether the navigator is opened or not. I've tried to search for memory leaks as well, but there seems to be none. I really do not know what I can do more the issue, I'm sorry. This looks like a JVM crash to me anyway.

What I can propose is to use latest JDK version available and possibly latest daily build of 7.1. 

I understand this is not the expected reaction, but given the details I cannot do much for resolving the issue.