stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "reka thirunavukkarasu (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (STRATOS-210) Error while starting Autoscaler with the default policy: economyPolicy
Date Tue, 19 Nov 2013 22:25:22 GMT

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

reka thirunavukkarasu updated STRATOS-210:
------------------------------------------

    Comment: was deleted

(was: The fix of https://issues.apache.org/jira/browse/STRATOS-211 might solve this issue.
Please verify this bug with the fix of STRATOS-211.)

> Error while starting Autoscaler with the default policy: economyPolicy
> ----------------------------------------------------------------------
>
>                 Key: STRATOS-210
>                 URL: https://issues.apache.org/jira/browse/STRATOS-210
>             Project: Stratos
>          Issue Type: Bug
>    Affects Versions: 4.0.0 M2
>         Environment: The following error is not reproducible consistently. But i got
this error several times when i start Autoscaler. Due to this error, Auto scaler is not usable
after that..
> 2013-11-14 06:02:19,565] ERROR {org.apache.stratos.autoscaler.rule.AutoscalerRuleEvaluator}
-  Rule evaluate error
> org.drools.RuntimeDroolsException: $clusterContext.getPartitionCount($partition.getId())
< $partition.getPartitionMembersMin() : [Error: $clusterContext.getPartitionCount($partition.getId()):
null]
> [Near : {... $clusterContext.getPartitionCo ....}]
>              ^
> [Line: 1, Column: 1]
>     at org.drools.rule.EvalCondition.isAllowed(EvalCondition.java:119)
>     at org.drools.reteoo.EvalConditionNode.assertLeftTuple(EvalConditionNode.java:176)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.CompositeLeftTupleSinkAdapter.doPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:232)
>     at org.drools.reteoo.CompositeLeftTupleSinkAdapter.createAndPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:116)
>     at org.drools.reteoo.LeftInputAdapterNode.assertObject(LeftInputAdapterNode.java:154)
>     at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:59)
>     at org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:235)
>     at org.drools.reteoo.EntryPointNode.assertObject(EntryPointNode.java:240)
>     at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:350)
>     at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:311)
>     at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:903)
>     at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:847)
>     at org.drools.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:269)
>     at org.apache.stratos.autoscaler.rule.AutoscalerRuleEvaluator.evaluate(AutoscalerRuleEvaluator.java:81)
>     at org.apache.stratos.autoscaler.rule.ExecutorTaskScheduler$1.run(ExecutorTaskScheduler.java:60)
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:744)
> Caused by: [Error: $clusterContext.getPartitionCount($partition.getId()): null]
> [Near : {... $clusterContext.getPartitionCo ....}]
>              ^
> [Line: 1, Column: 1]
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:416)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:143)
>     at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159)
>     at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115)
>     at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:108)
>     at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85)
>     at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123)
>     at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119)
>     at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:113)
>     at org.mvel2.MVEL.executeExpression(MVEL.java:930)
>     at org.drools.base.mvel.MVELEvalExpression.evaluate(MVELEvalExpression.java:101)
>     at org.drools.rule.EvalCondition.isAllowed(EvalCondition.java:114)
>     ... 37 more
> Caused by: java.lang.reflect.InvocationTargetException
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:1104)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:987)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:377)
>     ... 48 more
> Caused by: java.lang.NullPointerException
>     at org.apache.stratos.autoscaler.ClusterContext.getPartitionCount(ClusterContext.java:157)
>     ... 55 more
> [2013-11-14 06:02:34,570] ERROR {org.apache.stratos.autoscaler.rule.AutoscalerRuleEvaluator}
-  Rule evaluate error
> org.drools.RuntimeDroolsException: $clusterContext.getPartitionCount($partition.getId())
< $partition.getPartitionMembersMin() : [Error: $clusterContext.getPartitionCount($partition.getId()):
null]
> [Near : {... $clusterContext.getPartitionCo ....}]
>              ^
> [Line: 1, Column: 1]
>     at org.drools.rule.EvalCondition.isAllowed(EvalCondition.java:119)
>     at org.drools.reteoo.EvalConditionNode.assertLeftTuple(EvalConditionNode.java:176)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.CompositeLeftTupleSinkAdapter.doPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:232)
>     at org.drools.reteoo.CompositeLeftTupleSinkAdapter.createAndPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:116)
>     at org.drools.reteoo.LeftInputAdapterNode.assertObject(LeftInputAdapterNode.java:154)
>     at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:59)
>     at org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:235)
>     at org.drools.reteoo.EntryPointNode.assertObject(EntryPointNode.java:240)
>     at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:350)
>     at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:311)
>     at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:903)
>     at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:847)
>     at org.drools.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:269)
>     at org.apache.stratos.autoscaler.rule.AutoscalerRuleEvaluator.evaluate(AutoscalerRuleEvaluator.java:81)
>     at org.apache.stratos.autoscaler.rule.ExecutorTaskScheduler$1.run(ExecutorTaskScheduler.java:60)
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:744)
> Caused by: [Error: $clusterContext.getPartitionCount($partition.getId()): null]
> [Near : {... $clusterContext.getPartitionCo ....}]
>              ^
> [Line: 1, Column: 1]
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:416)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:143)
>     at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159)
>     at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115)
>     at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:108)
>     at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85)
>     at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123)
>     at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119)
>     at org.mvel2.MVEL.executeExpression(MVEL.java:930)
>     at org.drools.base.mvel.MVELEvalExpression.evaluate(MVELEvalExpression.java:101)
>     at org.drools.rule.EvalCondition.isAllowed(EvalCondition.java:114)
>     ... 37 more
> Caused by: java.lang.reflect.InvocationTargetException
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:1104)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:987)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:377)
>     ... 47 more
> Caused by: java.lang.NullPointerException
>     at org.apache.stratos.autoscaler.ClusterContext.getPartitionCount(ClusterContext.java:157)
>     ... 54 more
> [2013-11-14 06:02:49,575] ERROR {org.apache.stratos.autoscaler.rule.AutoscalerRuleEvaluator}
-  Rule evaluate error
> org.drools.RuntimeDroolsException: $clusterContext.getPartitionCount($partition.getId())
< $partition.getPartitionMembersMin() : [Error: $clusterContext.getPartitionCount($partition.getId()):
null]
> [Near : {... $clusterContext.getPartitionCo ....}]
>              ^
> [Line: 1, Column: 1]
>     at org.drools.rule.EvalCondition.isAllowed(EvalCondition.java:119)
>     at org.drools.reteoo.EvalConditionNode.assertLeftTuple(EvalConditionNode.java:176)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.CompositeLeftTupleSinkAdapter.doPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:232)
>     at org.drools.reteoo.CompositeLeftTupleSinkAdapter.createAndPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:116)
>     at org.drools.reteoo.LeftInputAdapterNode.assertObject(LeftInputAdapterNode.java:154)
>     at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:59)
>     at org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:235)
>     at org.drools.reteoo.EntryPointNode.assertObject(EntryPointNode.java:240)
>     at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:350)
>     at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:311)
>     at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:903)
>     at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:847)
>     at org.drools.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:269)
>     at org.apache.stratos.autoscaler.rule.AutoscalerRuleEvaluator.evaluate(AutoscalerRuleEvaluator.java:81)
>     at org.apache.stratos.autoscaler.rule.ExecutorTaskScheduler$1.run(ExecutorTaskScheduler.java:60)
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:744)
> Caused by: [Error: $clusterContext.getPartitionCount($partition.getId()): null]
> [Near : {... $clusterContext.getPartitionCo ....}]
>              ^
> [Line: 1, Column: 1]
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:416)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:143)
>     at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159)
>     at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115)
>     at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:108)
>     at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85)
>     at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123)
>     at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119)
>     at org.mvel2.MVEL.executeExpression(MVEL.java:930)
>     at org.drools.base.mvel.MVELEvalExpression.evaluate(MVELEvalExpression.java:101)
>     at org.drools.rule.EvalCondition.isAllowed(EvalCondition.java:114)
>     ... 37 more
> Caused by: java.lang.reflect.InvocationTargetException
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:1104)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:987)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:377)
>     ... 47 more
> Caused by: java.lang.NullPointerException
>     at org.apache.stratos.autoscaler.ClusterContext.getPartitionCount(ClusterContext.java:157)
>     ... 54 more
> [2013-11-14 06:03:04,578] ERROR {org.apache.stratos.autoscaler.rule.AutoscalerRuleEvaluator}
-  Rule evaluate error
> org.drools.RuntimeDroolsException: $clusterContext.getPartitionCount($partition.getId())
< $partition.getPartitionMembersMin() : [Error: $clusterContext.getPartitionCount($partition.getId()):
null]
> [Near : {... $clusterContext.getPartitionCo ....}]
>              ^
> [Line: 1, Column: 1]
>     at org.drools.rule.EvalCondition.isAllowed(EvalCondition.java:119)
>     at org.drools.reteoo.EvalConditionNode.assertLeftTuple(EvalConditionNode.java:176)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.doPropagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:196)
>     at org.drools.reteoo.SingleLeftTupleSinkAdapter.propagateAssertLeftTuple(SingleLeftTupleSinkAdapter.java:71)
>     at org.drools.reteoo.FromNode.checkConstraintsAndPropagate(FromNode.java:333)
>     at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:164)
>     at org.drools.reteoo.CompositeLeftTupleSinkAdapter.doPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:232)
>     at org.drools.reteoo.CompositeLeftTupleSinkAdapter.createAndPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:116)
>     at org.drools.reteoo.LeftInputAdapterNode.assertObject(LeftInputAdapterNode.java:154)
>     at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:59)
>     at org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:235)
>     at org.drools.reteoo.EntryPointNode.assertObject(EntryPointNode.java:240)
>     at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:350)
>     at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:311)
>     at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:903)
>     at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:847)
>     at org.drools.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:269)
>     at org.apache.stratos.autoscaler.rule.AutoscalerRuleEvaluator.evaluate(AutoscalerRuleEvaluator.java:81)
>     at org.apache.stratos.autoscaler.rule.ExecutorTaskScheduler$1.run(ExecutorTaskScheduler.java:60)
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
>     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:744)
> Caused by: [Error: $clusterContext.getPartitionCount($partition.getId()): null]
> [Near : {... $clusterContext.getPartitionCo ....}]
>              ^
> [Line: 1, Column: 1]
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:416)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:143)
>     at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159)
>     at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115)
>     at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:108)
>     at org.mvel2.MVELRuntime.execute(MVELRuntime.java:85)
>     at org.mvel2.compiler.CompiledExpression.getDirectValue(CompiledExpression.java:123)
>     at org.mvel2.compiler.CompiledExpression.getValue(CompiledExpression.java:119)
>     at org.mvel2.MVEL.executeExpression(MVEL.java:930)
>     at org.drools.base.mvel.MVELEvalExpression.evaluate(MVELEvalExpression.java:101)
>     at org.drools.rule.EvalCondition.isAllowed(EvalCondition.java:114)
>     ... 37 more
> Caused by: java.lang.reflect.InvocationTargetException
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:606)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:1104)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:987)
>     at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:377)
>     ... 47 more
> Caused by: java.lang.NullPointerException
>     at org.apache.stratos.autoscaler.ClusterContext.getPartitionCount(ClusterContext.java:157)
>     ... 54 more
>            Reporter: reka thirunavukkarasu
>            Assignee: Melan Nimesh
>             Fix For: 4.0.0 M3
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message