HI Martin,

This particular issue[1]  had already been fixed in
ac1711b94e24f2307f5b74171cb928f0f446e538 last monday. Can you take a pull
and try the same?

Thanks,
Reka

[1] TID: [0] [STRATOS] [2015-05-21 01:55:12,415] ERROR
{org.apache.stratos.messaging.message.receiver.topology.TopologyEventMessageDelegator}
-  Failed to retrieve topology event message
java.lang.NullPointerException
    at
org.apache.stratos.autoscaler.monitor.Monitor.getInstancesByParentInstanceId(Monitor.java:190)
    at
org.apache.stratos.autoscaler.applications.dependency.DependencyTree.traverseGraphByLevel(DependencyTree.java:156)
    at
org.apache.stratos.autoscaler.applications.dependency.DependencyTree.traverseGraphByLevel(DependencyTree.java:163)
    at
org.apache.stratos.autoscaler.applications.dependency.DependencyTree.getStarAbleDependenciesByTermination(DependencyTree.java:147)
    at
org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor.startDependencyOnTermination(ParentComponentMonitor.java:185)
    at
org.apache.stratos.autoscaler.monitor.component.ParentComponentMonitor.onChildTerminatedEvent(ParentComponentMonitor.java:470)
    at
org.apache.stratos.autoscaler.monitor.component.GroupMonitor.onTerminationOfInstance(GroupMonitor.java:500)
    at
org.apache.stratos.autoscaler.monitor.component.GroupMonitor.onChildStatusEvent(GroupMonitor.java:469)
    at
org.apache.stratos.autoscaler.monitor.events.builder.MonitorStatusEventBuilder.notifyParent(MonitorStatusEventBuilder.java:86)
    at
org.apache.stratos.autoscaler.monitor.events.builder.MonitorStatusEventBuilder.handleClusterStatusEvent(MonitorStatusEventBuilder.java:40)
    at
org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor.notifyParentMonitor(ClusterMonitor.java:195)
    at
org.apache.stratos.autoscaler.event.receiver.topology.AutoscalerTopologyEventReceiver$8.onEvent(AutoscalerTopologyEventReceiver.java:321)
    at
org.apache.stratos.messaging.listener.EventListener.update(EventListener.java:42)
    at java.util.Observable.notifyObservers(Observable.java:159)
    at
org.apache.stratos.messaging.event.EventObservable.notifyEventListeners(EventObservable.java:51)
    at
org.apache.stratos.messaging.message.processor.topology.ClusterInstanceTerminatedProcessor.doProcess(ClusterInstanceTerminatedProcessor.java:132)
    at
org.apache.stratos.messaging.message.processor.topology.ClusterInstanceTerminatedProcessor.process(ClusterInstanceTerminatedProcessor.java:64)
    at
org.apache.stratos.messaging.message.processor.topology.ClusterRemovedMessageProcessor.process(ClusterRemovedMessageProcessor.java:65)
    at
org.apache.stratos.messaging.message.processor.topology.ClusterInstanceInactivateProcessor.process(ClusterInstanceInactivateProcessor.java:73)
    at
org.apache.stratos.messaging.message.processor.topology.ClusterInstanceActivatedProcessor.process(ClusterInstanceActivatedProcessor.java:73)
    at
org.apache.stratos.messaging.message.processor.topology.ClusterCreatedMessageProcessor.process(ClusterCreatedMessageProcessor.java:67)
    at
org.apache.stratos.messaging.message.processor.topology.ApplicationClustersRemovedMessageProcessor.process(ApplicationClustersRemovedMessageProcessor.java:63)
    at
org.apache.stratos.messaging.message.processor.topology.ApplicationClustersCreatedMessageProcessor.process(ApplicationClustersCreatedMessageProcessor.java:65)
    at
org.apache.stratos.messaging.message.processor.topology.ServiceRemovedMessageProcessor.process(ServiceRemovedMessageProcessor.java:64)
    at
org.apache.stratos.messaging.message.processor.topology.ServiceCreatedMessageProcessor.process(ServiceCreatedMessageProcessor.java:65)
    at
org.apache.stratos.messaging.message.processor.topology.CompleteTopologyMessageProcessor.process(CompleteTopologyMessageProcessor.java:74)
    at
org.apache.stratos.messaging.message.processor.MessageProcessorChain.process(MessageProcessorChain.java:61)
    at
org.apache.stratos.messaging.message.receiver.topology.TopologyEventMessageDelegator.run(TopologyEventMessageDelegator.java:73)
    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)


On Thu, May 21, 2015 at 7:57 AM, Martin Eppel (meppel) <mep...@cisco.com>
wrote:

>
>
> Hi,
>
>
>
> One of our regressing tests is failing. I am currently using the code up
> to the following commit from 05-15:
>
>
>
> commit 0bbd3cae7119f6ca66c1a883db5052b0fb9caf12
>
> Author: anuruddhal <anuruddha...@gmail.com>
>
> Date:   Fri May 15 18:19:38 2015 +0530
>
>
>
> [image: cid:image001.png@01D08779.EA819DA0]
>
>
>
> The test which is failing is as follows:
>
>
>
> Nested grouping, startupOrder:
>
> G1[c5 -> c4 : terminate-all] -> G2[c3 -> c2-> c1 : terminate-dependents]
>
>
>
> Expected behavior:  after terminating c2, c1 should be terminated and then
> restarted in the order c2 -> c1
>
> Observed behavior:
>
> after terminating c2 , c1 gets terminated : ok
>
> restart of c2 -> c1 : fails
>
>
>
>  Please find attached logs, artifacts
>
>
>
> Thanks
>
>
>
> Martin
>



-- 
Reka Thirunavukkarasu
Senior Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Reply via email to