[Xposed General] francwalter:
Hallo

I have an App called BRouter, in version 1.3.1 (not on Google play yet) it crashes immediately. I can send a report only, but the app just crashes.

I noticed this is only with activated Xposed Framework, I have the v75 on my jfltexx (SGS4) with CM12.1.

The error log (LogCat) says:

10-28 19:38:05.216 E/AndroidRuntime(15614): FATAL EXCEPTION: main
10-28 19:38:05.216 E/AndroidRuntime(15614): Process: btools.routingapp, PID: 15614
10-28 19:38:05.216 E/AndroidRuntime(15614): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:394)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.widget.ArrayAdapter.getView(ArrayAdapter.java:362)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.widget.AbsListView.obtainView(AbsListView.java:2349)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.widget.ListView.measureHeightOfChildren(ListView.java:1270)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.widget.ListView.onMeasure(ListView.java:1182)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.View.measure(View.java:17562)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.widget.LinearLayout.measureVertical(LinearLayout.java:722)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.widget.LinearLayout.onMeasure(LinearLayout.java:613)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.View.measure(View.java:17562)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1436)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.widget.LinearLayout.measureVertical(LinearLayout.java:722)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.widget.LinearLayout.onMeasure(LinearLayout.java:613)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.View.measure(View.java:17562)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.View.measure(View.java:17562)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.View.measure(View.java:17562)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5536)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.widget.FrameLayout.onMeasure(FrameLayout.java:436)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2871)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.View.measure(View.java:17562)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2015)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1148)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1379)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1061)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5891)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.Choreographer.doCallbacks(Choreographer.java:580)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.Choreographer.doFrame(Choreographer.java:550)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.os.Handler.handleCallback(Handler.java:739)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.os.Handler.dispatchMessage(Handler.java:95)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.os.Looper.loop(Looper.java:135)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at android.app.ActivityThread.main(ActivityThread.java:5294)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at java.lang.reflect.Method.invoke(Native Method)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at java.lang.reflect.Method.invoke(Method.java:372)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
10-28 19:38:05.216 E/AndroidRuntime(15614):	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
10-28 19:38:05.216 W/ActivityManager( 646): Force finishing activity 1 btools.routingapp/.BRouterActivity

Is there anything I can do?

I think this must be solved in Xposed, not in the Brouter App, but I don't know where exactly this bug is then.

Anyway I posted it on the Brouter thread in the locus forum.

Thanks.

frank

EDIT: after uninstall of Xposed and reinstall of Xposed it worked, but dont ask me why. Strange thing. Not sure if this is stable and will work constantly.