I have exactly the same error - I was abt to file a jira - seems like a bug
in the REST implementation of axis2. Can anyone confirm if this is a bug?

thanks
Anamitra


                                                                       
             "Fabien Couble"                                           
             <fabien.couble.ex                                         
             [EMAIL PROTECTED]                                          To
             om>                       <axis-user@ws.apache.org>       
                                                                        cc
             06/30/2006 08:30                                          
             AM                                                    Subject
                                       [Axis2] REST invocation problem 
                                                                       
             Please respond to                                         
             [EMAIL PROTECTED]                                         
                  he.org                                               
                                                                       
                                                                       




Hi everybody,
I have an error when I want to invoke a module in REST manner like
http://localhost:8080/axis2/rest/MyService/echo.
The error is the following:
ERROR
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/axis2].[AxisRESTServlet]
  - "Servlet.service()" pour la servlet AxisRESTServlet a généré une
exception
java.lang.NullPointerException
 at
org.apache.axis2.util.SchemaUtil.handleMediaTypeURLEncoded(SchemaUtil.java:105)

 at
org.apache.axis2.transport.http.util.RESTUtil.processGetRequest(RESTUtil.java:129)

 at
org.apache.axis2.transport.http.AxisRESTServlet.doGet(AxisRESTServlet.java:36)

 at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
 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(Unknown Source)

Concerning, the service Version which is installed by default in Axis2, it
works properly!
Someone has an idea...?

Regards
Fabien COUBLE

                                                                       
 This message contains information that may be privileged or confidential
 and is the property of the Capgemini Group. It is intended only for the
 person to whom it is addressed. If you are not the intended recipient, you
 are not authorized to read, print, retain, copy, disseminate, distribute,
 or use this message or any part thereof. If you receive this message in
 error, please notify the sender immediately and delete all copies of this
 message.                                                              
                                                                       
                                                                       




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to