Skip to content

Instantly share code, notes, and snippets.

@MarcorOnline
MarcorOnline / gist:319897c5256614272aed9c62acc47376
Last active August 1, 2017 14:20
GetPurchasesAsync Exception
System.NullReferenceException: Object reference not set to an instance of an object
at Plugin.InAppBilling.InAppBillingImplementation.RestoreAsync () <0x102450f7c + 0x000b0> in <03b01e063b3148aa8db6cea4b40d9ab5#a9fb59e0e4389b6f7517628f848246df>:0
at Plugin.InAppBilling.InAppBillingImplementation+<GetPurchasesAsync>d__9.MoveNext () <0x102452230 + 0x00083> in <03b01e063b3148aa8db6cea4b40d9ab5#a9fb59e0e4389b6f7517628f848246df>:0 --- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x1012a49fc + 0x000d4> in <2f4074c3120b4d80802e10af84b67d41#a9fb59e0e4389b6f7517628f848246df>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x1012a4924 + 0x000c7> in <2f4074c3120b4d80802e10af84b67d41#a9fb59e0e4389b6f7517628f848246df>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () <0x1012a4c40 + 0x00
@MarcorOnline
MarcorOnline / gist:bbd8ae5c552927f3e6d3069b6509232a
Created May 19, 2017 20:00
Manifest of app with exception on MediaPlugin
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto" package="MYPACKAGE" android:versionName="1.0.4.14" android:versionCode="29">
<uses-sdk android:minSdkVersion="15" android:targetSdkVersion="25" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="com.android.vending.BILLING" />
{Java.Lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.lge.camera/.app.CameraActivity clip={text/uri-list U:content://it.ibc.easytaxassistant.fileprovider/my_images/IMG_20170519_001401.jpg} (has extras) } from ProcessRecord{d5d014a 3523:it.ibc.easytaxassistant/u0a363} (pid=3523, uid=10363) with revoked permission android.permission.CAMERA
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <d18287e1d683419a8ec3216fd78947b9>:0
at Java.Interop.JniEnvironment+InstanceMethods.CallNonvirtualVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00089] in <5716a943049b49ca928a3a1c8d2386f4>:0
at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x0005d] in <5716a943049b49ca928a3a