View Issue Details

IDProjectCategoryView StatusLast Update
0028480RunnerExtensionsPublic2017-12-06 09:28
ReporterStewart BishopAssigned ToStewart Bishop 
PriorityLowSeverityC - GeneralReproducibility100%
Status AssignedResolutionOpen 
Product Version 
Target VersionFixed in Version 
Summary0028480: Extensions: Cancelling the login dialogue on the Facebook Extension doesn't throw the async event
DescriptionWhen attempting to login with facebook, a login dialog appears. if you cancel that dialog by pressing the back button before it appears, the async social event of facebook will never be called(neither as failed). It throws an exception:"Exception thrown trying to call method onActivityResult on FacebookExtension". You can find the exception at the file "" in the function "CallExtensionFunction". Its because one of the args is null, so getclass won't work for a null..

To fix it go to the file: "" and replace the function onActivityResult to these lines:
public void onActivityResult(int requestCode, int resultCode, Intent data)

Object [] argArray = new Object[3];
argArray[0] = requestCode;
argArray[1] = resultCode;
argArray[2] = data;

//add these 3 lines:
if(argArray[2] == null) {
argArray[2] = new Intent();
1.4 Found In1.4.1772
2.x Runtime Found In2.1.2.172
2.x Runtime Verified In


There are no notes attached to this issue.