Exception: java.lang.ClassCastException: java.math.BigDecimal
        at
org.apache.jetspeed.modules.actions.SendConfirmationEmail.doPerform(SendConfirmationEmail.java:83)

Line 83 of SendConfirmationEmail.java says:

userid = (Integer)(((TurbineUser)data.getUser()).getId());

Checking BaseObject.java, I find getId() returns type Object.
So, instead of a cast to Integer, would the following work better?

userid = ((TurbineUser)data.getUser()).getIdAsInt();

Note - getIdAsInt() uses:
idInt = Integer.parseInt(id.toString())

Thanks,
Randy

"Randall G. Alley" wrote:

> Thanks for the response, Raphael.
>
> Unfortunately, even with the included patched Turbine,
> I still get the error when Jetspeed tries to do e-mail.
>
> Am I the only one getting this ?
>
> [EMAIL PROTECTED] wrote:
>
> > "Randall G. Alley" wrote:
> > >
> > > Has anyone else had this error ?
> > > Which version of Turbine is Jetspeed 1.3a1 built to use ?
> > >
> >
> > You should use the turbine.jar provided with Jetspeed as it was
> > generated from Turbine-CVS-12/10/2000 + patches available at
> > http://java.apache.org/~raphael/turbine/
> > These patches are now integrated in Turbine. I'll update the Turbine
> > dependency in Jetspeed this week to use the latest Turbine.
> > >From this point on, I think we'll try to keep up with Turbine development
> > but it's not easy since there are no reference points for Turbine
> > currently.
> >
> > --
> > Rapha�l Luta - [EMAIL PROTECTED]
> > Vivendi Universal Networks - Services Manager / Paris
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Search: <http://www.mail-archive.com/[email protected]/>
> > List Help?:          [EMAIL PROTECTED]
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/[email protected]/>
> List Help?:          [EMAIL PROTECTED]



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to