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

Summary: Improve/fix livecycle of the CSS source model
Product: web Reporter: Vladimir Riha <vriha>
Component: CSS EditorAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: mmetelka, pjiricka
Priority: P1    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 235151    
Attachments: thread dump

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.