synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evanthika Amarasiri (JIRA)" <j...@apache.org>
Subject [jira] Created: (SYNAPSE-256) NullPointerException thrown when executing sample 256 (Proxy services with the mail transport)
Date Wed, 19 Mar 2008 09:20:24 GMT
NullPointerException thrown when executing sample 256 (Proxy services with the mail transport)
----------------------------------------------------------------------------------------------

                 Key: SYNAPSE-256
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-256
             Project: Synapse
          Issue Type: Bug
         Environment: JDK1.5.0_14, Ubuntu7.10
            Reporter: Evanthika Amarasiri


Below are the steps followed to reproduce the issue

1. Enable mail transport sender of /repository/conf/axis2.xml
2. Changed the following parameters to hold user defined values
 - mail.smtp.user
 - mail.smtp.password
 - mail.smtp.from
3. Start sample 256 and send an email with the following in the mail body
4. Once the email is sent, the following exception was thrown on the Synapses console
2008-03-19 12:16:39,956 [-] [mailto-Worker-4] ERROR BaseUtils Error creating an input stream
to : 1

**********************************************************************************************************************************
java.lang.NullPointerException
        at org.apache.synapse.transport.mail.MailUtils.getInputStream(MailUtils.java:87)
        at org.apache.synapse.transport.base.BaseUtils.setSOAPEnvelope(BaseUtils.java:169)
        at org.apache.synapse.transport.mail.MailTransportListener.processMail(MailTransportListener.java:345)
        at org.apache.synapse.transport.mail.MailTransportListener.checkMail(MailTransportListener.java:193)
        at org.apache.synapse.transport.mail.MailTransportListener.onPoll(MailTransportListener.java:84)
        at org.apache.synapse.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:77)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
**********************************************************************************************************************************

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message