> Leon Messerschmidt wrote:
> >
> > 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)
> > ...
>
> The line 1502 in my BasePeer is blank. But assuming the change in
> BasePeer that led to the line change did not affect the error, do you
> only have one db defined?
>
Yes.
I don't have to code with me right now but it is the line where an array of
columns are returned. Just from the top of my head it looks something (but
not exactly :-) like this:
column[] columns = dbMap.getTable ( table ).getColumns()
I checked the dbMap code and it seems fine. I'll have a look again
tomorrow - maybe I can shed some light...
~ Leon
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]