GPGS error when using gpgs.achievements.load

Hi,

I am trying to use gpgs.achievements.load to refresh achievements (I noticed that show was not updating when I added new achievements to the Console), this did cause a refresh but also a fatal error.  I am running of device using live builds.

Here is my code.

[lua]

local showAchievementsListener = function (event) 

– print(“showAchievementsListener”)

– table.print_r(event) 

end

local params = {reload = true, listener = showAchievementsListener}

gpgs.achievements.load( params )

– gpgs.achievements.show( showAchievementsListener)

[/lua]

and here is the error I am getting;

[lua]

12-31 16:31:29.878 com.gmail.cbriggsnz.Truck_Trials 17450 - E AndroidRuntime FATAL EXCEPTION: main 

12-31 16:31:29.878 com.gmail.cbriggsnz.Truck_Trials 17450 - E AndroidRuntime Process: com.gmail.cbriggsnz.Truck_Trials, PID: 17450 

12-31 16:31:29.878 com.gmail.cbriggsnz.Truck_Trials 17450 - E AndroidRuntime java.lang.NullPointerException: Attempt to invoke virtual method ‘java.lang.String android.net.Uri.toString()’ on a null object reference 

12-31 16:31:29.878 com.gmail.cbriggsnz.Truck_Trials 17450 - E AndroidRuntime at plugin.gpgs.Achievements$LoadAchievementsResultCallback.onResult(Achievements.java:245) 

12-31 16:31:29.878 com.gmail.cbriggsnz.Truck_Trials 17450 - E AndroidRuntime at plugin.gpgs.Achievements$LoadAchievementsResultCallback.onResult(Achievements.java:216) 

12-31 16:31:29.878 com.gmail.cbriggsnz.Truck_Trials 17450 - E AndroidRuntime at com.google.android.gms.internal.zzqe$zza.zzb(Unknown Source) 

12-31 16:31:29.878 com.gmail.cbriggsnz.Truck_Trials 17450 - E AndroidRuntime at com.google.android.gms.internal.zzqe$zza.handleMessage(Unknown Source) 

12-31 16:31:29.878 com.gmail.cbriggsnz.Truck_Trials 17450 - E AndroidRuntime at android.os.Handler.dispatchMessage(Handler.java:102) 

12-31 16:31:29.878 com.gmail.cbriggsnz.Truck_Trials 17450 - E AndroidRuntime at android.os.Looper.loop(Looper.java:158) 

12-31 16:31:29.878 com.gmail.cbriggsnz.Truck_Trials 17450 - E AndroidRuntime at android.app.ActivityThread.main(ActivityThread.java:7229) 

12-31 16:31:29.878 com.gmail.cbriggsnz.Truck_Trials 17450 - E AndroidRuntime at java.lang.reflect.Method.invoke(Native Method) 

12-31 16:31:29.878 com.gmail.cbriggsnz.Truck_Trials 17450 - E AndroidRuntime at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) 

12-31 16:31:29.878 com.gmail.cbriggsnz.Truck_Trials 17450 - E AndroidRuntime at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) 

[/lua]

Mac Book Pro

Sierra 10.12.2

Corona Version: 2016.3016 

Android: S7

Software: 6.0.1

The error completely disappeared at 2 pm this afternoon (4 hours ago) and hasn’t come back…  I didn’t change any of my code or update anything and it just started working???    

Cheers,

Craig

Weird. We haven’t updated anything. Possible transient error on Googles end that got fixed.

Rob

The error completely disappeared at 2 pm this afternoon (4 hours ago) and hasn’t come back…  I didn’t change any of my code or update anything and it just started working???    

Cheers,

Craig

Weird. We haven’t updated anything. Possible transient error on Googles end that got fixed.

Rob