Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
If a com.jcraft.jsch.JSchException occurs at the authentication to the SFTP server then you don't see the com.jcraft.jsch.JSchException.
You see instead
java.lang.ClassCastException: com.jcraft.jsch.JSchException cannot be cast to java.lang.RuntimeException at com.sos.VirtualFileSystem.SFTP.SOSVfsSFtpJCraft.Authenticate(SOSVfsSFtpJCraft.java:149) at com.sos.VirtualFileSystem.DataElements.SOSVfsConnectionFactory.doAuthenticate(SOSVfsConnectionFactory.java:135) at com.sos.VirtualFileSystem.DataElements.SOSVfsConnectionFactory.getVfsHandler(SOSVfsConnectionFactory.java:92) at com.sos.VirtualFileSystem.DataElements.SOSVfsConnectionFactory.createConnectionPool(SOSVfsConnectionFactory.java:58) at com.sos.VirtualFileSystem.DataElements.SOSVfsConnectionFactory.<init>(SOSVfsConnectionFactory.java:32) at com.sos.DataExchange.SOSDataExchangeEngine.transfer(SOSDataExchangeEngine.java:848) at com.sos.DataExchange.SOSDataExchangeEngine.Execute(SOSDataExchangeEngine.java:292) at sos.scheduler.jade.Jade4JessyBaseClass.doProcessing(Jade4JessyBaseClass.java:92) at sos.scheduler.jade.Jade4JessyBaseClass.spooler_process(Jade4JessyBaseClass.java:56) com.sos.JSHelper.Exceptions.JobSchedulerException: com.jcraft.jsch.JSchException cannot be cast to java.lang.RuntimeException at com.sos.DataExchange.SOSDataExchangeEngine.Execute(SOSDataExchangeEngine.java:295) at sos.scheduler.jade.Jade4JessyBaseClass.doProcessing(Jade4JessyBaseClass.java:92) at sos.scheduler.jade.Jade4JessyBaseClass.spooler_process(Jade4JessyBaseClass.java:56)