Hello,
In our portal application, we are trying to integrate with a vendor
implementation that uses CXF.
Their implementation works fine if deployed in the portal application
WAR.
However, when we try to access their implementation from a portlet, we
keep on getting the following NULL Pointer exception:
java.lang.NullPointerException
at
org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContextAndSchemas(JAXBData
Binding.java:440)
at
org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:264)
at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildService
FromClass(ReflectionServiceFactoryBean.java:376)
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromCla
ss(JaxWsServiceFactoryBean.java:525)
at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeSe
rviceModel(ReflectionServiceFactoryBean.java:439)
at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(Refle
ctionServiceFactoryBean.java:195)
at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsService
FactoryBean.java:164)
at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(
AbstractWSDLBasedEndpointFactory.java:100)
at
org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:
52)
at
org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactory
Bean.java:102)
at
org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.
java:115)
at
org.openiam.am.integ.bluenog.helper.ServiceLookupHelper.getRoleService(S
erviceLookupHelper.java:80)
Could this be due to some JAR dependency issue. Any help would be
greatly appreciated.
Thanks.
--
Anas Mughal
[email protected]
NOTICE OF CONFIDENTIALITY: Information included in and/or attached to this
electronic mail transmission may be confidential. This electronic mail
transmission is intended for the addressee(s) only. Any unauthorized
disclosure, reproduction, or distribution of, and/or any unauthorized action
taken in reliance on the information in this electronic mail is prohibited. If
you believe that you have received this electronic mail transmission in error,
please notify the sender by reply transmission, or contact
[email protected], and delete the message without copying or disclosing it.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________