cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Mehta <Nitin.Me...@citrix.com>
Subject Re: haPlanners error in fresh 4.2 checkout
Date Tue, 29 Oct 2013 18:56:00 GMT
Yeah, that should have cleaned the workspace. Did you see what Prachi
recommended below ?

On 29/10/13 2:02 AM, "sebgoa" <runseb@gmail.com> wrote:

>
>On Oct 28, 2013, at 7:14 PM, Nitin Mehta <nitin.mehta@citrix.com> wrote:
>
>> Probably cleaning up you workspace might help.
>
>Dummy question of the day then, how do I do that ?
>I did compile with `mvn clean install`
>
>
>> 
>> On 28/10/13 10:51 AM, "Prachi Damle" <Prachi.Damle@citrix.com> wrote:
>> 
>>> 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.ev
>>>al
>>> uate(StandardBeanExpressionResolver.java:142)
>>> 	at 
>>> 
>>>org.springframework.beans.factory.support.AbstractBeanFactory.evaluateBe
>>>an
>>> DefinitionString(AbstractBeanFactory.java:1299)
>>> 	at 
>>> 
>>>org.springframework.beans.factory.support.BeanDefinitionValueResolver.ev
>>>al
>>> uate(BeanDefinitionValueResolver.java:210)
>>> 	at 
>>> 
>>>org.springframework.beans.factory.support.BeanDefinitionValueResolver.re
>>>so
>>> lveValueIfNecessary(BeanDefinitionValueResolver.java:182)
>>> 	at 
>>> 
>>>org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
>>>to
>>> ry.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
>>> 	at 
>>> 
>>>org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
>>>to
>>> ry.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
>>> 	at 
>>> 
>>>org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
>>>to
>>> ry.configureBean(AbstractAutowireCapableBeanFactory.java:314)
>>> 	at 
>>> 
>>>com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(Compo
>>>ne
>>> ntContext.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.readPro
>>>pe
>>> rty(PropertyOrFieldReference.java:208)
>>> 	at 
>>> 
>>>org.springframework.expression.spel.ast.PropertyOrFieldReference.getValu
>>>eI
>>> nternal(PropertyOrFieldReference.java:72)
>>> 	at 
>>> 
>>>org.springframework.expression.spel.ast.CompoundExpression.getValueInter
>>>na
>>> l(CompoundExpression.java:52)
>>> 	at 
>>> 
>>>org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeIm
>>>pl
>>> .java:93)
>>> 	at 
>>> 
>>>org.springframework.expression.spel.standard.SpelExpression.getValue(Spe
>>>lE
>>> xpression.java:88)
>>> 	at 
>>> 
>>>org.springframework.context.expression.StandardBeanExpressionResolver.ev
>>>al
>>> uate(StandardBeanExpressionResolver.java:139)
>>> 	... 10 more
>>> 
>>> 
>>> Any thoughts ?
>>> 
>>> -sebastien
>> 
>


Mime
View raw message