Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AggregateException in HockeyApp_iOS_BITHockeyManager_ConvertToNsExceptionAndAbort_object, line 1 #23

Open
aditmer opened this issue Jan 4, 2017 · 0 comments

Comments

@aditmer
Copy link
Owner

aditmer commented Jan 4, 2017

Version: 1.0 (1.0) | com.nightscout.nightscoutmobilehybrid

Stacktrace

-;HockeyApp_iOS_BITHockeyManager_ConvertToNsExceptionAndAbort_object;;1
-;HockeyApp_iOS_BITHockeyManager_ThrowExceptionAsNative_System_Exception;;1
-;HockeyApp_iOS_BITHockeyManager__StartManagerm__1_object_System_Threading_Tasks_UnobservedTaskExceptionEventArgs;;1
-;System_Threading_Tasks_TaskScheduler_PublishUnobservedTaskException_object_System_Threading_Tasks_UnobservedTaskExceptionEventArgs;;
-;System_Threading_Tasks_TaskExceptionHolder_Finalize;;
-;wrapper_runtime_invoke_object_runtime_invoke_virtual_void__this___object_intptr_intptr_intptr;;
-;sgen_gc_invoke_finalizers;sgen-gc.c;2462
-;finalizer_thread;gc.c;791
-;start_wrapper;threads.c;740
-;inner_start_thread;mono-threads-posix.c;92

Reason

*** Terminating app due to uncaught exception 'System.AggregateException', reason: 'System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.Net.WebException: Error: SecureChannelFailure (Unable to read data from the transport connection: The descriptor is not a socket.) ---> System.IO.IOException: Unable to read data from the transport connection: The descriptor is not a socket. ---> System.Net.Sockets.SocketException: The descriptor is not a socket
at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) <0x1006892f0 + 0x00124> in <78341f071dbf43019f98cdc149de2e8a#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, System.Int32 offset, System.Int32 size) <0x10062d3c0 + 0x0009f> in <78341f071dbf43019f98cdc149de2e8a#7f1d04a0b3073aec418d5e6d01c2ede6>:0
--- End of inner exception stack trace ---
at Mono.Net.Security.MobileAuthenticatedStream.ProcessAuthentication (System.Net.LazyAsyncResult lazyResult) <0x100681390 + 0x001ac> in <78341f071dbf43019f98cdc149de2e8a#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) <0x100681310 + 0x00047> in <78341f071dbf43019f98cdc149de2e8a#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at Mono.Net.Security.Private.MonoSslStreamWrapper.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) <0x100683ae0 + 0x0005b> in <78341f071dbf43019f98cdc149de2e8a#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) <0x1006844e0 + 0x000fb> in <78341f071dbf43019f98cdc149de2e8a#7f1d04a0b3073aec418d5e6d01c2ede6>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream (System.IAsyncResult asyncResult) <0x1006a1160 + 0x000f8> in <78341f071dbf43019f98cdc149de2e8a#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Threading.Tasks.TaskFactory1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func2[T,TResult] endFunction, System.Action1[T] endAction, System.Threading.Tasks.Task1[TResult] promise, System.Boolean requiresSynchronization) <0x1003b27e0 + 0x0005b> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x10034c840 + 0x00028> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10034bd40 + 0x000d3> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10034bc90 + 0x0008b> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10034bc30 + 0x00047> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x10034c380 + 0x0001b> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Net.Http.HttpClientHandler+c__async0.MoveNext () <0x100c30e80 + 0x009fb> in <be266f84543a467781920063d63ce5df#7f1d04a0b3073aec418d5e6d01c2ede6>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x10034c840 + 0x00028> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10034bd40 + 0x000d3> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10034bc90 + 0x0008b> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10034bc30 + 0x00047> in <15e850188d9f425bbeae90f0bbc51e17#7f1d04a0b3073aec418d5e6d01c2ede6>:0
at System.Runtime.CompilerServices.C…

Link to HockeyApp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant