forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian M Dube <brian.d...@gmail.com>
Subject Re: Dispatcher ClassCastException
Date Thu, 22 Jun 2006 04:00:04 GMT
Brian M Dube wrote:
> I'm building a site with 0.8-dev using dispatcher. I created a free-form 
> (well-formed, but no DTD) XML file that describes the items for sale 
> along with their options. I'm using the locationmap and sitemap to 
> provide virtual URLs to view the items in the master file. When I 
> request a resource that exists, such as 
> http://localhost:8888/index.html, everything works fine. When I request 
> one of the virtual URLs, such as 
> http://localhost:8888/products/categoryX/itemY.html, it works as 
> intended but this error is also produced on the console: 
> cocoon://resolve.contract.html.nav-section; Line #0; Column #0; 
> java.lang.ClassCastException. Static mode also builds successfully while 
> reporting the same exception.
> 
> In either case the resource is rendered, but the nav-section contract 
> doesn't finish and the menu is compromised. I haven't been able to trace 
> the exception to its cause. Has anyone seen this? I have a custom theme 
> but I'm not implementing a custom nav-section contract.

I didn't include the nav-section-toc property in my call to the 
contract. It seems to be working now.

Brian

Mime
View raw message