stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akila (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (STRATOS-1529) NPE thrown when deploying an application
Date Mon, 24 Aug 2015 18:21:46 GMT

     [ https://issues.apache.org/jira/browse/STRATOS-1529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Akila resolved STRATOS-1529.
----------------------------
       Resolution: Fixed
         Assignee: Akila
    Fix Version/s:     (was: FUTURE)
                   4.1.2

The issue was in the sequence of events published by AS in ApplicationBuilder class handleApplicationDeployment
method. ApplicationCreatedEvent should be published first before creating the cluster monitors.


Fixed in commit: fd7d1fb6ae479325d7994349c566500c7ea23d59

> 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
>            Assignee: Akila
>             Fix For: 4.1.2
>
>
> 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)

Mime
View raw message