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 228887 - Improve/fix livecycle of the CSS source model
Summary: Improve/fix livecycle of the CSS source model
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.4
Hardware: PC Linux
: P1 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks: 235151
  Show dependency tree
 
Reported: 2013-04-23 10:53 UTC by Vladimir Riha
Modified: 2014-10-06 13:25 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
thread dump (28.33 KB, text/x-log)
2013-04-23 10:53 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-04-23 10:53:40 UTC
Created attachment 133704 [details]
thread dump

This happened during automated test, I'm attaching thread dump. I've never seen it before so it could be "rare" => P3 for now


NetBeans IDE Dev (Build 201304222301) (#22a9b7f7da3f)
Linux version 3.2.0-34-generic running on amd64
JDK 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01; Oracle Corporation
Java(TM) SE Runtime Environment 1.7.0_21-b11
Comment 1 Marek Fukala 2013-06-25 04:06:58 UTC
Seems to be caused by the document instance refresh in the model - fix of the issue 219493. The fix doesn't seem to be clean to me now and I'll try to rewrite it which will also fix the deadlock.
Comment 2 Marek Fukala 2013-08-15 13:49:48 UTC
The css model should not hold and handle the swing document instance. Instead of that the client should be responsible for applying changes to appropriate instance of swing document. The model should just provide a facility for easy applying of the changes.