SDKBOX Youtube crashes sometimes with NullPointerException (Cocos2djs)

Facing a crash on some user devices with SDKBOX Youtube player. Below is the crash log as reported in the Google Play Console.

Works fine for me on my test devices but have had at least 15 crashes due to this over the last week.

Caused by: java.lang.NullPointerException:
at (Unknown Source)
at com.sdkbox.plugin.PluginYoutube.onActivityResult (
at com.sdkbox.plugin.SDKBox.onActivityResult (
at org.cocos2dx.lib.Cocos2dxActivity.onActivityResult (
at (
at (

What could be the problem?

thanks for your report. added a null pointer checking. (4.1 KB)

and it will release in next release.

Thanks a ton!