axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe" <dee...@opensource.lk>
Subject Re: [jira] Created: (AXIS2-89) NPE in AxisServlet
Date Fri, 22 Jul 2005 05:12:32 GMT
can up please build a war file and check , I mean rather than replacing  0.9 
jar.

Thanks,
 Deepal
................................................................
~Future is Open~



----- Original Message ----- 
From: "Jayachandra Sekhara Rao Sunkara (JIRA)" <jira@apache.org>
To: <axis-dev@ws.apache.org>
Sent: Thursday, July 21, 2005 5:08 PM
Subject: [jira] Created: (AXIS2-89) NPE in AxisServlet


> NPE in AxisServlet
> ------------------
>
>         Key: AXIS2-89
>         URL: http://issues.apache.org/jira/browse/AXIS2-89
>     Project: Apache Axis 2.0 (Axis2)
>        Type: Bug
>  Components: core
> Environment: Tomcat5.0 servlet container
>    Reporter: Jayachandra Sekhara Rao Sunkara
>    Priority: Blocker
>
>
> I built the latest svn sources and replaced the axis2 jar of 0.9 release 
> with the latest jar. And restarted Tomcat. Strangely the services didn't 
> get deployed (even the default Version service) and the servlet container 
> logs show the following NPE
>
> java.lang.NullPointerException
> javax.servlet.GenericServlet.getServletContext(GenericServlet.java:159)
> org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:80)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> Looks the following line newly added in AxisServlet.java doesn't check for 
> nullity.
>
> ConfigurationContext configContext =
>            (ConfigurationContext) 
> getServletContext().getAttribute(CONFIGURATION_CONTEXT);
>
> Can someone fix this at the earliest.
>
> Thank you
> Jayachandra
>
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>   http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>   http://www.atlassian.com/software/jira
>
>
> 



Mime
View raw message