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

Gert Vanthienen resolved SM-1093.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1.3

Right you are, missed that one...  

It was already fixed in 3.2 while adding the rename-after-upload feature.  Here 
is the fix for the 3.1.3 branch: 
http://svn.apache.org/viewvc?view=rev&revision=582204

> 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
>             Fix For: 3.1.3
>
>
> 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