[ http://wso2.org/jira/browse/WSAS-180?page=all ]

Afkham Azeez resolved WSAS-180.
-------------------------------

    Resolution: Fixed

> Stub generation fails for echo service when 'generate test case' option is 
> true
> -------------------------------------------------------------------------------
>
>                 Key: WSAS-180
>                 URL: http://wso2.org/jira/browse/WSAS-180
>             Project: WSO2 WSAS
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: jdk1.4, Win XP
>            Reporter: Charitha Kankanamge
>         Assigned To: Afkham Azeez
>             Fix For: Nightly
>
>
> Stub generation fails when setting 'generate test case' option true in 'Echo' 
> service. Note that this works fine with other services (eg:- version)
> Steps to reproduce:
> ===============
> 1. Log in to the management console
> 2. Navigate to Services > echo > Stub Generation
> 3. Select 'Generate Testcase = True'
> 4. Click on generate without changing the other default options
> 'Error occurred during code generation. Compile failed; see the compiler 
> error output for details.' error appears.
> Following error can be seen in the logs.
> ERROR [2006-12-11 16:55:54,843]  Unable to handle request
> org.apache.axis2.AxisFault: Error occurred during code generation. Compile 
> faile
> d; see the compiler error output for details.; nested exception is:
>         java.lang.RuntimeException: Error occurred during code generation. 
> Compi
> le failed; see the compiler error output for details.
>         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:321)
>         at 
> org.wso2.wsf.common.codegen.service.java.JavaClientGeneratorServiceMe
> ssageReceiverInOut.invokeBusinessLogic(JavaClientGeneratorServiceMessageReceiver
> InOut.java:87)
>         at 
> org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(A
> bstractInOutSyncMessageReceiver.java:39)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:497)
>         at 
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReq
> uest(HTTPTransportUtils.java:326)
>         at 
> org.apache.axis2.transport.http.util.SOAPUtil.processPostRequest(SOAP
> Util.java:62)
>         at 
> org.wso2.wsas.transport.jetty.Axis2SOAPHandler.processPostRequest(Axi
> s2SOAPHandler.java:43)
>         at 
> org.wso2.wsas.transport.jetty.Axis2Handler.handle(Axis2Handler.java:1
> 59)
>         at 
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:6
> 27)
>         at 
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHand
> lerCollection.java:149)
>         at 
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.
> java:123)
>         at 
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
> 41)
>         at org.mortbay.jetty.Server.handle(Server.java:269)
>         at 
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:43
> 0)
>         at 
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnectio
> n.java:701)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:617)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:193)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
>         at 
> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.
> java:208)
>         at 
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool
> .java:475)
> Caused by: java.lang.RuntimeException: Error occurred during code generation. 
> Co
> mpile failed; see the compiler error output for details.
>         at 
> org.wso2.wsf.common.codegen.service.java.JavaClientGeneratorService.g
> enerate(JavaClientGeneratorService.java:154)
>         at 
> org.wso2.wsf.common.codegen.service.java.JavaClientGeneratorServiceMe
> ssageReceiverInOut.invokeBusinessLogic(JavaClientGeneratorServiceMessageReceiver
> InOut.java:52)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev

Reply via email to