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 180215 - IDE becomes unresponsive in case of recursive CSS reference
Summary: IDE becomes unresponsive in case of recursive CSS reference
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-03 07:00 UTC by Jindrich Sedek
Modified: 2010-02-05 04:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2010-02-03 07:00:09 UTC
just create a css file 'newcss.css' with an import reference of the same file.
IDE stops responding and takes 100% CPU:

"AWT-EventQueue-1" prio=10 tid=0x00007fc890010000 nid=0x638c runnable [0x00007fc89632d000]
   java.lang.Thread.State: RUNNABLE
	at java.lang.Throwable.getStackTraceElement(Native Method)
	at java.lang.Throwable.getOurStackTrace(Throwable.java:591)
	- locked <0x00007fc8c820b0e8> (a java.lang.Exception)
	at java.lang.Throwable.getStackTrace(Throwable.java:582)
	at java.lang.Thread.getStackTrace(Thread.java:1436)
	at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:172)
	at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:99)
	at org.netbeans.modules.css.editor.model.CssModel.getImportedFileModels(CssModel.java:127)
	at org.netbeans.modules.css.editor.model.CssModel.getImportedFileModelsRecursively(CssModel.java:144)
	at org.netbeans.modules.css.editor.model.CssModel.getImportedFileModelsRecursively(CssModel.java:146)
	at org.netbeans.modules.css.editor.model.CssModel.getImportedFileModelsRecursively(CssModel.java:146)
...
Comment 1 Marek Fukala 2010-02-04 13:03:58 UTC
fixed in web-main#504b8c4f0eb5
Comment 2 Quality Engineering 2010-02-04 22:28:44 UTC
Integrated into 'main-golden', will be available in build *201002050200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/504b8c4f0eb5
User: Marek Fukala <mfukala@netbeans.org>
Log: #180213 - only one non CSS file is affected by CSS refactoring
#180215 - IDE becomes unresponsive in case of recursive CSS reference
Comment 3 Jindrich Sedek 2010-02-05 04:20:56 UTC
verified
NetBeans IDE Dev (Build 201002050200)