You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Isuru Haththotuwa (JIRA)" <ji...@apache.org> on 2014/01/19 19:15:19 UTC

[jira] [Commented] (STRATOS-349) NPE while unsubscribe to a cartridge

    [ https://issues.apache.org/jira/browse/STRATOS-349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13875951#comment-13875951 ] 

Isuru Haththotuwa commented on STRATOS-349:
-------------------------------------------

This is fixed by Reka (reka@apache.org) in the commit cc6bc1b24eaa3275d4dabd421ad2512308668e62. Therefore marking the issue as resolved.

> NPE while unsubscribe to a cartridge
> ------------------------------------
>
>                 Key: STRATOS-349
>                 URL: https://issues.apache.org/jira/browse/STRATOS-349
>             Project: Stratos
>          Issue Type: Bug
>          Components: Cloud Controller
>    Affects Versions: 4.0.0 M5
>            Reporter: reka thirunavukkarasu
>            Assignee: reka thirunavukkarasu
>             Fix For: 4.0.0 M6
>
>
> The following error is thrown while unsubscribe from a cartridge.
> [2014-01-09 17:58:33,108] ERROR {org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl} -  Instance termination failed. MemberContext [memberId=lahiru1.isuruh.lk.php.domain8315891c-4fc8-4fb5-8288-2b89729ef140, nodeId=ap-southeast-1/i-12f46c44, clusterId=lahiru1.isuruh.lk.php.domain, cartridgeType=php, privateIpAddress=10.144.163.177, publicIpAddress=54.255.12.250, allocatedIpAddress=null, initTime=1389289619778, lbClusterId=lb304542170.isuruh.lk.lb.domain, networkPartitionId=ec2]
> java.lang.NullPointerException
>     at org.apache.stratos.cloud.controller.topology.TopologyBuilder.handleMemberTerminated(TopologyBuilder.java:326)
>     at org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl.logTermination(CloudControllerServiceImpl.java:787)
>     at org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl.access$300(CloudControllerServiceImpl.java:59)
>     at org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl$InstanceTerminator.run(CloudControllerServiceImpl.java:448)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>     at java.lang.Thread.run(Thread.java:662)
> Exception in thread "pool-65-thread-3" org.apache.stratos.cloud.controller.exception.CloudControllerException: Instance termination failed. MemberContext [memberId=lahiru1.isuruh.lk.php.domain8315891c-4fc8-4fb5-8288-2b89729ef140, nodeId=ap-southeast-1/i-12f46c44, clusterId=lahiru1.isuruh.lk.php.domain, cartridgeType=php, privateIpAddress=10.144.163.177, publicIpAddress=54.255.12.250, allocatedIpAddress=null, initTime=1389289619778, lbClusterId=lb304542170.isuruh.lk.lb.domain, networkPartitionId=ec2]
>     at org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl$InstanceTerminator.run(CloudControllerServiceImpl.java:454)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>     at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.NullPointerException
>     at org.apache.stratos.cloud.controller.topology.TopologyBuilder.handleMemberTerminated(TopologyBuilder.java:326)
>     at org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl.logTermination(CloudControllerServiceImpl.java:787)
>     at org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl.access$300(CloudControllerServiceImpl.java:59)
>     at org.apache.stratos.cloud.controller.impl.CloudControllerServiceImpl$InstanceTerminator.run(CloudControllerServiceImpl.java:448)
>     ... 3 more



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)