You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Evanthika Amarasiri (JIRA)" <ji...@apache.org> on 2008/03/19 10:24:25 UTC

[jira] Updated: (SYNAPSE-256) NullPointerException thrown when executing sample 256 (Proxy services with the mail transport)

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

Evanthika Amarasiri updated SYNAPSE-256:
----------------------------------------

    Affects Version/s: NIGHTLY

> 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
>    Affects Versions: NIGHTLY
>         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