Get crash trace from user

Shay

Well-Known Member
Licensed User
Longtime User
Already asked this long time ago and did not get solution
I got crashes and I cannot understand anything from google stack (web site)

is there any new technic of getting stack from user once it crashed
 

Shay

Well-Known Member
Licensed User
Longtime User
Erel, here are 2 stacks each from different app.
but I know you will give me answer for this, but I can't all the time to have stack to ask your help, we need some mechanisem to send us user stack / dump once user app crashes

java.lang.NullPointerException
at binyat.debrewit.voicecommand$ResumeMessage.run(voicecommand.java:192)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3691)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:907)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665)
at dalvik.system.NativeStart.main(Native Method)


---------------

java.lang.RuntimeException: java.lang.NumberFormatException
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:153)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:97)
at anywheresoftware.b4a.gps.GPS$1.onLocationChanged(GPS.java:57)
at android.location.LocationManager$ListenerTransport._handleMessage(LocationManager.java:227)
at android.location.LocationManager$ListenerTransport.access$000(LocationManager.java:160)
at android.location.LocationManager$ListenerTransport$1.handleMessage(LocationManager.java:176)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3806)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NumberFormatException
at org.apache.harmony.luni.util.FloatingPointParser.parseDblImpl(Native Method)
at org.apache.harmony.luni.util.FloatingPointParser.parseDouble(FloatingPointParser.java:283)
at java.lang.Double.parseDouble(Double.java:318)
at Barrier_Plus.Binyat.servicegps._getdistancekm(servicegps.java:371)
at Barrier_Plus.Binyat.servicegps._gps_locationchanged(servicegps.java:556)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:113)
... 13 more
 
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
what about the first stack?

it looks different to me + it will be good to get var values to see what is going on
 
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
private static class ResumeMessage implements Runnable {
private final WeakReference<Activity> activity;
public ResumeMessage(Activity activity) {
this.activity = new WeakReference<Activity>(activity);
}
public void run() {
if (mostCurrent == null || mostCurrent != activity.get())
return;
processBA.setActivityPaused(false);
anywheresoftware.b4a.keywords.Common.Log("** Activity (voicecommand) Resume **");
processBA.raiseEvent(mostCurrent._activity, "activity_resume", (Object[])null);
}
}
 
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
processBA.raiseEvent(mostCurrent._activity, "activity_resume", (Object[])null);
 
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
this is the full data from the web page
so far it happned once, I will see if it will happen again, and update

thanks
Shay
 
Upvote 0
Top