cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prachi Damle <Prachi.Da...@citrix.com>
Subject RE: haPlanners error in fresh 4.2 checkout
Date Mon, 28 Oct 2013 17:51:27 GMT
I had encountered this sometime back ... you need to check if your componentContext.xml or
its equivalent has following defined. However I do see it is present in the 4.2 branch

  <bean id="haPlanners" class="com.cloud.utils.component.AdapterList">
   <property name="Adapters">
     <list>
         <ref bean="SkipHeuresticsPlanner" />
     </list>
   </property>
 </bean>

-----Original Message-----
From: sebgoa [mailto:runseb@gmail.com] 
Sent: Monday, October 28, 2013 6:43 AM
To: dev@cloudstack.apache.org
Subject: haPlanners error in fresh 4.2 checkout

Hi,

I just checked out the latest from 4.2 and I get this:

INFO  [factory.annotation.AutowiredAnnotationBeanPostProcessor] (main:) JSR-330 'javax.inject.Inject'
annotation found and supported for autowiring INFO  [factory.annotation.AutowiredAnnotationBeanPostProcessor]
(main:) JSR-330 'javax.inject.Inject' annotation found and supported for autowiring INFO 
[factory.annotation.AutowiredAnnotationBeanPostProcessor] (main:) JSR-330 'javax.inject.Inject'
annotation found and supported for autowiring
2013-10-28 14:41:36.018:INFO::Started SelectChannelConnector@0.0.0.0:8080
[INFO] Started Jetty Server
Exception in thread "Timer-2" org.springframework.beans.factory.BeanExpressionException: Expression
parsing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException:
EL1008E:(pos 0): Field or property 'haPlanners' cannot be found on object of type 'org.springframework.beans.factory.config.BeanExpressionContext'
	at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:142)
	at org.springframework.beans.factory.support.AbstractBeanFactory.evaluateBeanDefinitionString(AbstractBeanFactory.java:1299)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.evaluate(BeanDefinitionValueResolver.java:210)
	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:182)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.configureBean(AbstractAutowireCapableBeanFactory.java:314)
	at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(ComponentContext.java:71)
	at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:54)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 0): Field
or property 'haPlanners' cannot be found on object of type 'org.springframework.beans.factory.config.BeanExpressionContext'
	at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:208)
	at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:72)
	at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:52)
	at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:93)
	at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:88)
	at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:139)
	... 10 more


Any thoughts ?

-sebastien

Mime
View raw message