I did run again and it seems fine now. It could be an intermittent issue or maybe resolved by updating my source.
Regards, Vishanth On Mon, May 11, 2015 at 1:56 PM, Vishanth Balasubramaniam < vishan...@wso2.com> wrote: > Hi, > > When testing the samples in mock IaaS with single-group-app[1], I was able > to see the application is *deploying successfully* but the following > exception is in the log. > > [2015-05-11 13:45:02,870] INFO >> {org.apache.stratos.autoscaler.event.receiver.topology.AutoscalerTopologyEventReceiver} >> - Monitoring task for Cluster Monitor with cluster id >> cartridge-group-app.my-esb.esb.domain started successfully >> Exception in thread "pool-42-thread-2" org.drools.RuntimeDroolsException: >> log.debug("[obsolete-check] [network-partition] " + >> ctxt.getNetworkPartitionId() + " [partition] " + ctxt.getPartitionId() + " >> [cluster] " + clusterId +" Obsolete member count: " + >> ctxt.getObsoletedMembers().size()) : [Error: log.debug("[obsolete-check] >> [network-partition] " + ctxt.getNetworkPartitionId() + " [partition] " + >> ctxt.getPartitionId() + " [cluster] " + clusterId +" Obsolete member count: >> " + ctxt.getObsoletedMembers().size()): array index out of bounds.] >> [Near : {... log.debug("[obsolete-check] [n ....}] >> ^ >> [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:85) >> at >> org.drools.reteoo.EvalConditionNode.assertLeftTuple(EvalConditionNode.java:181) >> 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.monitor.cluster.ClusterMonitor.evaluate(ClusterMonitor.java:522) >> at >> org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor.access$300(ClusterMonitor.java:84) >> at >> org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor$2.run(ClusterMonitor.java:498) >> 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:745) >> Caused by: [Error: log.debug("[obsolete-check] [network-partition] " + >> ctxt.getNetworkPartitionId() + " [partition] " + ctxt.getPartitionId() + " >> [cluster] " + clusterId +" Obsolete member count: " + >> ctxt.getObsoletedMembers().size()): *array index out of bounds*.] >> [Near : {... log.debug("[obsolete-check] [n ....}] >> ^ >> [Line: 1, Column: 1] >> at >> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:424) >> 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.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) >> ... 21 more >> *Caused by: java.lang.ArrayIndexOutOfBoundsException*: 1 >> at >> org.mvel2.compiler.PropertyVerifier.getMethod(PropertyVerifier.java:596) >> at org.mvel2.compiler.PropertyVerifier.analyze(PropertyVerifier.java:120) >> at >> org.mvel2.compiler.ExpressionCompiler.verify(ExpressionCompiler.java:381) >> at >> org.mvel2.compiler.ExpressionCompiler._compile(ExpressionCompiler.java:250) >> at org.mvel2.util.ParseTools.subCompileExpression(ParseTools.java:2123) >> at >> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.getMethod(ReflectiveAccessorOptimizer.java:955) >> at >> org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:377) >> ... 31 more > > > [1] - applications/simple/single-group-app > > The reason of cause? Should we create a JIRA for this? > > Regards, > Vishanth > -- > *Vishanth Balasubramaniam* > Software Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: *+94771737718* > about me: *http://about.me/vishanth <http://about.me/vishanth>* > > -- *Vishanth Balasubramaniam* Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile: *+94771737718* about me: *http://about.me/vishanth <http://about.me/vishanth>*