java - Is there any difference while executing SWF in AWS , in normal AWS project and Maven project? -


while executing swf in maven project getting following error, can u please me how resolve error

error execute, failure processing activity task taskid=6, workflowgenerationid=mainworkflowpcompress, activity={name: activity.downloadfroms3,version: 22.0}, activityinstanceid=1 com.amazonaws.services.simpleworkflow.flow.activityfailureexception: com.amazonaws.amazonwebservicerequest.copyprivaterequestparameters()ljava/util/map; : ["java.lang.nosuchmethoderror",{"cause":null,"stacktrace":[{"methodname":"invoke","filename":"amazons3client.java","linenumber":3651,"classname":"com.amazonaws.services.s3.amazons3client","nativemethod":false},{"methodname":"getobject","filename":"amazons3client.java","linenumber":1160,"classname":"com.amazonaws.services.s3.amazons3client","nativemethod":false},{"methodname":"gets3objectstream","filename":"amazons3client.java","linenumber":1248,"classname":"com.amazonaws.services.s3.amazons3client$3","nativemethod":false},{"methodname":"retryabledownloads3objecttofile","filename":"serviceutils.java","linenumber":382,"classname":"com.amazonaws.services.s3.internal.serviceutils","nativemethod":false},{"methodname":"getobject","filename":"amazons3client.java","linenumber":1244,"classname":"com.amazonaws.services.s3.amazons3client","nativemethod":false},{"methodname":"downloadfroms3","filename":"activityimpl.java","linenumber":135,"classname":"com.quantiphi.pagination.compress.activityimpl","nativemethod":false},{"methodname":"invoke0","filename":null,"linenumber":-2,"classname":"sun.reflect.nativemethodaccessorimpl","nativemethod":true},{"methodname":"invoke","filename":null,"linenumber":-1,"classname":"sun.reflect.nativemethodaccessorimpl","nativemethod":false},{"methodname":"invoke","filename":null,"linenumber":-1,"classname":"sun.reflect.delegatingmethodaccessorimpl","nativemethod":false},{"methodname":"invoke","filename":null,"linenumber":-1,"classname":"java.lang.reflect.method","nativemethod":false},{"methodname":"execute","filename":"pojoactivityimplementation.java","linenumber":64,"classname":"com.amazonaws.services.simpleworkflow.flow.pojo.pojoactivityimplementation","nativemethod":false},{"methodname":"execute","filename":"activityimplementationbase.java","linenumber":46,"classname":"com.amazonaws.services.simpleworkflow.flow.generic.activityimplementationbase","nativemethod":false},{"methodname":"execute","filename":"synchronousactivitytaskpoller.java","linenumber":196,"classname":"com.amazonaws.services.simpleworkflow.flow.worker.synchronousactivitytaskpoller","nativemethod":false},{"methodname":"run","filename":"activitytaskpoller.java","linenumber":92,"classname":"com.amazonaws.services.simpleworkflow.flow.worker.activitytaskpoller$2","nativemethod":false},{"methodname":"runworker","filename":null,"linenumber":-1,"classname":"java.util.concurrent.threadpoolexecutor","nativemethod":false},{"methodname":"run","filename":null,"linenumber":-1,"classname":"java.util.concurrent.threadpoolexecutor$worker","nativemethod":false},{"methodname":"run","filename":null,"linenumber":-1,"classname":"java.lang.thread","nativemethod":false}],"localizedmessage":"com.amazonaws.amazonwebservicerequest.copyprivaterequestparameters()ljava/util/map;","message":"com.amazonaws.amazonwebservicerequest.copyprivaterequestparameters()ljava/util/map;","suppressed":["[ljava.lang.throwable;",[]]}] @ com.amazonaws.services.simpleworkflow.flow.pojo.pojoactivityimplementation.throwactivityfailureexception(pojoactivityimplementation.java:110) @ com.amazonaws.services.simpleworkflow.flow.pojo.pojoactivityimplementation.execute(pojoactivityimplementation.java:67) @ com.amazonaws.services.simpleworkflow.flow.generic.activityimplementationbase.execute(activityimplementationbase.java:46) @ com.amazonaws.services.simpleworkflow.flow.worker.synchronousactivitytaskpoller.execute(synchronousactivitytaskpoller.java:196) @ com.amazonaws.services.simpleworkflow.flow.worker.activitytaskpoller$2.run(activitytaskpoller.java:92) @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) @ java.lang.thread.run(unknown source)

you getting java.lang.nosuchmethoderror method "invoke" of "amazons3client.java" @ "linenumber":3651

so exception not related simple workflow rather s3 calling incompatible code. make sure dependent libraries of correct version.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -