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 #32

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

Comments

@aditmer
Copy link
Owner

aditmer commented Jan 6, 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: ConnectFailure (The descriptor is not a socket) ---> System.Net.Sockets.SocketException: The descriptor is not a socket
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) <0x10065c060 + 0x00184> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) <0x1006807b0 + 0x0044b> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream (System.IAsyncResult asyncResult) <0x100675240 + 0x000f8> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>: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) <0x1003867e0 + 0x0005b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x100320840 + 0x00028> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10031fd40 + 0x000d3> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10031fc90 + 0x0008b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10031fc30 + 0x00047> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () <0x100320380 + 0x0001b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0 at System.Net.Http.HttpClientHandler+<SendAsync>c__async0.MoveNext () <0x100c04f90 + 0x009fb> in <be266f84543a467781920063d63ce5df#c74bbf837d71dd291f375d4997a51a97>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x100320840 + 0x00028> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x10031fd40 + 0x000d3> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x10031fc90 + 0x0008b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x10031fc30 + 0x00047> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () <0x100320380 + 0x0001b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
at System.Net.Http.HttpClient+c__async0.MoveNext () <0x100c03b30 + 0x00363> in <be266f84543a467781920063d63ce5df#c74bbf837d71dd291f375d4997a51a97>:0
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.Net.WebException: Error: ConnectFailure (The descriptor is not a socket) ---> System.Net.Sockets.SocketException: The descriptor is not a socket
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) <0x10065c060 + 0x00184> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) <0x1006807b0 + 0x0044b> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream (System.IAsyncResult asyncResult) <0x100675240 + 0x000f8> in <c3954baf21fc42d6b4b50ba067398247#c74bbf837d71dd291f375d4997a51a97>: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) <0x1003867e0 + 0x0005b> in <15e850188d9f425bbeae90f0bbc51e17#c74bbf837d71dd291f375d4997a51a97>:0
--- End of stack …

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