NPE in RegularEditWindow.onAttachFragment

Bug #1331269 reported by pjv
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Collectionista
New
Undecided
Unassigned

Bug Description

Bugsense https://www.bugsense.com/dashboard/project/98c9e403/errors/807138096

java.lang.RuntimeException: Unable to start activity ComponentInfo{net.lp.collectionista/net.lp.collectionista.ui.activities.phones.items.book.BookItemEditWindow}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1651)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:2836)
at android.app.ActivityThread.access$1600(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:939)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException
at net.lp.collectionista.ui.activities.phones.RegularEditWindow.onAttachFragment(Collectionista:129)
at android.support.v4.app.FragmentManagerImpl.moveToState(Collectionista:889)
at android.support.v4.app.FragmentManagerImpl.moveToState(Collectionista:1104)
at android.support.v4.app.FragmentManagerImpl.moveToState(Collectionista:1086)
at android.support.v4.app.FragmentManagerImpl.dispatchCreate(Collectionista:1879)
at android.support.v4.app.FragmentActivity.onCreate(Collectionista:215)
at net.lp.collectionista.ui.BaseActivity.onCreate(Collectionista:92)
at net.lp.collectionista.ui.BaseSinglePaneActivity.onCreate(Collectionista:35)
at net.lp.collectionista.ui.activities.phones.RegularEditWindow.onCreate(Collectionista:88)
at net.lp.collectionista.ui.activities.phones.items.book.BookItemEditWindow.onCreate(Collectionista:59)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
... 12 more

Related branches

Revision history for this message
pjv (pjv) wrote :

Added exception if null, but not fixed yet.

Revision history for this message
pjv (pjv) wrote :
Revision history for this message
pjv (pjv) wrote :
Revision history for this message
pjv (pjv) wrote :

java.lang.RuntimeException: Unable to start activity ComponentInfo{net.lp.collectionista/net.lp.collectionista.ui.activities.phones.items.book.BookItemEditWindow}: java.lang.IllegalArgumentException: Done button is null.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1651)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:2836)
at android.app.ActivityThread.access$1600(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:939)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:878)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.IllegalArgumentException: Done button is null.
at net.lp.collectionista.ui.activities.phones.RegularEditWindow.onAttachFragment(Collectionista:126)
at android.support.v4.app.FragmentManagerImpl.moveToState(Collectionista:889)
at android.support.v4.app.FragmentManagerImpl.moveToState(Collectionista:1104)
at android.support.v4.app.FragmentManagerImpl.moveToState(Collectionista:1086)
at android.support.v4.app.FragmentManagerImpl.dispatchCreate(Collectionista:1879)
at android.support.v4.app.FragmentActivity.onCreate(Collectionista:215)
at net.lp.collectionista.ui.BaseActivity.onCreate(Collectionista:86)
at net.lp.collectionista.ui.BaseSinglePaneActivity.onCreate(Collectionista:34)
at net.lp.collectionista.ui.activities.phones.RegularEditWindow.onCreate(Collectionista:83)
at net.lp.collectionista.ui.activities.phones.items.book.BookItemEditWindow.onCreate(Collectionista:59)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
... 12 more

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.