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

Evanthika Amarasiri closed ESBJAVA-448.
---------------------------------------

    Resolution: Invalid

Since this is an issue of Synapse this particular issue will be closed

> NullPointerException thrown when executing sample 256 (Proxy services with 
> the mail transport)
> ----------------------------------------------------------------------------------------------
>
>                 Key: ESBJAVA-448
>                 URL: https://wso2.org/jira/browse/ESBJAVA-448
>             Project: WSO2 ESB
>          Issue Type: Bug
>    Affects Versions: 1.6
>         Environment: JDK1.5.0_14, Ubuntu7.10
>            Reporter: Evanthika Amarasiri
>            Assignee: Ruwan Linton
>
> Below are the steps followed to reproduce the issue
> 1. Enable mail transport sender of /webapp/WEB-INF/classes/conf/axis2.xml
> 2. Changed the following parameters to hold user defined values
>  - mail.smtp.user
>  - mail.smtp.password
>  - mail.smtp.from
> 3. Sent an email with the following in the mail body
> 4. Once the email is sent, the following exception was thrown on the ESB 
> 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.
-
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

        

_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to