Hi, Please I need some lights,
I include the resumable subs to get register from remote database, but the problem persist.
Exactly occurs when I click on Login from Main Activity to navigate to ModPrincipal and I click egain on return key an wait 30 seconds in Main Activity then exception appear.
Note the http request is in the Main Activity_Resume, it is called fnVerificaServerUp
ResponseError. Reason: java.net.SocketTimeoutException: failed to connect to apps.consenso.com.ec/190.63.153.138 (port 17178) after 30000ms, Response:
~e:java.lang.NullPointerException: Attempt to write to field 'boolean anywheresoftware.b4a.samples.httputils2.httpjob._success' on a null object reference
~e: at anywheresoftware.b4a.samples.httputils2.httputils2service._completejob(httputils2service.java:140)
~e: at anywheresoftware.b4a.samples.httputils2.httputils2service._hc_responseerror(httputils2service.java:160)
~e: at java.lang.reflect.Method.invoke(Native Method)
~e: at java.lang.reflect.Method.invoke(Method.java:372)
~e: at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186)
~e: at anywheresoftware.b4a.BA$2.run(BA.java:360)
~e: at android.os.Handler.handleCallback(Handler.java:739)
~e: at android.os.Handler.dispatchMessage(Handler.java:95)
~e: at android.os.Looper.loop(Looper.java:145)
~e: at android.app.ActivityThread.main(ActivityThread.java:7007)
~e: at java.lang.reflect.Method.invoke(Native Method)
~e: at java.lang.reflect.Method.invoke(Method.java:372)
~e: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
~e: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
View attachment 69619
I include the resumable subs to get register from remote database, but the problem persist.
Exactly occurs when I click on Login from Main Activity to navigate to ModPrincipal and I click egain on return key an wait 30 seconds in Main Activity then exception appear.
Note the http request is in the Main Activity_Resume, it is called fnVerificaServerUp
ResponseError. Reason: java.net.SocketTimeoutException: failed to connect to apps.consenso.com.ec/190.63.153.138 (port 17178) after 30000ms, Response:
~e:java.lang.NullPointerException: Attempt to write to field 'boolean anywheresoftware.b4a.samples.httputils2.httpjob._success' on a null object reference
~e: at anywheresoftware.b4a.samples.httputils2.httputils2service._completejob(httputils2service.java:140)
~e: at anywheresoftware.b4a.samples.httputils2.httputils2service._hc_responseerror(httputils2service.java:160)
~e: at java.lang.reflect.Method.invoke(Native Method)
~e: at java.lang.reflect.Method.invoke(Method.java:372)
~e: at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186)
~e: at anywheresoftware.b4a.BA$2.run(BA.java:360)
~e: at android.os.Handler.handleCallback(Handler.java:739)
~e: at android.os.Handler.dispatchMessage(Handler.java:95)
~e: at android.os.Looper.loop(Looper.java:145)
~e: at android.app.ActivityThread.main(ActivityThread.java:7007)
~e: at java.lang.reflect.Method.invoke(Native Method)
~e: at java.lang.reflect.Method.invoke(Method.java:372)
~e: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
~e: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
View attachment 69619
Attachments
Last edited: