[jboss-jira] [JBoss JIRA] Commented: (JBESB-303) exception in helloworld_ftp_action

Bruno Georges (JIRA) jira-events at jboss.com
Thu Jan 4 08:01:26 EST 2007


    [ http://jira.jboss.com/jira/browse/JBESB-303?page=comments#action_12349552 ] 
            
Bruno Georges commented on JBESB-303:
-------------------------------------

This error doesn't have to throw an exception. 
It is normal behavior to have an NLST [name list of remote directory] command which returns an empty file list.
For debugging purpose, this will be logged at debug level.

> exception in helloworld_ftp_action
> ----------------------------------
>
>                 Key: JBESB-303
>                 URL: http://jira.jboss.com/jira/browse/JBESB-303
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Examples
>    Affects Versions: 4.0 RC1
>            Reporter: Mark Little
>         Assigned To: Bruno Georges
>             Fix For: 4.0
>
>
>  [java] java.lang.reflect.InvocationTargetException 
>     [java]     at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) 
>     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>     [java]     at java.lang.reflect.Method.invoke(Method.java:585) 
>     [java]     at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.run(ActionProcessingPipeline.java:90) 
>     [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) 
>     [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) 
>     [java]     at java.lang.Thread.run(Thread.java:595) 
>     [java] Caused by: java.lang.NullPointerException 
>     [java]     at java.lang.String.<init>(String.java:479) 
>     [java]     at quickstart.hw_ftp_action.MyAction.displayMessage(Unknown Source) 
>     [java]     ... 7 more 
>     [java] &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& 
>     [java] 16:37:29,332 ERROR [pool-1-thread-1][ActionProcessingPipeline] Process method threw Exception 
>     [java] java.lang.reflect.InvocationTargetException 
>     [java]     at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) 
>     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
>     [java]     at java.lang.reflect.Method.invoke(Method.java:585) 
>     [java]     at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.run(ActionProcessingPipeline.java:90) 
>     [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) 
>     [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) 
>     [java]     at java.lang.Thread.run(Thread.java:595) 
>     [java] Caused by: java.lang.NullPointerException 
>     [java]     at java.lang.String.<init>(String.java:479) 
>     [java]     at quickstart.hw_ftp_action.MyAction.displayMessage(Unknown Source) 
>     [java]     ... 7 more 
>     [java] 16:37:49,491 ERROR [Thread-5][AbstractFileGateway] Can't retrieve file list 
>     [java] org.jboss.soa.esb.listeners.gateway.GatewayException: com.enterprisedt.net.ftp.FTPException: NLST command failed 
>     [java]     at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileList(RemoteGatewayListener.java:131) 
>     [java]     at org.jboss.soa.esb.listeners.gateway.AbstractFileGateway.run(AbstractFileGateway.java:102) 
>     [java]     at java.lang.Thread.run(Thread.java:595) 
>     [java] Caused by: com.enterprisedt.net.ftp.FTPException: NLST command failed 
>     [java]     at com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket.java:800) 
>     [java]     at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:2087) 
>     [java]     at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:2022) 
>     [java]     at org.jboss.internal.soa.esb.util.EdtFtpImpl.getFileListFromRemoteDir(EdtFtpImpl.java:293) 
>     [java]     at org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener.getFileList(RemoteGatewayListener.java:122) 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list