chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron DiFrango (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CMIS-542) Null Pointer Exception when combine with JAX-WS Client
Date Mon, 18 Jun 2012 20:39:44 GMT

     [ https://issues.apache.org/jira/browse/CMIS-542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ron DiFrango resolved CMIS-542.
-------------------------------

    Resolution: Unresolved

This will be moved from a bug to an enhancement request for Weblogic.
                
> Null Pointer Exception when combine with JAX-WS Client
> ------------------------------------------------------
>
>                 Key: CMIS-542
>                 URL: https://issues.apache.org/jira/browse/CMIS-542
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client-bindings
>    Affects Versions: OpenCMIS 0.6.0
>         Environment: Weblogic Server 10.3.2 and 10.3.5
>            Reporter: Ron DiFrango
>            Priority: Blocker
>
> I am working on a project where we have JAX-WS client that are compile with wsimport.
 We are now trying to integrate the Chemistry API's into the mix and when we do, we get the
following exception when we attempt to bind JAX-WS compiled clients:
> org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'issoService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation
of init method failed; nested exception is java.lang.NullPointerException
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
> 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567)
> 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
> 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
> 	at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:384)
> 	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
> 	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
> 	at com.oracle.weblogic.wsee.wrapper.org.springframework.web.context.ContextLoaderListener.contextInitialized(Unknown
Source)
> 	at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
> 	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
> 	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
> 	at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
> 	at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
> 	at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
> 	at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
> 	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
> 	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
> 	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
> 	at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
> 	at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
> 	at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
> 	at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
> 	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
> 	at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
> 	at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
> 	at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
> 	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
> 	at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
> 	at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
> 	at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
> 	at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
> 	at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
> 	at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
> 	at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
> 	at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
> 	at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
> 	at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
> 	at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
> 	at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
> 	at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
> 	at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
> 	at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
> 	at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
> 	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
> 	at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
> Caused by: java.lang.NullPointerException
> 	at weblogic.wsee.jaxws.spi.ClientIdentityRegistry.internalAddClientRuntimeMBean(ClientIdentityRegistry.java:844)
> 	at weblogic.wsee.jaxws.spi.ClientIdentityRegistry.addClientRuntimeMBean(ClientIdentityRegistry.java:799)
> 	at weblogic.wsee.jaxws.tubeline.standard.WseeClientTube.register(WseeClientTube.java:72)
> 	at weblogic.wsee.jaxws.tubeline.standard.WseeClientTube.<init>(WseeClientTube.java:52)
> 	at weblogic.wsee.jaxws.tubeline.standard.StandardTubelineDeploymentListener$1.createClient(StandardTubelineDeploymentListener.java:52)
> 	at weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$TubelineAssemblerImpl.createClient(WLSTubelineAssemblerFactory.java:124)
> 	at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:471)
> 	at com.sun.xml.ws.client.WSServiceDelegate.getStubHandler(WSServiceDelegate.java:697)
> 	at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:675)
> 	at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:362)
> 	at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:344)
> 	at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:383)
> 	at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:387)
> 	at javax.xml.ws.Service.getPort(Service.java:161)
> 	at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.getPortStub(JaxWsPortClientInterceptor.java:414)
> 	at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.prepare(JaxWsPortClientInterceptor.java:337)
> 	at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.afterPropertiesSet(JaxWsPortClientInterceptor.java:316)
> 	at org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean.afterPropertiesSet(JaxWsPortProxyFactoryBean.java:42)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
> 	... 50 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message