Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Servlet failed with Exception java.lang.NullPointerException

761 views
Skip to first unread message

Andrea

unread,
Jun 4, 2003, 1:43:47 PM6/4/03
to
From: "Andrea" <andrea...@sistinf.it>
Sender: "Andrea" <andrea...@sistinf.it>
Reply-To: "Andrea" <andrea...@sistinf.it>
Subject: Servlet failed with Exception java.lang.NullPointerException
Newsgroups: weblogic.developer.interest.servlet
X-User-Info: 212.17.216.46
NNTP-Posting-Host: 212.17.216.46
X-Original-NNTP-Posting-Host: 212.17.216.46
Message-ID: <3ede21c3$1...@newsgroups.bea.com>
Date: 4 Jun 2003 09:43:47 -0800
X-Trace: newsgroups.bea.com 1054745027 212.17.216.46 (4 Jun 2003 09:43:47 -0800)
X-Original-Trace: 4 Jun 2003 09:43:47 -0800, 212.17.216.46
Organization: BEA NEWS SITE
Lines: 41
XPident: Unknown
Path: newsgroups.bea.com!not-for-mail
Xref: newsgroups.bea.com weblogic.developer.interest.servlet:9482


I've an Enterprise Application deployed on WLS 6.1 sp5 with an average of 30000
accesses per hour. This application is in a cluster of 4 wls's instances in a
Sun 15K. Suddenly one of the instance ( randomly ) gives the following problem:


<Jun 4, 2003 4:22:18 PM CEST> <Error> <HTTP> <[WebAppServletContext(4265202,MspClient,/MspClient)]
Servlet failed with Exception
java.lang.NullPointerException:
Start server side stack trace:
java.lang.NullPointerException
<<no stack trace available>>
End server side stack trace


Start server side stack trace:
java.lang.NullPointerException:
Start server side stack trace:
java.lang.NullPointerException
<<no stack trace available>>
End server side stack trace

<<no stack trace available>>
End server side stack trace


Start server side stack trace:
java.lang.NullPointerException:
Start server side stack trace:
java.lang.NullPointerException
<<no stack trace available>>
End server side stack trace

.........................
...........................
.......................

How can I resolve this?

Ahtesham

unread,
Jun 24, 2003, 9:32:02 AM6/24/03
to

>........................


>
>How can I resolve this?
>

Hi Andrea

A Null pointer exception is very generic.
In your case it is coming from a servlet.
This could be due to several reasons like your servlet may be
>1. Calling the instance method of a null object.
>2. Accessing or modifying the field of a null object.
All You need to do is recheck the servlet for one of the above possibilities.
and find out where exactly the above reasons are happening.

bye
Ahtesham

0 new messages