stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imesh Gunaratne <im...@apache.org>
Subject NPE in Cloud Controller TopologyBuilder
Date Sun, 14 Dec 2014 06:38:15 GMT
Hi Devs,

I'm seeing the below error in the Topology Builder:

[2014-12-14 11:59:02,329]  INFO
{org.apache.stratos.cloud.controller.messaging.topology.TopologyEventPublisher}
-  Publishing member terminated event: [service] tomcat [cluster]
tomcat.tomcat.domain  [instance-id] single-cartridge-app_1
[network-partition] network-p1 [partition] p1 [member]
tomcat.tomcat.domain470d1b7a-4493-4a29-884c-b3818d8fd8a6 [groupId] null
[2014-12-14 11:59:02,345] ERROR
{org.apache.stratos.cloud.controller.services.impl.InstanceTerminator} -
 Instance termination failed! MemberContext
[memberId=tomcat.tomcat.domain470d1b7a-4493-4a29-884c-b3818d8fd8a6,
nodeId=89640c15-8698-4eb8-82b4-78cf899f2c72,
instanceId=single-cartridge-app_1, clusterId=tomcat.tomcat.domain,
partition=Partition [id=p1, description=null, isPublic=false,
provider=mock, partitionMin=0, partitionMax=0, properties=Properties
[properties=[Property [name=region, value=default]]]],
cartridgeType=tomcat, privateIpAddress=10.0.0.4, publicIpAddress=20.0.0.4,
allocatedIpAddress=null, initTime=1418535571993, lbClusterId=null,
networkPartitionId=network-p1, properties=Properties [properties=[Property
[name=PRIMARY, value=false], Property [name=MIN_COUNT, value=1]]]]
java.lang.NullPointerException
at
org.apache.stratos.cloud.controller.messaging.topology.TopologyBuilder.handleMemberTerminated(TopologyBuilder.java:743)
at
org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceUtil.executeMemberTerminationPostProcess(CloudControllerServiceUtil.java:67)
at
org.apache.stratos.cloud.controller.services.impl.InstanceTerminator.run(InstanceTerminator.java:59)
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)


Thanks

-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Mime
View raw message