[ 
http://jira.codehaus.org/browse/XFIRE-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=135724#action_135724
 ] 

Marcelo Collao commented on XFIRE-1003:
---------------------------------------

How can I get this fix?
How can I get the release 1.2.7?

I'm not a CXF user. I must to use a JDK 1.4.

Thanks.
Marcelo.


> Null pointer exception with wsdl4j.1.6.1.jar when WSDL consists of multiple 
> files,  Upgrade to wsdl4j-16.2.jar for fix
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: XFIRE-1003
>                 URL: http://jira.codehaus.org/browse/XFIRE-1003
>             Project: XFire
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.6
>         Environment: Win XP, Apache Tomcat, Java 1.5
>            Reporter: Srikanth P Shreenivas
>            Assignee: Tomasz Sztelak
>             Fix For: 1.2.7
>
>
> When WSDL consists of multiple files, a null pointer exception is reported in 
> Servlet container during service invocation or when browsing the WSDL URL.
> The issue seems to be with wsdl4j-1.6.1.jar.  The problem disappeared when 
> using wsdl4j-1.6.2.jar.
> Below is the dump  of exception.
> INFO: Pre-instantiating singletons in factory 
> [org.springframework.beans.factory.support.DefaultListableBeanFactory 
> defining beans 
> [xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,org.codehaus.xfire.spring.ServiceBean];
>  parent: org.springframework.beans.factory.support.DefaultListableBeanFactory 
> defining beans []; root of BeanFactory hierarchy]
> Resovling. Base: null, URI: 
> file:/D:/wtp-eclipse/lets-build-ws-v4/XfireWs/src/Service.wsdl
> Retrieving document at 'null'.
> Resovling. Base: null, URI: Interface.wsdl
> May 24, 2007 6:49:49 PM 
> org.springframework.beans.factory.support.AbstractBeanFactory 
> destroySingletons
> INFO: Destroying singletons in factory 
> {org.springframework.beans.factory.support.DefaultListableBeanFactory 
> defining beans 
> [xfire.customEditorConfigurer,xfire.serviceRegistry,xfire.transportManager,xfire,xfire.typeMappingRegistry,xfire.aegisBindingProvider,xfire.serviceFactory,xfire.servletController,xfire.messageServiceFactory,xfire.messageBindingProvider,org.codehaus.xfire.spring.ServiceBean];
>  parent: org.springframework.beans.factory.support.DefaultListableBeanFactory 
> defining beans []; root of BeanFactory hierarchy}
> May 24, 2007 6:49:49 PM org.codehaus.xfire.transport.http.XFireServlet init
> SEVERE: Error initializing XFireServlet.
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.codehaus.xfire.spring.ServiceBean' defined in class path 
> resource [META-INF/xfire/services.xml]: Initialization of bean failed; nested 
> exception is java.lang.NullPointerException: null
> java.lang.NullPointerException
>       at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at 
> org.codehaus.xfire.service.binding.ObjectServiceFactory.create(ObjectServiceFactory.java:181)
>       at 
> org.codehaus.xfire.annotations.AnnotationServiceFactory.create(AnnotationServiceFactory.java:410)
>       at 
> org.codehaus.xfire.spring.ServiceBean.afterPropertiesSet(ServiceBean.java:172)
>       at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
>       at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
>       at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
>       at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
>       at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
>       at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
>       at 
> org.codehaus.xfire.spring.XFireConfigLoader.getXFireApplicationContext(XFireConfigLoader.java:107)
>       at 
> org.codehaus.xfire.spring.XFireConfigLoader.loadContext(XFireConfigLoader.java:41)
>       at 
> org.codehaus.xfire.transport.http.XFireConfigurableServlet.loadConfig(XFireConfigurableServlet.java:86)
>       at 
> org.codehaus.xfire.transport.http.XFireConfigurableServlet.createXFire(XFireConfigurableServlet.java:54)
>       at 
> org.codehaus.xfire.transport.http.XFireServlet.init(XFireServlet.java:45)
>       at javax.servlet.GenericServlet.init(GenericServlet.java:211)
>       at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>       at 
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
>       at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
>       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)
> May 24, 2007 6:49:49 PM org.apache.catalina.core.StandardWrapperValve invoke
> SEVERE: Allocate exception for servlet XFireServlet
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'org.codehaus.xfire.spring.ServiceBean' defined in class path 
> resource [META-INF/xfire/services.xml]: Initialization of bean failed; nested 
> exception is java.lang.NullPointerException: null
> java.lang.NullPointerException
>       at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
>       at 
> org.codehaus.xfire.service.binding.ObjectServiceFactory.create(ObjectServiceFactory.java:181)
>       at 
> org.codehaus.xfire.annotations.AnnotationServiceFactory.create(AnnotationServiceFactory.java:410)
>       at 
> org.codehaus.xfire.spring.ServiceBean.afterPropertiesSet(ServiceBean.java:172)
>       at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
>       at 
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)
>       at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)
>       at 
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)
>       at 
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:275)
>       at 
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:320)
>       at 
> org.codehaus.xfire.spring.XFireConfigLoader.getXFireApplicationContext(XFireConfigLoader.java:107)
>       at 
> org.codehaus.xfire.spring.XFireConfigLoader.loadContext(XFireConfigLoader.java:41)
>       at 
> org.codehaus.xfire.transport.http.XFireConfigurableServlet.loadConfig(XFireConfigurableServlet.java:86)
>       at 
> org.codehaus.xfire.transport.http.XFireConfigurableServlet.createXFire(XFireConfigurableServlet.java:54)
>       at 
> org.codehaus.xfire.transport.http.XFireServlet.init(XFireServlet.java:45)
>       at javax.servlet.GenericServlet.init(GenericServlet.java:211)
>       at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>       at 
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
>       at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
>       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)

-- 
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


Reply via email to