Problem with module and clientScript

I'm trying do to the following in the init function of my module:

	Yii::app()->clientScript->registerCssFile($strAsset.DIRECTORY_SEPARATOR.'module.css');

but I get the following error:

( ! ) Fatal error: Call to a member function recordCachingAction() on a non-object in /var/www/kittner.4selected.studio/vhost/framework/web/CClientScript.php on line 379

What am I doing wrong?

Seems like the css file is published to the asset folder, but I couldn't register it in the init function.

This issue has been fixed in SVN. BTW, you should not use DIRECTORY_SEPARATOR here because you are registering a URL which should consist of '/' only.

Ok, removed all DIRECTORY_SEPARATOR constants and updatet Yii from SVN. Now it works, perfect.

Thanks a lot!