You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "pankajjoshi (JIRA)" <ji...@apache.org> on 2015/05/01 21:05:09 UTC

[jira] [Created] (CXF-6382) javax.xml.ws.WebServiceException: java.lang.NullPointerException

pankajjoshi created CXF-6382:
--------------------------------

             Summary: javax.xml.ws.WebServiceException: java.lang.NullPointerException
                 Key: CXF-6382
                 URL: https://issues.apache.org/jira/browse/CXF-6382
             Project: CXF
          Issue Type: Bug
          Components: Core
    Affects Versions: 3.0.2
            Reporter: pankajjoshi
            Priority: Blocker


Hi, My application was using org.apache.cxf 2.3.1 with SOAP based web services and was working correct. I introduced some restful services in my current application and used bean validation framework from org.apache.cxf 3.0.2 version (BeanValidationFeature) so i have added this in my pom. When I am starting my server it is failing with given exception. (I think my container is not able create the instance of my soap beans because of some jar/classes). Please help

SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:/beanRefFactory.xml], factory key [sabrix];
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'test' defined in URL [file:/C:/apache-tomcat-7.0.56/apache-tomcat-
7.0.56/webapps/sabrix/WEB-INF/classes/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not ins
tantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.Bea
nCreationException: Error creating bean with name 'customerManagementEndPoint': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: java.lan
g.NullPointerException
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:386)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)