You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2007/10/05 11:48:22 UTC

[jira] Commented: (SM-1093) NPE - FTP Sender Endpoint

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

Gert Vanthienen commented on SM-1093:
-------------------------------------

That would be on the line that says:
{code}
            client.completePendingCommand();
{code}

Unsure how the client object can be null on that line... Is there any additional information in the logs before that?  Can you try setting the logging level to DEBUG for org.apache.servicemix.ftp, so we can figure out what exactly has been done by the sender endpoint?

> 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:etnic_admin@sinternet29c.cfwb.be/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.