Nanik Tolaram wrote:
> I have 1 table a users table and 1 action and 1 .jsp page, when it reached
> the line
>
> List users = ctxt.performQuery(query);
>
> it throws the following error,
> (snip)
> root cause
>
> java.lang.NullPointerException
> at
> org.web.application.modules.action.BrowseUsersAction.execute(BrowseUsersActi
> on.java:43)
> I don't understand why this is happening. My DBObject is in the
Your DataContext is most likely null; I guess that's because you didn't
put it into the session correctly. The query is probably correct,
otherwise the stack would include DataContext.
Holger
This archive was generated by hypermail 2.0.0 : Sun Mar 09 2003 - 17:12:47 EST