java.lang.NullPointerException
com.appriss.prototype.cross_context.test.ContextReceiverServlet.doGet(ContextReceiverServlet.java:18)
if (request != null) {
#18-> HttpSession session = request.getSession(true);
javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
com.appriss.prototype.cross_context.ContextSenderServlet.doPost(ContextSenderServlet.java:31)
-> Entire contents of doPost()
ServletContext myContext = getServletContext();
RequestDispatcher dispatcher =
getServletContext().getContext("/second_webapp").getRequestDispatcher("/backdoor.jsp");
System.out.println("Dispatcher=" + dispatcher);
#31-> dispatcher.forward(request, response);
com.appriss.prototype.cross_context.ContextSenderServlet.doGet(ContextSenderServlet.java:75)
-> Entire contents of doGet()
#75-> doPost(request, response);
javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
Any help you can give will be most helpful.
--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> >if (request != null) {
> > HttpSession session = request.getSession(true); <-- NPE
>
> The stack trace points to this line as the NPE line? Are you
> sure? Can
> you post the stack trace?
>
> Yoav Shapira
>
>
>
> This e-mail, including any attachments, is a confidential
> business communication, and may contain information that is
> confidential, proprietary and/or privileged. This e-mail is
> intended only for the individual(s) to whom it is addressed,
> and may not be saved, copied, printed, disclosed or used by
> anyone else. If you are not the(an) intended recipient,
> please immediately delete this e-mail from your computer
> system and notify the sender. Thank you.
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
=====
Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Appriss, Inc.
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]