Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Tracking down an error associated with the DrawerLayout

$
0
0

I've got an Android project that has been updated to the most recent Android SDK, the most recent stable X.A bits, the most recent google play services, and most recent Google support library. We're using the android drawerlayout. It looks like we are getting a runtime error regarding the drawlayout. Unfortunately, I can't seem to find the error in code. The logcat from monitor is below. I don't see anything that directly points to my code. I know that the error is somewhere on my end. The code worked before the update. I suspect that there is something that I have forgotten, but danged can't think what it is. Any suggestions?

04-10 22:49:33.154: E/AndroidRuntime(1988): java.lang.NullPointerException 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.widget.AbsListView.obtainView(AbsListView.java:2179) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.widget.ListView.makeAndAddView(ListView.java:1840) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.widget.ListView.fillDown(ListView.java:675) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.widget.ListView.fillFromTop(ListView.java:736) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.widget.ListView.layoutChildren(ListView.java:1641) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.widget.AbsListView.onLayout(AbsListView.java:2012) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.View.layout(View.java:14289) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.ViewGroup.layout(ViewGroup.java:4562) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:767) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.View.layout(View.java:14289) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.ViewGroup.layout(ViewGroup.java:4562) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.widget.FrameLayout.onLayout(FrameLayout.java:448) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.View.layout(View.java:14289) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.ViewGroup.layout(ViewGroup.java:4562) 04-10 22:49:33.154: E/AndroidRuntime(1988): at com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:349) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.View.layout(View.java:14289) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.ViewGroup.layout(ViewGroup.java:4562) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.widget.FrameLayout.onLayout(FrameLayout.java:448) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.View.layout(View.java:14289) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.ViewGroup.layout(ViewGroup.java:4562) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1976) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1730) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1004) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5481) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.Choreographer.doCallbacks(Choreographer.java:562) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.Choreographer.doFrame(Choreographer.java:532) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.os.Handler.handleCallback(Handler.java:730) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.os.Handler.dispatchMessage(Handler.java:92) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.os.Looper.loop(Looper.java:137) 04-10 22:49:33.154: E/AndroidRuntime(1988): at android.app.ActivityThread.main(ActivityThread.java:5103) 04-10 22:49:33.154: E/AndroidRuntime(1988): at java.lang.reflect.Method.invokeNative(Native Method) 04-10 22:49:33.154: E/AndroidRuntime(1988): at java.lang.reflect.Method.invoke(Method.java:525) 04-10 22:49:33.154: E/AndroidRuntime(1988): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) 04-10 22:49:33.154: E/AndroidRuntime(1988): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) 04-10 22:49:33.154: E/AndroidRuntime(1988): at dalvik.system.NativeStart.main(Native Method) 04-10 22:49:38.978: E/cutils-trace(2158): Error opening trace file: No such file or directory (2) 04-10 22:52:05.550: E/jdwp(2183): Failed sending reply to debugger: Broken pipe


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>