Isuru Haththotuwa created STRATOS-1621:
------------------------------------------

             Summary: NPE Application Undeployment
                 Key: STRATOS-1621
                 URL: https://issues.apache.org/jira/browse/STRATOS-1621
             Project: Stratos
          Issue Type: Bug
    Affects Versions: 4.1.4
            Reporter: Isuru Haththotuwa
             Fix For: FUTURE


Following NPE can be observed in application undeployment:

[2015-11-17 09:29:19,187]  INFO 
{org.apache.stratos.autoscaler.services.impl.AutoscalerServiceImpl} -  
Application undeployment process started: [application-id] wso2as-521-app
[2015-11-17 09:29:19,220]  INFO 
{org.apache.stratos.cloud.controller.messaging.topology.TopologyBuilder} -  
Cluster Terminating started for wso2as-521-app.wso2as-521-1.wso2as-521.domain
[2015-11-17 09:29:19,240]  INFO 
{org.apache.stratos.cloud.controller.messaging.publisher.TopologyEventPublisher}
 -  Publishing Cluster terminating event: [application-id] wso2as-521-app 
[cluster id] wso2as-521-app.wso2as-521-1.wso2as-521.domain [instance-id] 
wso2as-521-app-1 
[2015-11-17 09:29:19,263]  INFO 
{org.apache.stratos.autoscaler.event.receiver.topology.AutoscalerTopologyEventReceiver}
 -  [ClusterTerminatingEvent] Received: class 
org.apache.stratos.messaging.event.topology.ClusterInstanceTerminatingEvent
[2015-11-17 09:29:19,265]  INFO 
{org.apache.stratos.autoscaler.event.publisher.InstanceNotificationPublisher} - 
 Publishing Instance Cleanup Event: [cluster] 
wso2as-521-app.wso2as-521-1.wso2as-521.domain [cluster-instance] 
wso2as-521-app-1
[2015-11-17 09:29:19,274]  INFO 
{org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor} -  Starting to 
terminate all members in cluster 
[wso2as-521-app.wso2as-521-1.wso2as-521.domain] Network Partition 
[network-partition-ec2], Partition [partition-2]
[2015-11-17 09:29:19,276]  INFO 
{org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor} -  Starting to 
terminate all members in cluster 
[wso2as-521-app.wso2as-521-1.wso2as-521.domain] Network Partition 
[network-partition-ec2], Partition [partition-1]
[2015-11-17 09:29:19,276]  INFO 
{org.apache.stratos.autoscaler.event.publisher.InstanceNotificationPublisher} - 
 Publishing Instance Cleanup Event: [cluster] 
wso2as-521-app.wso2as-521-1.wso2as-521.domain [cluster-instance] 
wso2as-521-app-1
[2015-11-17 09:29:19,275]  WARN 
{org.apache.stratos.autoscaler.status.processor.cluster.ClusterStatusActiveProcessor}
 -  No possible state change found for [type]  [cluster] 
wso2as-521-app.wso2as-521-1.wso2as-521.domain [instance] wso2as-521-app-1
[2015-11-17 09:29:19,276]  INFO 
{org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor} -  Starting to 
move all members in cluster [wso2as-521-app.wso2as-521-1.wso2as-521.domain] 
Network Partition [network-partition-ec2], Partition [partition-2] to 
termination pending list
[2015-11-17 09:29:19,284]  INFO 
{org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor} -  Starting to 
move all members in cluster [wso2as-521-app.wso2as-521-1.wso2as-521.domain] 
Network Partition [network-partition-ec2], Partition [partition-1] to 
termination pending list
[2015-11-17 09:29:19,292]  INFO 
{org.apache.stratos.cloud.controller.messaging.topology.TopologyBuilder} -  
member maintenance mode event adding status started
Exception in thread "Active to Terminating pending adder - [cluster id] 
wso2as-521-app.wso2as-521-1.wso2as-521.domain" java.lang.NullPointerException
        at 
org.apache.stratos.autoscaler.monitor.cluster.ClusterMonitor$6.run(ClusterMonitor.java:1361)
        at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to