Android Question Error in Multipartpost.CreatePostRequest

Johnson Samuel

Member
Licensed User
I am sending an image to php server. Image is uploaded to the directory correctly , but i am getting this error in b4A program in release mode. I am uploading the image using Multipartpost.CreatePostRequest

java.lang.Exception: Sub 1_responsesuccess was not found.
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:192)
at anywheresoftware.b4a.BA$2.run(BA.java:360)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5268)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:697)

This happens only in release mode. but in Debug mode there is no error. Can anyone help in this . Is there any way by which i can upload an image to php server file dir.
 
Top