Hello,

I just finished the setup and installation of Roller 3.0 on a development
system. I read through the mailing list archive and couldn't find anyone
discussing a similar problem to what I have. Details of my environment:

Windows XP
Roller 3.0
Tomcat 5.5.20 (Including mail patch)
MySQL 5.0.27 (Connector/J 3.1.14)
Java 1.5.0_11

Here is the error in the roller.log file:

ERROR 2007-02-15 09:40:33,847 StandardWrapperValve:invoke -
Servlet.service() for servlet action threw exception
java.lang.ClassCastException: java.lang.Long
        at
org.apache.roller.business.hibernate.HibernateRefererManagerImpl.getHits(Hib
ernateRefererManagerImpl.java:393)
        at
org.apache.roller.business.hibernate.HibernateRefererManagerImpl.getDayHits(
HibernateRefererManagerImpl.java:547)
        at 
org.apache.roller.pojos.WebsiteData.getTodaysHits(WebsiteData.java:1303)
        at
org.apache.roller.ui.authoring.struts.forms.WebsiteForm.copyFrom(WebsiteForm
.java:851)
        at
org.apache.roller.ui.authoring.struts.formbeans.WebsiteFormEx.copyFrom(Websi
teFormEx.java:97)
        at
org.apache.roller.ui.authoring.struts.actions.WebsiteFormAction.edit(Website
FormAction.java:108)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        ...

URL that was called that caused the error:

http://localhost:8080/roller/roller-ui/authoring/website.do?method=edit&webl
og=tuatara

Navigating around other parts of the site sometimes give an error as well
and it is all related to the getHits method. Anyone else had a similar
problem that might offer a solution? I am going to take a quick peak at the
source and maybe find something.

--
Shawn Clark

Reply via email to