https://bugzilla.wikimedia.org/show_bug.cgi?id=31455

--- Comment #2 from Brion Vibber <br...@wikimedia.org> 2011-10-07 05:48:36 UTC 
---
E/AndroidRuntime(  555): FATAL EXCEPTION: main
E/AndroidRuntime(  555): java.lang.NullPointerException
E/AndroidRuntime(  555):     at
com.phonegap.menu.AppMenu$1.run(AppMenu.java:172)
E/AndroidRuntime(  555):     at
android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime(  555):     at
android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(  555):     at android.os.Looper.loop(Looper.java:132)
E/AndroidRuntime(  555):     at
android.app.ActivityThread.main(ActivityThread.java:4123)
E/AndroidRuntime(  555):     at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime(  555):     at
java.lang.reflect.Method.invoke(Method.java:491)
E/AndroidRuntime(  555):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime(  555):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime(  555):     at dalvik.system.NativeStart.main(Native Method)


The anonymous inner class in the backtrace is a UI-thread callback in
buildHoneycombMenu() ... this is code that's only run on Android 3.x and seems
to pull a Menu object out of ctx.dMenu which I can find no documentation on.

If I change it to skip this when ctx.dMenu is null, it doesn't crash but the
web view is limited to a tiny little square in the upper-left.

Tested with Android 3.2 emulator image.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to