Question
Maantic Inc
US
Last activity: 30 Nov 2017 23:52 EST
FTP Connection failed
Hi,
FTP Server connection shows success. when I call through connect FTP in the activity, tracer shows FTP Connection failed.
.Remote path and local file path are configured correctly.
Pega version 7.2.1
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Is there a chance that the credentials are wrong?
In some versions of Pega, the connection test may be logging in anonymously, even if credentials are provided on the form, but the credentials are used during the connection for actual transfers.
Pegasystems Inc.
IN
Hi John,
You can check for PegaRules log to check for more info on that.
If you can attach those we would be happy to help you here.
Cheers,
Ujjwal
Maantic Inc
US
here you go
here you go
Exception caught while evaluating when
java.lang.NullPointerException
at com.pegarules.generated.hasMessages_071017_WuPlp71zTApewE7i7hxpgg.hasMessages07_10_17(hasMessages_071017_WuPlp71zTApewE7i7hxpgg.java:108)
at com.pegarules.generated.hasMessages_071017_WuPlp71zTApewE7i7hxpgg.invoke(hasMessages_071017_WuPlp71zTApewE7i7hxpgg.java:82)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:221)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:119)
at com.pega.pegarules.generation.internal.library.LibraryFunctionUtilityImpl.resolveMethodCall(LibraryFunctionUtilityImpl.java:2912)
at com.pega.pegarules.session.internal.mgmt.Executable.resolveMethodCall(Executable.java:11114)
at com.pegarules.generated.when.ra_when_reconreportvalidationfails_32a6c6f30d58fe65dc0aab9edf11c287.evaluate(ra_when_reconreportvalidationfails_32a6c6f30d58fe65dc0aab9edf11c287.java:50)
at com.pega.pegarules.session.internal.mgmt.Executable.evaluateWhen(Executable.java:4246)
at com.pega.pegarules.session.internal.mgmt.Executable.evaluateWhen(Executable.java:4150)
at com.pegarules.generated.flow.ra_action_generatesbmireconreport_8a3f0337a7a2df6cbfaa6b7dc42c5afb.EvaluateConnector(ra_action_generatesbmireconreport_8a3f0337a7a2df6cbfaa6b7dc42c5afb.java:3739)
at com.pegarules.generated.flow.ra_action_generatesbmireconreport_8a3f0337a7a2df6cbfaa6b7dc42c5afb.GetNavigationPath_circum0(ra_action_generatesbmireconreport_8a3f0337a7a2df6cbfaa6b7dc42c5afb.java:2676)
at com.pegarules.generated.flow.ra_action_generatesbmireconreport_8a3f0337a7a2df6cbfaa6b7dc42c5afb.perform(ra_action_generatesbmireconreport_8a3f0337a7a2df6cbfaa6b7dc42c5afb.java:150)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527)
at com.pegarules.generated.getNavigationPath_071023_NCPHrIqzo8w67rRKfUuzYQ.getNavigationPath07_10_23(getNavigationPath_071023_NCPHrIqzo8w67rRKfUuzYQ.java:155)
at com.pegarules.generated.getNavigationPath_071023_NCPHrIqzo8w67rRKfUuzYQ.invoke(getNavigationPath_071023_NCPHrIqzo8w67rRKfUuzYQ.java:78)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:221)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:119)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:9073)
at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflectionWithException(LibrarySupport.java:275)
at java.lang.invoke.DirectHandle.invokeExact_thunkArchetype_L(DirectHandle.java:235)
at java.lang.invoke.BruteArgumentMoverHandle.invokeExact_thunkArchetype_X(ArgumentMoverHandle.java:390)
at java.lang.invoke.CollectHandle.invokeExact_thunkArchetype_X(CollectHandle.java:99)
at java.lang.invoke.FilterReturnHandle.invokeExact_thunkArchetype_X(FilterReturnHandle.java:42)
at java.lang.invoke.AsTypeHandle.invokeExact_thunkArchetype_X(AsTypeHandle.java:34)
at com.pegarules.generated.activity.ra_action_getflowdata_074fac1e8100b4134852dbb2513e8643.step4_circum0(ra_action_getflowdata_074fac1e8100b4134852dbb2513e8643.java:608)
at com.pegarules.generated.activity.ra_action_getflowdata_074fac1e8100b4134852dbb2513e8643.perform(ra_action_getflowdata_074fac1e8100b4134852dbb2513e8643.java:127)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10674)
at com.pegarules.generated.activity.ra_action_pzrunflow_553cace2edf2a19d8d365af31aa6aa88.step16_circum0(ra_action_pzrunflow_553cace2edf2a19d8d365af31aa6aa88.java:1220)
at com.pegarules.generated.activity.ra_action_pzrunflow_553cace2edf2a19d8d365af31aa6aa88.perform(ra_action_pzrunflow_553cace2edf2a19d8d365af31aa6aa88.java:317)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3527)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:646)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:467)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3166)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:425)
at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1301)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1038)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:893)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:331)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:825)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:327)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:270)
at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.invokeEngine(EngineBean.java:225)
at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingException(AppServerBridgeToPega.java:246)
at com.pega.pegarules.internal.etier.ejb.EngineBeanBoot.invokeEngine(EngineBeanBoot.java:168)
at com.pega.pegarules.internal.etier.interfaces.EJSLocalStatelessEngineBMT_f2439d86.invokeEngine(Unknown Source)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:594)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:390)
at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
at java.lang.reflect.Method.invoke(Method.java:620)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:370)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:411)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:224)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:273)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:121)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1232)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:781)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:480)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1114)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3951)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1014)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
Pegasystems Inc.
IN
Hi
From above exception, we see that a when rule is failing with null pointer exception.
I don't think these are corresponding logs for connect FTP.
I would suggest you to write a new activity with only connect-ftp step and test it.
I believe that it would pass the test.
Regards,
Ujjwal