camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose <jagavi...@gmail.com>
Subject Camel Spring 2.11 + JDK 1.7_u17
Date Thu, 30 May 2013 16:01:23 GMT
Hi,

I am using camel-spring with JKD 1.7.0_17 and I am getting a
NullPointerException when the applicationContext is parsed. This is the
trace:

org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected
exception parsing XML document from class path resource
[spring/applicationContext.xml]; nested exception is
java.lang.NullPointerException
	at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)
	at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
	at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
	at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
	at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
	at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
	at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
	at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
	at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)
	at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:530)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:444)
	at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:388)
	at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293)
	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:582)
	at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
	at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
	at
weblogic.servlet.internal.EventsManager.executeContextListener(EventsManager.java:233)
	at
weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:190)
	at
weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:175)
	at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1730)
	at
weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2740)
	at
weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1704)
	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:781)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
	at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
	at
weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:212)
	at
weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:111)
	at
weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
	at
weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
	at
weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:70)
	at
weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:24)
	at
weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)
	at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
	at
weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)
	at
weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:48)
	at
weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)
	at
weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
	at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:582)
	at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:148)
	at
weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:114)
	at
weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:335)
	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:545)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: java.lang.NullPointerException
	at
com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.checkOverrideProperties(ClassBeanInfoImpl.java:205)

I have read similar issues related to previous updates of JDK7. The error
occurs occasionally. 

Does anyone have the same issue with JDK 1.7.0_17? If so, how can I fix this
issue? Is it a camel-spring issue?

Thank you very much.

Jose



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Spring-2-11-JDK-1-7-u17-tp5733517.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message