[Carbon-jira] [jira] (CARBON-12120) Null pointer Exception when serializing Messages with Null properties in JMSMessageStore

Charith Dhanushka Wickramarachchi (JIRA) jira at wso2.org
Wed Jan 4 09:15:32 EST 2012


     [ https://wso2.org/jira/browse/CARBON-12120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CARBON-12120 started by Charith Dhanushka Wickramarachchi.

> Null pointer Exception when serializing Messages with Null properties in JMSMessageStore 
> -----------------------------------------------------------------------------------------
>
>                 Key: CARBON-12120
>                 URL: https://wso2.org/jira/browse/CARBON-12120
>             Project: WSO2 Carbon
>          Issue Type: Bug
>          Components: Message Stores
>         Environment: any
>            Reporter: Charith Dhanushka Wickramarachchi
>            Assignee: Charith Dhanushka Wickramarachchi
>             Fix For: 4.0.0
>
>
> When serializing a Message with with Null Properties It will throw a Null Pointer exception at the serialization phase. 
> java.lang.NullPointerException 
>         at org.wso2.carbon.message.store.persistence.jms.util.JMSPersistentMessageHelper.createPersistentMessage(JMSPersistentMessageHelper.java:226) 
>         at org.wso2.carbon.message.store.persistence.jms.JMSMessageStore.offer(JMSMessageStore.java:118) 
>         at org.apache.synapse.mediators.store.MessageStoreMediator.mediate(MessageStoreMediator.java:82) 
>         at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60) 
>         at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114) 
>         at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:144) 
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) 
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) 
>         at org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:408) 
>         at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:259) 
>         at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173) 
>         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) 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Carbon-jira mailing list