Java Question error on HttpUtilsService - help...

Zeev Goldstein

Well-Known Member
Licensed User
Longtime User
** Activity (main) Create, isFirst = true **


Starting Job: POST Job1


** Activity (main) Resume **


** Service (httputilsservice) Create **


** Service (httputilsservice) Start **


An error occurred:


(Line: 27) End Sub
java.lang.Exception: Sub service_start signature does not match expected signature.
public static anywheresoftware.b4a.pc.RemoteObject anywheresoftware.b4a.samples.httputils.httputilsservice_subs_0._service_start() throws java.lang.Exception


this is a working project
i just upgraded to the latest version of B4A and got this

edit:
this is when using debug - rapid
on debug - legacy i don't get this error and it is running but something is wrong with httputils as the app that worked now reports error when trying to access the network

should i go back or downgread or ?

thanks

help...
 
Last edited:

Zeev Goldstein

Well-Known Member
Licensed User
Longtime User
oops... sorry.
is this a new feature?
what should i put as intent ?

Edit:
BTW - this is in HttpUtils - is there a newer version or should i amend it in the code ?

tried to see in the code but there is no argument for intent when i write the ( at the function argument

thanks and sorry again
 

Zeev Goldstein

Well-Known Member
Licensed User
Longtime User
thank you.
it has no argument like this, however - as a magic i started again this morning and it works without a change
very strange
i will keep it as it is as it is a working project and in new ones i will switch to httputils2
thanks for all!
 
Top