Android Question Error...error...error

Status
Not open for further replies.

LordZenzo

Well-Known Member
Licensed User
Longtime User
I'm recive continuosely


java.lang.RuntimeException: Unable to create service GiLo.Impariamoascrivere.com.starter: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4025)
at android.app.ActivityThread.access$1600(ActivityThread.java:226)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1905)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:225)
at android.app.ActivityThread.main(ActivityThread.java:7564)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at GiLo.Impariamoascrivere.com.starter.onCreate(starter.java:39)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:4013)
... 8 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at GiLo.Impariamoascrivere.com.starter.onCreate(starter.java:37)
... 9 more
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lanywheresoftware/b4a/http/HttpClientWrapper;
at anywheresoftware.b4a.samples.httputils2.httputils2service._process_globals(httputils2service.java:180)
at GiLo.Impariamoascrivere.com.main.initializeProcessGlobals(main.java:432)
... 11 more
Caused by: java.lang.ClassNotFoundException: anywheresoftware.b4a.http.HttpClientWrapper
... 13 more
 

DonManfred

Expert
Licensed User
Longtime User
The Title is useless. It should sumarize the Problem.
You are giving not much (near zero) information about your app.
Where is the testproject`-upload showing the Problem?

Are you using old (and depredcated since years) httputils modules?
 
Upvote 0

LordZenzo

Well-Known Member
Licensed User
Longtime User
the title is like this, because the error does not concern anything
I don't use okhttputils, a simple b4xpages project with some panels and some labels, for no reason it started producing that error, and I repeat for no reason
the only difference between before, which worked, and after it stopped working is a value in an addition passed from 1 to 10, a value shown in a label and not that modifies any object
the error is from the b4a compiler
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
I don't use okhttputils
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lanywheresoftware/b4a/http/HttpClientWrapper;
at anywheresoftware.b4a.samples.httputils2.httputils2service._process_globals(httputils2service.java:180)

Anyway, check what you wrote in the Class_Globals and Process_Globals. Use them only to declare variables, not to set their values or other.
 
Upvote 0
Status
Not open for further replies.
Top