You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Peter Evans <pe...@ixp.jp> on 2011/04/06 03:55:49 UTC

rc5 and planet again

following the example in the install guide, this time I could twiddle the 
top page them.

made a stupid typo in the task list fixed that (didn't see an error, but 
wasn't lookin)
and boom


http://blogs.x/roller-ui/admin/planetConfig.rol


Status Code 500
Message org.apache.roller.planet.pojos.RuntimeConfigProperty cannot be cast 
to org.apache.roller.planet.pojos.RuntimeConfigProperty
Type
Exception Roller has encountered and logged an unexpected exception.

ERROR 2011-04-06 10:50:40,616 PlanetEntriesPager:getItems - ERROR: get 
aggregation
java.lang.ClassCastException: org.apache.roller.planet.pojos.Planet cannot 
be cast to org.apache.rol
ler.planet.pojos.Planet
        at 
org.apache.roller.planet.business.jpa.JPAPlanetManagerImpl.getPlanet(JPAPlanetManagerImpl
.java:183)

--- ROOT CAUSE ---
org.apache.velocity.exception.MethodInvocationException: Invocation of 
method 'getPlanet' in  class
org.apache.roller.planet.business.jpa.JPAPlanetManagerImpl threw exception 
java.lang.ClassCastExcept
ion: org.apache.roller.planet.pojos.Planet cannot be cast to 
org.apache.roller.planet.pojos.Planet a
t templates/planet/planetrss.vm[line 34, column 43]



Re: rc5 and planet again

Posted by Dave <sn...@gmail.com>.
On Tue, Apr 5, 2011 at 9:55 PM, Peter Evans <pe...@ixp.jp> wrote:
> following the example in the install guide, this time I could twiddle the
> top page them.
>
> made a stupid typo in the task list fixed that (didn't see an error, but
> wasn't lookin) and boom
>
> http://blogs.x/roller-ui/admin/planetConfig.rol
>
>
> Status Code 500
> Message org.apache.roller.planet.pojos.RuntimeConfigProperty cannot be cast
> to org.apache.roller.planet.pojos.RuntimeConfigProperty
> Type
> Exception Roller has encountered and logged an unexpected exception.
>
> ERROR 2011-04-06 10:50:40,616 PlanetEntriesPager:getItems - ERROR: get
> aggregation
> java.lang.ClassCastException: org.apache.roller.planet.pojos.Planet cannot
> be cast to org.apache.rol
> ler.planet.pojos.Planet
>       at
> org.apache.roller.planet.business.jpa.JPAPlanetManagerImpl.getPlanet(JPAPlanetManagerImpl
> .java:183)
>
> --- ROOT CAUSE ---
> org.apache.velocity.exception.MethodInvocationException: Invocation of
> method 'getPlanet' in  class
> org.apache.roller.planet.business.jpa.JPAPlanetManagerImpl threw exception
> java.lang.ClassCastExcept
> ion: org.apache.roller.planet.pojos.Planet cannot be cast to
> org.apache.roller.planet.pojos.Planet a
> t templates/planet/planetrss.vm[line 34, column 43]

I don't understand the steps to reproduce. What did you do leading up
to this error?

Thanks,
Dave