[
http://jira.codehaus.org/browse/XFIRE-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=196311#action_196311
]
Seetharam commented on XFIRE-1146:
----------------------------------
I am also having the same issue.
Running WsGen...
wsdl : C:\Menu_WSDL\MenuServices.wsdl
package : com.tst
output : c:\src
binding : XMLBeans
externalBindings :
baseURI :
profile :
explictAnnotation : false
overwrite : false
serverStub : true
forceBare : false
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.codehaus.xfire.gen.WsGen.main(WsGen.java:116)
Caused by: org.apache.commons.logging.LogConfigurationException:
org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException (Caused by java.lang.NullPointerException)
(Caused by org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException (Caused by java.lang.NullPointerException))
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at
org.codehaus.xfire.gen.Wsdl11Generator.<clinit>(Wsdl11Generator.java:41)
... 1 more
Caused by: org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException (Caused by java.lang.NullPointerException)
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 5 more
Caused by: java.lang.NullPointerException
at
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374)
... 6 more
> CLONE -WsGen Fails to generate client code
> ------------------------------------------
>
> Key: XFIRE-1146
> URL: http://jira.codehaus.org/browse/XFIRE-1146
> Project: XFire
> Issue Type: Bug
> Components: Generator
> Affects Versions: 1.2.2
> Environment: Microsoft Windows XP SP2, Sun JDK 1.5.0_09-b01, XFire
> 1.2.2
> Reporter: Seetharam
> Assignee: Tomasz Sztelak
> Fix For: 1.2.4
>
>
> I ran the following commands from a batch file resulting in the error noted
> further below:
> set XFIRE_HOME=C:\development\tools\xfire-1.2.2
> rem set the classes
> setlocal EnableDelayedExpansion
> rem loop through the libs and add them to the class path
> set XFIRE_CLASS_PATH=%XFIRE_HOME%
> FOR %%c in ("%XFIRE_HOME%\lib\*.jar") DO set
> XFIRE_CLASS_PATH=!XFIRE_CLASS_PATH!;%%c
> set ANT_CLASS_PATH=C:\development\tools\apache-ant-1.6.5\lib\ant.jar
> set CDS_CLASS_PATH=C:\development\src\libs\SyncCustomerPartyMaster.jar
> java -cp
> %XFIRE_HOME%\xfire-all-1.2.2.jar;%XFIRE_CLASS_PATH%;%CDS_CLASS_PATH%;%ANT_CLASS_PATH%
> org.codehaus.xfire.gen.WsGen -wsdl "foo\syncCustomerPartyMaster.wsdl" -o .
> -overwrite true
> XFire WsGen Error:
> java.lang.NullPointerException
> at
> org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.isWrapped(WSDLServiceBuilder.java:539)
> at
> org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLServiceBuilder.java:377)
> at
> org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLServiceBuilder.java:187)
> at
> org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:102)
> at org.codehaus.xfire.gen.WsGen.main(WsGen.java:122)
> Exception in thread "main" java.lang.NullPointerException
> at org.codehaus.xfire.gen.WsGen.main(WsGen.java:126)
> Caused by: java.lang.NullPointerException
> at
> org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.isWrapped(WSDLServiceBuilder.java:539)
> at
> org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLServiceBuilder.java:377)
> at
> org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLServiceBuilder.java:187)
> at
> org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:102)
> at org.codehaus.xfire.gen.WsGen.main(WsGen.java:122)
> --- Nested Exception ---
> java.lang.NullPointerException
> at
> org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.isWrapped(WSDLServiceBuilder.java:539)
> at
> org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.visit(WSDLServiceBuilder.java:377)
> at
> org.codehaus.xfire.wsdl11.parser.WSDLServiceBuilder.build(WSDLServiceBuilder.java:187)
> at
> org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:102)
> at org.codehaus.xfire.gen.WsGen.main(WsGen.java:122)
> I've added an attachement that contains the schemas and the wsdl that uses
> them so that you can reproduce the error.
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email