Hi Eric,

Doesn't look like the code was attached, just your build.xml. It is
difficult to determine why there's an NPE in your control without the
code. The stack trace indicates that it occurs on line 33 of your
class us.crimnet.audit.service.AuditServiceImpl, in the
saveAuditLogEntry() method. I'd look in there first to identify the
object you are using that could be null.

Kind regards,
Carlin

On 11/7/07, Qiu, Wenping <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi All:
>
>
>
> I run my web service which using the beehive control to connect database.  I
> got following error:
>
>
>
> <Nov 7, 2007 10:06:14 AM CST> <Error>
> <us.crimnet.audit.service.AuditServiceImpl
>
> > <000000> <Could not save the AuditLog object in the service.
>
> java.lang.NullPointerException
>
>         at
> us.crimnet.audit.service.AuditServiceImpl.saveAuditLogEntry(AuditServ
>
> iceImpl.java:33)
>
>         at
> us.crimnet.audit.webservice.AuditLogService.saveAuditLogEntry(AuditLo
>
> gService.java:30)
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>
> java:39)
>
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>
> sorImpl.java:25)
>
>         Truncated. see log file for complete stacktrace
>
> >
>
>
>
>
>
> The codes are attached.  Please check it.  If someone know the problem,
> please let me know.
>
>
>
> Thanks,
>
>
>
> Eric Qiu
>
>
>

Reply via email to