commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <mart...@apache.org>
Subject Re: deploy a class extend a abstract class error!
Date Mon, 06 Mar 2006 02:57:55 GMT
Which Commons component is this question related to? You should follow the
mailing list convention and prefix your subject line with the component name
in brackets. I'm afraid I don't see anything Commons-related in your
question, so I don't know which component you are trying to use (if any).

--
Martin Cooper


On 3/5/06, ι‚“εŒδΉ‰ <qiyadeng@gmail.com> wrote:
>
> I have a class:
>     BasicService.java
> Another class MineService.java:
>     public MineService extends BasicService
> My service.xml:
>
> <parameter name="ServiceClass" locked="xsd:false">
> qiya.deng.sample.imp.MineService</parameter>
>
> When I deploy it! At the service list:There is the service!And I click it
> :
> http://localhost:8080/AXIS/services/DengService?wsdl
>
> there is some wrong with the xml,I get the source:
>
> java.lang.NullPointerException</faultstring><faultactor>
> http://myAxisServer/role/default</faultactor><detail><soapenv:Exception>
> org.apache.axis2.AxisFault: null; nested exception is:
> java.lang.NullPointerException
> at org.apache.axis2.description.AxisService.printUsingWOM(AxisService.java
> :373)
> at org.apache.axis2.description.AxisService.printWSDL(AxisService.java
> :322)
> at org.apache.axis2.transport.http.ListingAgent.listService(
> ListingAgent.java:469)
> at org.apache.axis2.transport.http.ListingAgent.handle(ListingAgent.java
> :393)
> at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:111)
> 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:667)
> 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:595)
> Caused by: java.lang.NullPointerException
> at org.apache.axis2.wsdl.writer.WOMtoWSDL11Writer.writePorttypeOperations(
> WOMtoWSDL11Writer.java:498)
> at org.apache.axis2.wsdl.writer.WOMtoWSDL11Writer.writePortTypes(
> WOMtoWSDL11Writer.java:463)
> at org.apache.axis2.wsdl.writer.WOMtoWSDL11Writer.writeWOM(
> WOMtoWSDL11Writer.java:161)
> at org.apache.axis2.description.AxisService.printUsingWOM(AxisService.java
> :370)
> ... 20 more
>
> When I depoly
> <parameter name="ServiceClass" locked="xsd:false">
> qiya.deng.sample.BasicService</parameter>
> everything is normal.
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message