[ 
https://issues.apache.org/activemq/browse/SM-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40285
 ] 

Guillaume Nodet commented on SM-1093:
-------------------------------------

I suppose there is a problem connecting to the ftp server, so that an exception 
is thrown, but there is this nPE in the finally block which hide the exception 
:-(

> NPE - FTP Sender Endpoint
> -------------------------
>
>                 Key: SM-1093
>                 URL: https://issues.apache.org/activemq/browse/SM-1093
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-ftp
>    Affects Versions: 3.1.1
>         Environment: Windows XP / Servicemix 3.1.1
>            Reporter: Noseda Anne
>
> FTP Sender Endpoint config :
>  <ftp:sender service="cosu:FtpService"
>             endpoint="FtpEndpoint"
>             overwrite="true"
>             uri="ftp://root:[EMAIL PROTECTED]/usr/ftp/cosu" />
> Error Log :
> ERROR - FtpComponent                   - Error processing exchange InOnly[
>   id: ID:192.168.80.76-1156f58bd83-2:1
>   status: Active
>   role: provider
>   service: {http://www.etnic.be/janus/test/cosu}FtpService
>   endpoint: FtpEndpoint
>   in: <?xml version="1.0" encoding="UTF-8"?><ftpResult>0123456789;1;MED
> 9876543210;1;ING
> </ftpResult>
> ]
> java.lang.NullPointerException
>         at 
> org.apache.servicemix.ftp.FtpSenderEndpoint.processInOnly(FtpSenderEndpoint.java:176)
>         at 
> org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:100)
>         at 
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:489)
>         at 
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:441)
>         at 
> org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
>         at 
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:595)
>         at 
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:174)
>         at 
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:176)
>         at 
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
>         at 
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
>         at 
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
>         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.

Reply via email to