You should be able to safely ignore these errors. They are being thrown during cleanup when your JSFSession is unbound from the HttpSession.
Besides a messy log, the only problem this might cause is a memory issue in extreme cases. However, I have opened a jira issue so we can at least handle this case a little more robustly in the future.
Thanks for your reply.
I can ignore the errors but have difficulty catching up com.gargoylesoftware.htmlunit.ScriptException.
Even though I placed the catch on this in tearDown (). How to suppress this errors?
When I run the tests come up some error that applies for RichFaces java script and CSS files :
JS errors : StrictErrorReporter.runtimeError concerning framework.pack.js.xhtml and ui.pack.js.xhtml
CSS errors : DefaultCssErrorHandler.error and NumberFormatException: For input string: "0\9"
Did you get the same log ?