Akila created STRATOS-1529: ------------------------------ Summary: NPE thrown when deploying an application Key: STRATOS-1529 URL: https://issues.apache.org/jira/browse/STRATOS-1529 Project: Stratos Issue Type: Bug Affects Versions: 4.1.1 Reporter: Akila Fix For: FUTURE
Following stack trace can be observed when deploying an application. This issue is intermittent. It is more likely to appear if several applications are deployed simultaneously. [2015-08-24 00:30:57,776] ERROR {org.apache.stratos.messaging.message.receiver.application.ApplicationsEventMessageDelegator} - Failed to retrieve application status event message java.lang.NullPointerException at org.apache.stratos.messaging.message.processor.application.ApplicationInstanceCreatedMessageProcessor.doProcess(ApplicationInstanceCreatedMessageProcessor.java:100) at org.apache.stratos.messaging.message.processor.application.ApplicationInstanceCreatedMessageProcessor.process(ApplicationInstanceCreatedMessageProcessor.java:58) at org.apache.stratos.messaging.message.processor.application.GroupInstanceTerminatingProcessor.process(GroupInstanceTerminatingProcessor.java:70) at org.apache.stratos.messaging.message.processor.application.GroupInstanceTerminatedProcessor.process(GroupInstanceTerminatedProcessor.java:70) at org.apache.stratos.messaging.message.processor.application.GroupInstanceInactivateProcessor.process(GroupInstanceInactivateProcessor.java:70) at org.apache.stratos.messaging.message.processor.application.GroupInstanceActivatedProcessor.process(GroupInstanceActivatedProcessor.java:70) at org.apache.stratos.messaging.message.processor.application.GroupInstanceCreatedProcessor.process(GroupInstanceCreatedProcessor.java:69) at org.apache.stratos.messaging.message.processor.MessageProcessorChain.process(MessageProcessorChain.java:61) at org.apache.stratos.messaging.message.receiver.application.ApplicationsEventMessageDelegator.run(ApplicationsEventMessageDelegator.java:70) 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) [2015-08-24 00:30:57,777] ERROR {org.apache.stratos.messaging.message.receiver.application.ApplicationsEventMessageDelegator} - Failed to retrieve application status event message java.lang.NullPointerException at org.apache.stratos.messaging.message.processor.application.ApplicationInstanceCreatedMessageProcessor.doProcess(ApplicationInstanceCreatedMessageProcessor.java:100) at org.apache.stratos.messaging.message.processor.application.ApplicationInstanceCreatedMessageProcessor.process(ApplicationInstanceCreatedMessageProcessor.java:58) at org.apache.stratos.messaging.message.processor.application.GroupInstanceTerminatingProcessor.process(GroupInstanceTerminatingProcessor.java:70) at org.apache.stratos.messaging.message.processor.application.GroupInstanceTerminatedProcessor.process(GroupInstanceTerminatedProcessor.java:70) at org.apache.stratos.messaging.message.processor.application.GroupInstanceInactivateProcessor.process(GroupInstanceInactivateProcessor.java:70) at org.apache.stratos.messaging.message.processor.application.GroupInstanceActivatedProcessor.process(GroupInstanceActivatedProcessor.java:70) at org.apache.stratos.messaging.message.processor.application.GroupInstanceCreatedProcessor.process(GroupInstanceCreatedProcessor.java:69) at org.apache.stratos.messaging.message.processor.MessageProcessorChain.process(MessageProcessorChain.java:61) at org.apache.stratos.messaging.message.receiver.application.ApplicationsEventMessageDelegator.run(ApplicationsEventMessageDelegator.java:70) 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) -- This message was sent by Atlassian JIRA (v6.3.4#6332)