The ToBuyBean class indeed implements Serializable  , (but its not
stored or persisted in the DB)

How can I get rid of "previously-existing ToBuyBean persistent
entities?"

On Oct 28, 10:14 am, Ian Marshall <ianmarshall...@gmail.com> wrote:
> If you are getting this exception when running on the GAE/J cloud,
> have you deleted all your previously-existing ToBuyBean persistent
> entities? (This would ensure that no ToBuyBean persistent entity
> exists that has a quantityToAdd already persisted as a string.)
>
> On Oct 27, 10:14 pm, Daniel <vedm...@gmail.com> wrote:
>
> > HI
>
> > I'm getting
>
> > Nested in javax.servlet.ServletException:
> > java.lang.ClassCastException: cannot assign instance of
> > java.lang.String to field dr.todo.beans.ToBuyBean.quantityToAdd of
> > type java.lang.Integer in instance of dr.todo.beans.ToBuyBean:
>
> > cause I had a String and now i changed it to Integer and updated my
> > application, and i deleted all _ah_SESSION entrys, but it still does
> > not work...
>
> > how can i properly get rid of all the Zombie data upon updating my
> > application from eclipse?
>
> > I don't want to wait for couple of hours , I want to get rid of all
> > the Zombies right after the upgrade...
>
> > What is the best practice for it?
>
> > Thanks ahead,
>
> > Daniel.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to