Skip to content

Instantly share code, notes, and snippets.

@SLaks
Last active August 29, 2015 14:16
Show Gist options
  • Save SLaks/2e12bd5871c66e417579 to your computer and use it in GitHub Desktop.
Save SLaks/2e12bd5871c66e417579 to your computer and use it in GitHub Desktop.
Stack trace for settings sync error
System.ArgumentException: The string is empty.
Parameter name: prefix
> Microsoft.Internal.VisualStudio.Shell.Validate.IsNotEmpty(string s, string paramName) Unknown
Microsoft.VisualStudio.Services.Settings.DiskStringStorage.NamesStartingWithInternal(string prefix) Unknown
Microsoft.VisualStudio.Services.Settings.DiskStringStorage.LogExceptions<T>(string name, System.Func<string, T> func, Microsoft.VisualStudio.Settings.Telemetry.SettingScenario scenario, Microsoft.VisualStudio.Settings.Telemetry.SettingAction action, T defaultValue) Unknown
Microsoft.VisualStudio.Services.Settings.DiskStringStorage.NamesStartingWith(string prefix) Unknown
Microsoft.VisualStudio.Services.Settings.DelegatingStringStorage.NamesStartingWith.AnonymousMethod__1(Microsoft.VisualStudio.Settings.IStringStorage v) Unknown
System.Linq.Enumerable.<SelectManyIterator>d__8<TSource, TResult>.MoveNext() Unknown
System.Linq.Buffer<TElement>.Buffer(System.Collections.Generic.IEnumerable<TElement> source) Unknown
System.Linq.Enumerable.ToArray<TSource>(System.Collections.Generic.IEnumerable<TSource> source) Unknown
Microsoft.VisualStudio.Services.Settings.DelegatingStringStorage.NamesStartingWith(string prefix) Unknown
Microsoft.VisualStudio.Settings.SettingsManager.UploadNotYetUploadedSettings() Unknown
System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start<TStateMachine>(TStateMachine stateMachine) Unknown
Microsoft.VisualStudio.Settings.SettingsManager.UploadNotYetUploadedSettings() Unknown
Microsoft.VisualStudio.Settings.SettingsManager.SetSharedSettingsForPrivateStoreAsync() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) Unknown
System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.OutputAsyncCausalityEvents.AnonymousMethod__0() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.ContinuationWrapper.Invoke() Unknown
System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod__0() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.ContinuationWrapper.Invoke() Unknown
System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, System.Threading.Tasks.Task currentTask) Unknown
System.Threading.Tasks.Task.FinishContinuations() Unknown
System.Threading.Tasks.Task.FinishStageThree() Unknown
System.Threading.Tasks.Task<TResult>.TrySetResult(TResult result) Unknown
System.Runtime.CompilerServices.AsyncTaskMethodBuilder<TResult>.SetResult(TResult result) Unknown
Microsoft.VisualStudio.Settings.HubStringStorage.GetAllSinceVersionAsync(int modifiedAfterRevision) Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) Unknown
System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.OutputAsyncCausalityEvents.AnonymousMethod__0() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.ContinuationWrapper.Invoke() Unknown
System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod__0() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.ContinuationWrapper.Invoke() Unknown
System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, System.Threading.Tasks.Task currentTask) Unknown
System.Threading.Tasks.Task.FinishContinuations() Unknown
System.Threading.Tasks.Task.FinishStageThree() Unknown
System.Threading.Tasks.Task<TResult>.TrySetResult(TResult result) Unknown
System.Runtime.CompilerServices.AsyncTaskMethodBuilder<TResult>.SetResult(TResult result) Unknown
Microsoft.VisualStudio.Settings.ServiceModuleDispatcher.SendMessage(string uriSuffix, System.Net.Http.HttpMethod method, System.Net.Http.HttpContent content) Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) Unknown
System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.OutputAsyncCausalityEvents.AnonymousMethod__0() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.ContinuationWrapper.Invoke() Unknown
System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod__0() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.ContinuationWrapper.Invoke() Unknown
System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, System.Threading.Tasks.Task currentTask) Unknown
System.Threading.Tasks.Task.FinishContinuations() Unknown
System.Threading.Tasks.Task.FinishStageThree() Unknown
System.Threading.Tasks.Task<TResult>.TrySetResult(TResult result) Unknown
System.Runtime.CompilerServices.AsyncTaskMethodBuilder<TResult>.SetResult(TResult result) Unknown
Microsoft.VsHub.Utility.VsHubServiceHttpClientBase.SendAsync(System.Net.Http.HttpRequestMessage requestMessage) Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) Unknown
System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.OutputAsyncCausalityEvents.AnonymousMethod__0() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.ContinuationWrapper.Invoke() Unknown
System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod__0() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.ContinuationWrapper.Invoke() Unknown
System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, System.Threading.Tasks.Task currentTask) Unknown
System.Threading.Tasks.Task.FinishContinuations() Unknown
System.Threading.Tasks.Task.FinishStageThree() Unknown
System.Threading.Tasks.Task<TResult>.TrySetResult(TResult result) Unknown
System.Threading.Tasks.TaskCompletionSource<TResult>.TrySetResult(TResult result) Unknown
System.Net.Http.HttpClient.SetTaskCompleted(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cancellationTokenSource, System.Threading.Tasks.TaskCompletionSource<System.Net.Http.HttpResponseMessage> tcs, System.Net.Http.HttpResponseMessage response) Unknown
System.Net.Http.HttpClient.StartContentBuffering.AnonymousMethod__16(System.Threading.Tasks.Task contentTask) Unknown
System.Threading.Tasks.ContinuationTaskFromTask.InnerInvoke() Unknown
System.Threading.Tasks.Task.Execute() Unknown
System.Threading.Tasks.Task.ExecutionContextCallback(object obj) Unknown
System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task currentTaskSlot) Unknown
System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) Unknown
System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task task, bool taskWasPreviouslyQueued) Unknown
System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task task, bool taskWasPreviouslyQueued) Unknown
System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task task, bool needsProtection) Unknown
System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task completedTask, bool bCanInlineContinuationTask) Unknown
System.Threading.Tasks.Task.ContinueWithCore(System.Threading.Tasks.Task continuationTask, System.Threading.Tasks.TaskScheduler scheduler, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions options) Unknown
System.Threading.Tasks.Task.ContinueWith(System.Action<System.Threading.Tasks.Task> continuationAction, System.Threading.Tasks.TaskScheduler scheduler, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.StackCrawlMark stackMark) Unknown
System.Threading.Tasks.Task.ContinueWith(System.Action<System.Threading.Tasks.Task> continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) Unknown
System.Net.Http.HttpUtilities.ContinueWithStandard(System.Threading.Tasks.Task task, System.Action<System.Threading.Tasks.Task> continuation) Unknown
System.Net.Http.HttpClient.StartContentBuffering(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationTokenSource cancellationTokenSource, System.Threading.Tasks.TaskCompletionSource<System.Net.Http.HttpResponseMessage> tcs, System.Net.Http.HttpResponseMessage response) Unknown
System.Net.Http.HttpClient.SendAsync.AnonymousMethod__13(System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> task) Unknown
System.Threading.Tasks.ContinuationTaskFromResultTask<TAntecedentResult>.InnerInvoke() Unknown
System.Threading.Tasks.Task.Execute() Unknown
System.Threading.Tasks.Task.ExecutionContextCallback(object obj) Unknown
System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task currentTaskSlot) Unknown
System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) Unknown
System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(System.Threading.Tasks.Task task, bool taskWasPreviouslyQueued) Unknown
System.Threading.Tasks.TaskScheduler.TryRunInline(System.Threading.Tasks.Task task, bool taskWasPreviouslyQueued) Unknown
System.Threading.Tasks.TaskContinuation.InlineIfPossibleOrElseQueue(System.Threading.Tasks.Task task, bool needsProtection) Unknown
System.Threading.Tasks.StandardTaskContinuation.Run(System.Threading.Tasks.Task completedTask, bool bCanInlineContinuationTask) Unknown
System.Threading.Tasks.Task.FinishContinuations() Unknown
System.Threading.Tasks.Task.FinishStageThree() Unknown
System.Threading.Tasks.Task<TResult>.TrySetResult(TResult result) Unknown
System.Runtime.CompilerServices.AsyncTaskMethodBuilder<TResult>.SetResult(TResult result) Unknown
Microsoft.VsHub.Utility.VsHubServiceHttpMessageHandler.SendAsync(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext(object stateMachine) Unknown
System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.OutputAsyncCausalityEvents.AnonymousMethod__0() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.ContinuationWrapper.Invoke() Unknown
System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod__0() Unknown
System.Runtime.CompilerServices.AsyncMethodBuilderCore.ContinuationWrapper.Invoke() Unknown
System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Action action, bool allowInlining, System.Threading.Tasks.Task currentTask) Unknown
System.Threading.Tasks.Task.FinishContinuations() Unknown
System.Threading.Tasks.Task.FinishStageThree() Unknown
System.Threading.Tasks.Task<TResult>.TrySetResult(TResult result) Unknown
System.Threading.Tasks.TaskCompletionSource<TResult>.TrySetResult(TResult result) Unknown
System.Net.Http.HttpClientHandler.GetResponseCallback(System.IAsyncResult ar) Unknown
System.Net.LazyAsyncResult.Complete(System.IntPtr userToken) Unknown
System.Net.ContextAwareResult.CompleteCallback(object state) Unknown
System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Unknown
System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown
System.Net.ContextAwareResult.Complete(System.IntPtr userToken) Unknown
System.Net.LazyAsyncResult.ProtectedInvokeCallback(object result, System.IntPtr userToken) Unknown
System.Net.HttpWebRequest.ProcessResponse() Unknown
System.Net.HttpWebRequest.SetResponse(System.Net.CoreResponseData coreResponseData) Unknown
System.Net.HttpWebRequest.SetAndOrProcessResponse(object responseOrException) Unknown
System.Net.ConnectionReturnResult.SetResponses(System.Net.ConnectionReturnResult returnResult) Unknown
System.Net.Connection.ReadComplete(int bytesRead, System.Net.WebExceptionStatus errorStatus) Unknown
System.Net.Connection.ReadCallback(System.IAsyncResult asyncResult) Unknown
System.Net.Connection.ReadCallbackWrapper(System.IAsyncResult asyncResult) Unknown
System.Net.LazyAsyncResult.Complete(System.IntPtr userToken) Unknown
System.Net.ContextAwareResult.Complete(System.IntPtr userToken) Unknown
System.Net.LazyAsyncResult.ProtectedInvokeCallback(object result, System.IntPtr userToken) Unknown
System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(uint errorCode, uint numBytes, System.Threading.NativeOverlapped* nativeOverlapped) Unknown
System.Threading._IOCompletionCallback.PerformIOCompletionCallback(uint errorCode, uint numBytes, System.Threading.NativeOverlapped* pOVERLAP) Unknown
The locals in LogExceptions<T>() are:
scenario Get Microsoft.VisualStudio.Settings.Telemetry.SettingScenario
action EnumeratePrivateStoreContents Microsoft.VisualStudio.Settings.Telemetry.SettingAction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment