Dan, Even tried to run with mvn2.0.4 ... and still same problem ...
-danny -----Original Message----- From: Dan Diephouse (JIRA) [mailto:[EMAIL PROTECTED] Sent: Thursday, May 04, 2006 2:29 PM To: [email protected] Subject: [xfire-dev] [jira] Reopened: (XFIRE-381) "java.lang.OutOfMemoryError: Java heap space" caused by circular dependencies in wsdl and xsd. [ http://jira.codehaus.org/browse/XFIRE-381?page=all ] Dan Diephouse reopened XFIRE-381: --------------------------------- >From the list: And got NullpointerException: Retrieving document at 'http://www.rakis.com/webservices/47/definitions/runtime-main.wsdl', relative to 'C:\work\securedfunding.com\trunk'. Retrieving schema wsdl:imported from 'http://www.rakis.com/webservices/47/definitions/runtime-message-types.x sd', relative to 'http://www.rakis.com/webservices/47/definitions/runtime-main.wsdl'. Retrieving schema at 'http://www.rakis.com/webservices/47/definitions/runtime-data-types.xsd' , relative to 'http://www.rakis.com/webservices/47/definitions/runtime-message-types.x sd'. Retrieving schema at 'http://www.rakis.com/webservices/47/definitions/runtime-message-types.x sd', relative to 'http://www.rakis.com/webservices/47/definitions/runtime-data-types.xsd' . Retrieving schema at 'http://www.rakis.com/webservices/47/definitions/common-data-types.xsd', relative to 'http://www.rakis.com/webservices/47/definitions/runtime-data-types.xsd' . Retrieving schema at 'http://www.rakis.com/webservices/47/definitions/common-data-types.xsd', relative to 'http://www.rakis.com/webservices/47/definitions/runtime-message-types.x sd'. Retrieving schema wsdl:imported from 'http://www.rakis.com/webservices/47/definitions/runtime-header-types.xs d', relative to 'http://www.rakis.com/webservices/47/definitions/runtime-main.wsdl'. Retrieving schema at 'http://www.rakis.com/webservices/47/definitions/common-data-types.xsd', relative to 'http://www.rakis.com/webservices/47/definitions/runtime-header-types.xs d'. May 4, 2006 1:44:51 PM org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder processImports INFO: Adding wsdl definition http://www.rakis.com/webservices/47/definitions/runtime-main.wsdl with baseURI of C:\work\securedfunding.com\trunk May 4, 2006 1:44:51 PM org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder processImports INFO: Adding wsdl definition http://www.rakis.com/webservices/47/definitions/runtime-message-types.xs d with baseURI of http://www.rakis.com/webservices/47/definitions/runtime-main.wsdl May 4, 2006 1:44:51 PM org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder processImports INFO: Adding wsdl definition http://www.rakis.com/webservices/47/definitions/runtime-header-types.xsd with baseURI of http://www.rakis.com/webservices/47/definitions/runtime-main.wsdl [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]@24de7dorg.ap ache.ws.commons.schema.X [EMAIL PROTECTED]@1192 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error executing ant tasks Embedded error: java.lang.NullPointerException [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant tasks at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec ycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL ifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle Failures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error executing ant tasks at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntM ojo.java:109) at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default LifecycleExecutor.java:534) ... 16 more Caused by: java.lang.NullPointerException at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:41) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntM ojo.java:99) ... 19 more Caused by: java.lang.NullPointerException at org.codehaus.xfire.wsdl11.parser.SoapBindingAnnotator.visit(SoapBindingA nnotator.java:188) at org.codehaus.xfire.wsdl11.parser.WSDLServiceConfigurator.visit(WSDLServi ceConfigurator.java:271) at org.codehaus.xfire.wsdl11.parser.WSDLServiceConfigurator.configure(WSDLS erviceConfigurator.java:181) at org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLServiceBui lder.java:198) at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:69) at org.codehaus.xfire.gen.WsGenTask.execute(WsGenTask.java:37) ... 23 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10 seconds [INFO] Finished at: Thu May 04 13:44:51 PDT 2006 [INFO] Final Memory: 4M/8M [INFO] ------------------------------------------------------------------------ Any idea what went wrong? > "java.lang.OutOfMemoryError: Java heap space" caused by circular dependencies in wsdl and xsd. > ------------------------------------------------------------------------ ---------------------- > > Key: XFIRE-381 > URL: http://jira.codehaus.org/browse/XFIRE-381 > Project: XFire > Type: Bug > Components: Generator > Versions: 1.1-RC1 > Environment: JDK1.5 on WIN XP PRO > Reporter: Danny Trieu > Assignee: Dan Diephouse > Priority: Blocker > Fix For: 1.1 > > > "java.lang.OutOfMemoryError: Java heap space" occured why generating the client proxy and server stuff from WSDL that has <wsdl:import namespace="http://www.rakis.com/webservices/47/RakisRuntime/external-wsd l/> which inturns has other XSD and wsdl import created 2 circular dependencies in it. > I also tried against AXIS2's WSDL2JAVA tool and got the StackOverflowError. > Mika Gockel explained this issue related to WS-I conformance XFire to support doc/lit over rpc/lit encoding. > Thanks, > --danny > ps. you can follow the URL to get all the WSDL and XSD documents. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
