NPE in BaseMultiPaneWindow via GetCustomImageContentCoverUIAction.onActivityResult

Bug #1331595 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/999738249

java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=14, result=-1, data=Intent { dat=content://media/external/images/media/4694 flg=0x1 }} to activity {net.lp.collectionista.ext.sheet_music/net.lp.collectionista.ui.activities.CollectionistaSheetMusicMultiPaneWindow}: java.lang.NullPointerException
at android.app.ActivityThread.deliverResults(ActivityThread.java:3406)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3449)
at android.app.ActivityThread.access$1200(ActivityThread.java:150)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1328)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:175)
at android.app.ActivityThread.main(ActivityThread.java:5279)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)Caused by: java.lang.NullPointerException
at net.lp.collectionista.ui.activities.tablets.BaseMultiPaneWindow.b(Collectionista-SME:484)
at net.lp.collectionista.ui.actions.GetCustomImageContentCoverUIAction.void onActivityResult(int,int,android.content.Intent,android.support.v4.app.FragmentActivity)(Collectionista-SME:71)
at net.lp.collectionista.ui.actions.UIActionManager.void onActivityResult(int,int,android.content.Intent,android.support.v4.app.FragmentActivity)(Collectionista-SME:154)
at net.lp.collectionista.ui.activities.tablets.BaseMultiPaneActivity.void onActivityResult(int,int,android.content.Intent)(Collectionista-SME:131)
at android.app.Activity.dispatchActivityResult(Activity.java:5472)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3402)
... 11 more

Related branches

Revision history for this message
pjv (pjv) wrote :

Added an error in multiple places when we suspect rightFragment is null, to find bugs easier in the future. Not fixed yet.

Revision history for this message
pjv (pjv) wrote :
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.