jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller" <thomas.tom.muel...@gmail.com>
Subject Re: null pointer exception
Date Wed, 20 Jun 2007 14:26:29 GMT
Hi,

I would have a good look at line 284 in the file JackrabbitBlogEntryDAO.java.

Thomas


On 6/20/07, siraj ahmed <siraj.ahmed@hurix.com> wrote:
> I am getting problem when I clicking a button what may be reason
>
> javax.servlet.ServletException
>         org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
>         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
>         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
>         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
>         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> *root cause*
>
> java.lang.NullPointerException
>         com.onjava.blog.data.dao.impl.JackrabbitBlogEntryDAO.attachFileToBlogEntry(JackrabbitBlogEntryDAO.java:284)
>         com.onjava.blog.ui.action.AttachFileAction.execute(AttachFileAction.java:29)
>         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
>         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
>         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
>         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
> -----------------------------------------------------------
> Hurix Mumbai telephone numbers have changed. New numbers are:
>
> Mumbai 1: Simran Center -    +91 22 6677 4888
>
> Mumbai 2: Solitiare Center - +91 22 6709 6888
> ===========================================================
> ***Disclaimer***
>
>
> This email, and any attachments ("this email"), is confidential. If you are not the addressee
> please tell the sender immediately, and destroy this email without using, sending or
storing
> it. Any opinions, express or implied, in this email, are those of the sender, and are
not
> necessarily approved by Hurix Systems. Except as expressly stated, this e-mail should
not be
> regarded as an offer, solicitation, recommendation or agreement to buy or sell products
or
> services, or to enter into any contract. E-mail transmissions are not secure and may
suffer
> errors, viruses, delay, interception and amendment. Hurix Systems does not accept liability
> for damage caused by any of the foregoing.
>
> HURIX SYSTEMS MAY MONITOR ALL INCOMING AND OUTGOING MAILS
> ============================================================
>

Mime
View raw message