Skip to content

Instantly share code, notes, and snippets.

@pfaucon
Created April 4, 2018 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pfaucon/f32fe27e3073feb7baa0a2682d6b947f to your computer and use it in GitHub Desktop.
Save pfaucon/f32fe27e3073feb7baa0a2682d6b947f to your computer and use it in GitHub Desktop.
{
"Length": 0,
"Offset": 0,
"id": "ec71b07a-0b38-41c2-84e4-51b536d5ebf5",
"exception": {
"type": "Java.Lang.RuntimeException",
"message": "Exception of type 'Java.Lang.RuntimeException' was thrown.",
"stackTrace": " at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0xd26227d8 + 0x0001c> in <88698b6cdf5846338aefc0158220cef8>:0 \n at Java.Interop.JniEnvironment+InstanceMethods.CallObjectMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00069] in <bc0f220d5ab04cac85ad84031d6d2bcc>:0 \n at Android.Runtime.JNIEnv.CallObjectMethod (System.IntPtr jobject, System.IntPtr jmethod, Android.Runtime.JValue* parms) <0xd148e5b0 + 0x0007f> in <2336a6412dbc46e1a3401290a93b0ad7>:0 \n at WindowsAzure.Messaging.NotificationHub.Register (System.String pnsHandle, System.String[] tags) <0xcfe25c7c + 0x00207> in <15e1a3139a484a5a85c0680e5d11bb86>:0 \n at <app name>.Services.HubManagerService+<>c__DisplayClass6_0.<.ctor>b__0 () <0xd16579dc + 0x0018b> in <23fb655036c64c7f8e6e881b30873dba>:0 \n --- End of managed Java.Lang.RuntimeException stack trace ---\nandroid.os.NetworkOnMainThreadException\n\tat android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1303)\n\tat java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:91)\n\tat java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:74)\n\tat java.net.InetAddress.getAllByName(InetAddress.java:752)\n\tat org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:142)\n\tat org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169)\n\tat org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)\n\tat org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:361)\n\tat org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)\n\tat org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492)\n\tat org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:470)\n\tat android.net.http.AndroidHttpClient.execute(AndroidHttpClient.java:306)\n\tat com.microsoft.windowsazure.messaging.Connection.executeRequest(Connection.java:219)\n\tat com.microsoft.windowsazure.messaging.Connection.executeRequest(Connection.java:178)\n\tat com.microsoft.windowsazure.messaging.Connection.executeRequest(Connection.java:134)\n\tat com.microsoft.windowsazure.messaging.NotificationHub.refreshRegistrationInformation(NotificationHub.java:296)\n\tat com.microsoft.windowsazure.messaging.NotificationHub.registerInternal(NotificationHub.java:390)\n\tat com.microsoft.windowsazure.messaging.NotificationHub.register(NotificationHub.java:143)\n\tat mono.java.lang.RunnableImplementor.n_run(Native Method)\n\tat mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:30)\n\tat android.os.Handler.handleCallback(Handler.java:751)\n\tat android.os.Handler.dispatchMessage(Handler.java:95)\n\tat android.os.Looper.loop(Looper.java:154)\n\tat android.app.ActivityThread.main(ActivityThread.java:6316)\n\tat java.lang.reflect.Method.invoke(Native Method)\n\tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)\n",
"wrapperSdkName": "appcenter.xamarin"
},
"AppId": "97dc7b5f-0315-4687-a31c-583f358c8a68",
"InstallId": "8003fe9b-b5ff-4d4e-a4b3-ad661bfd20e8",
"IsTestMessage": false,
"timestamp": "2018-04-03T18:53:25.468Z",
"sid": "0d4cbf8b-9a6a-4e87-a712-10ca99a63b5b",
"device": {
"sdkName": "appcenter.android",
"sdkVersion": "1.4.0",
"wrapperSdkVersion": "1.5.0",
"wrapperSdkName": "appcenter.xamarin",
"model": "LGUS997",
"oemName": "LGE",
"osName": "Android",
"osVersion": "7.0",
"osBuild": "NRD90U",
"osApiLevel": 24,
"locale": "en_US",
"timeZoneOffset": -420,
"screenSize": "1440x2672",
"appVersion": "1.0.60",
"appBuild": "60",
"appNamespace": "<app name>",
"wrapperRuntimeVersion": "8.2.0.16"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment