axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-554) NullPointer in HTTPTransportUtils if Content Type is missing
Date Mon, 17 Apr 2006 15:55:18 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-554?page=all ]
     
Davanum Srinivas resolved AXIS2-554:
------------------------------------

    Resolution: Fixed

Cleaned up code a bit to use default when info is absent.

thanks,
dims

> NullPointer in HTTPTransportUtils if Content Type is missing
> ------------------------------------------------------------
>
>          Key: AXIS2-554
>          URL: http://issues.apache.org/jira/browse/AXIS2-554
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: transports
>     Versions: 0.95
>  Environment: OS X, Tomcat 5.5, Java 5.0
>     Reporter: Jens Schumann
>  Attachments: SimpleHttpTest.java
>
> If a client does not send a http content type a NullPointer occurs.
> 2006-04-08 12:42:26,196 [ERROR] [http-8080-Processor25] [[AxisServlet]] Servlet.service()
for servlet AxisServlet threw exception
> java.lang.NullPointerException
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:262)
>         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:160)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>         at java.lang.Thread.run(Thread.java:613)    

-- 
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