You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Sajith Kariyawasam (JIRA)" <ji...@apache.org> on 2013/12/04 10:30:38 UTC

[jira] [Created] (STRATOS-251) NPE in TopicPublisher when there are no headers

Sajith Kariyawasam created STRATOS-251:
------------------------------------------

             Summary: NPE in TopicPublisher when there are no headers
                 Key: STRATOS-251
                 URL: https://issues.apache.org/jira/browse/STRATOS-251
             Project: Stratos
          Issue Type: Bug
            Reporter: Sajith Kariyawasam
            Assignee: Sajith Kariyawasam
             Fix For: 4.0.0 Alpha 1


NPE in TopicPublisher when there are no headers

ERROR {org.apache.stratos.messaging.broker.publish.TopicPublisher} -  Error while publishing to the topic: artifact-synchronization {org.apache.stratos.messaging.broker.publish.TopicPublisher}
java.lang.NullPointerException
        at org.apache.stratos.messaging.broker.publish.TopicPublisher.doPublish(TopicPublisher.java:111)
        at org.apache.stratos.messaging.broker.publish.TopicPublisher.publish(TopicPublisher.java:75)
        at org.apache.stratos.messaging.broker.publish.TopicPublisher.publish(TopicPublisher.java:67)
        at org.apache.stratos.adc.mgt.publisher.ArtifactUpdatePublisher.publish(ArtifactUpdatePublisher.java:46)
        at org.apache.stratos.adc.mgt.listener.InstanceStatusListener.onMessage(InstanceStatusListener.java:57)
        at org.wso2.andes.client.BasicMessageConsumer.notifyMessage(BasicMessageConsumer.java:728)
        at org.wso2.andes.client.BasicMessageConsumer.notifyMessage(BasicMessageConsumer.java:702)
        at org.wso2.andes.client.AMQSession$Dispatcher.notifyConsumer(AMQSession.java:3391)
        at org.wso2.andes.client.AMQSession$Dispatcher.dispatchMessage(AMQSession.java:3335)
        at org.wso2.andes.client.AMQSession$Dispatcher.access$900(AMQSession.java:3116)
        at org.wso2.andes.client.AMQSession.dispatch(AMQSession.java:3109)
        at org.wso2.andes.client.message.UnprocessedMessage.dispatch(UnprocessedMessage.java:54)
        at org.wso2.andes.client.AMQSession$Dispatcher.run(AMQSession.java:3263)
        at java.lang.Thread.run(Thread.java:662)




--
This message was sent by Atlassian JIRA
(v6.1#6144)