duybuffet / yagrac

Automatically exported from code.google.com/p/yagrac
0 stars 0 forks source link

Force Close on Add Book to Shelf #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Several users are reporting that when adding a book to a shelf, the app will 
force close.  This is not the case for every user, but is happening fairly 
often.  Stack traces from exceptions below:

java.lang.NullPointerException
at 
com.onesadjam.yagrac.ViewShelfActivity.onCreateDialog(ViewShelfActivity.java:194
)
at android.app.Activity.onCreateDialog(Activity.java:2472)
at android.app.Activity.createDialog(Activity.java:881)
at android.app.Activity.showDialog(Activity.java:2547)
at android.app.Activity.showDialog(Activity.java:2514)
at 
com.onesadjam.yagrac.ViewShelfActivity.onOptionsItemSelected(ViewShelfActivity.j
ava:235)
at android.app.Activity.onMenuItemSelected(Activity.java:2195)
at 
com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java
:730)
at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:143)
at 
com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:85
5)
at com.android.internal.view.menu.IconMenuView.invokeItem(IconMenuView.java:532)
at 
com.android.internal.view.menu.IconMenuItemView.performClick(IconMenuItemView.ja
va:122)
at android.view.View$PerformClick.run(View.java:8816)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by adam.jo...@gmail.com on 2 Nov 2010 at 2:12