cuplv / TraceRunner

Tool for generating dynamic traces of android applications.
3 stars 0 forks source link

Recent changes broke ContractionTimer #33

Closed sllam closed 7 years ago

sllam commented 7 years ago

Here is the stack trace..

02-18 21:44:14.491 9546-9546/com.ianhanniballake.contractiontimer E/AndroidRuntime: FATAL EXCEPTION: main Process: com.ianhanniballake.contractiontimer, PID: 9546 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ianhanniballake.contractiontimer/com.ianhanniballake.contractiontimer.ui.MainActivity}: java.lang.RuntimeException: methodName: attachBaseContext objects: [Ljava.lang.Class;@e9673f8 types: [Ljava.lang.String;@73520d1 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) at android.app.ActivityThread.-wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: java.lang.RuntimeException: methodName: attachBaseContext objects: [Ljava.lang.Class;@e9673f8 types: [Ljava.lang.String;@73520d1 at edu.colorado.plv.tracerunner_runtime_instrumentation.FrameworkResolver.getFrameworkOverride(FrameworkResolver.java:425) at edu.colorado.plv.tracerunner_runtime_instrumentation.FrameworkResolver.getFrameworkOverrideMemo(FrameworkResolver.java:349) at edu.colorado.plv.tracerunner_runtime_instrumentation.TraceRunnerRuntimeInstrumentation.logCallbackEntry(TraceRunnerRuntimeInstrumentation.java:158) at com.ianhanniballake.contractiontimer.actionbar.ActionBarFragmentActivity.attachBaseContext(ActionBarFragmentActivity.java) at android.app.Activity.attach(Activity.java:6175) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2350) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)  at android.app.ActivityThread.-wrap11(ActivityThread.java)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:148)  at android.app.ActivityThread.main(ActivityThread.java:5417)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)  Caused by: java.lang.NoSuchMethodException: attachBaseContext [class android.content.Context] at java.lang.Class.getMethod(Class.java:624) at java.lang.Class.getDeclaredMethod(Class.java:586) at edu.colorado.plv.tracerunner_runtime_instrumentation.FrameworkResolver.getFrameworkOverride(FrameworkResolver.java:421) at edu.colorado.plv.tracerunner_runtime_instrumentation.FrameworkResolver.getFrameworkOverrideMemo(FrameworkResolver.java:349)  at edu.colorado.plv.tracerunner_runtime_instrumentation.TraceRunnerRuntimeInstrumentation.logCallbackEntry(TraceRunnerRuntimeInstrumentation.java:158)  at com.ianhanniballake.contractiontimer.actionbar.ActionBarFragmentActivity.attachBaseContext(ActionBarFragmentActivity.java)  at android.app.Activity.attach(Activity.java:6175)  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2350)  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)  at android.app.ActivityThread.-wrap11(ActivityThread.java)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:148)  at android.app.ActivityThread.main(ActivityThread.java:5417)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 

ftc commented 7 years ago

This should be fixed soon, I committed some stuff to the wrong branch.

ftc commented 7 years ago

@sllam This should be fixed now, please let me know if you still have problems.