Hi
When I try to save a user I get the following exception:
java.lang.NullPointerException
at org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1502)
at org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1446)
at org.apache.turbine.om.security.peer.TurbineUserPeer.doUpdate
(TurbineUserPeer.java:354)
...
Earlier I got the same exception with my project's Peer classes, but it went
away when I used the newest Torque to generate new Peer classes. I can't
seem to find any huge changes in the code, so can someone maybe tell me what
has changed so that we can fix TurbineUserPeer as well?
~ Leon
> on 1/15/01 4:41 AM, "Gopal Ramasammy-Cook" <[EMAIL PROTECTED]>
wrote:
>
> > Hi
> >
> > When adding a user (TurbineUser) to the security DB, I am trying to
update the
> > "Modified", "Created" and "LastLogin" columns. The code I am writing:
> >
> > user.setCreateDate()
> > user.updateLastLogin()
> > TurbineSecurity.saveUser(user)
> >
> > does not seem to be updating these columns.
> >
> > Any ideas what I am doing wrong?
> >
> > Regards
> >
> > Chris
>
> Nope. If it is failing, you may need to bury into the TurbineUser code to
> try to fix it. I think that there are several small bugs in there that
still
> need to be fixed.
>
> -jon
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]