Reporter | Maltseva Ekaterina (Maltseva.Ekaterina) |
---|---|
Created | Oct 9, 2018 3:49:44 PM |
Updated | Oct 19, 2018 11:44:00 AM |
Resolved | Oct 19, 2018 11:44:00 AM |
Subsystem | Code Style - Formatter |
Assignee | Dmitry Osinovsky (Dmitry.Osinovsky) |
Priority | Major |
State | Duplicate |
Type | Exception |
Fix version | No Fix versions |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
JetBrains ReSharper 2018.3 EAP 2 D Build 2018.3.20181008.232820-eap02d
JetBrains ReSharper C++ 2018.3 EAP 2 D Build 2018.3.20181008.232819-eap02d
Indent mismatch
— EXCEPTION #1/2 [AssertionException]
Message = “Indent mismatch”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.RdCore
StackTraceString = “
at JetBrains.Util.Assertion.Assert(Boolean condition, String message)…
at JetBrains.Util.Assertion.Assert(Boolean condition, String message)
at JetBrains.ReSharper.Psi.Impl.CodeStyle.AutoDetectIndentingStage`2.CheckIndentAndCreateNewHolder(ITreeNode current)
at JetBrains.ReSharper.Psi.Impl.CodeStyle.AutoDetectIndentingStage`2.IndentNode(ITreeNode prevNode, ITreeNode current, Boolean reallyIndent)
at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentingStage`2.DoProcessNextSolidNode(FormattingRangeContext context, Boolean fromFirstMacroOnLine)
at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentingStage`2.ProcessNextSolidNode(FormattingRangeContext context)
at JetBrains.ReSharper.Psi.Impl.CodeStyle.SequentialNodeIterator`2.IterateOnce(ITreeNode untilNode, IteratorState untilState)
at JetBrains.ReSharper.Psi.Impl.CodeStyle.SequentialNodeIterator`2.Iterate(ITreeNode untilNode, IteratorState untilState)
at JetBrains.ReSharper.Psi.Impl.CodeStyle.SequentialNodeIterator`2.IterateWithProgress(ITreeNode untilNode, IteratorState untilState, String name, IProgressIndicator progress)
at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentingStage`2.DoIndent(ITreeNode onlyChange, IProgressIndicator progressIndicator, String taskName)
at JetBrains.ReSharper.Psi.Impl.CodeStyle.IndentingStage`2.DoIndent(Boolean allowNoLinebreaks)
at JetBrains.ReSharper.Psi.Impl.CodeStyle.CodeFormatterBase`1.DoAutoDetectFormat[TContext](ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, FormatterInfoProviderBase`2 provider, AdditionalFormatterParameters parameters)
at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.Formatter.CSharpCodeFormatter.AutoDetectFormat(ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, AdditionalFormatterParameters parameters)
at JetBrains.ReSharper.Psi.Impl.CodeStyle.FormatterImplHelper.AutoDetectFormat(IFile file, TreeTextRange range, CodeFormatProfile profile, AdditionalFormatterParameters parameters)
at JetBrains.ReSharper.Psi.CodeStyle.CodeFormatterHelper.AutoDetectFormat(PsiLanguageType languageType, ISolution solution, DocumentRange docRange, CodeFormatProfile profile, AdditionalFormatterParameters parameters)
at JetBrains.ReSharper.Intentions.Formatting.DocumentRangeBoundCodeFormatter.AutoDetectFormat(Lifetime lifetime, IProgressIndicator progress, IContextBoundSettingsStore settingsStore)
at JetBrains.ReSharper.Intentions.Formatting.AutoDetectFormatViewModel.<>c__DisplayClass3_0.<AutoDetectFormat>b__1(IProgressIndicator progress)
at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary)
— Outer —
— EXCEPTION #2/2 [LoggerException]
Message = “Indent mismatch”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = UiTaskExecutorWorker
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.3 EAP 2 D Build 183.0.20181008.231709-eap02d”
Data.SubProducts.#0 = “JetBrains ReSharper C++ 2018.3 EAP 2 D Build 2018.3.20181008.232819-eap02d”
Data.SubProducts.#1 = “JetBrains ReSharper 2018.3 EAP 2 D Build 2018.3.20181008.232820-eap02d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
git::refs/heads/183-autodetect-formatter-settings
”
Data.VsVersion = 15.8.28010.2041
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary)…
at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary)
at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.<>c__DisplayClass11_0.<RunStartTask>b__0()
at JetBrains.Threading.JetDispatcher.Closure.Execute()
at JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(Int32 nMinBucket)
at JetBrains.Util.Concurrency.WinJetDispatcher.<>c__DisplayClass18_0.<BeginInvokeCore>b__0()
at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at JetBrains.Interop.WinApi.User32Dll.DispatchMessageW(MSG* lpmsg)
at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.InternalPumpMessagesOnce()
at JetBrains.Util.Concurrency.WinJetDispatcher.WinJetDispatcherStaticMethods.JetBrains.Util.Concurrency.IJetDispatcherStaticMethods.Run()
at JetBrains.Threading.JetDispatcher.<>c__DisplayClass22_1.<CreateDispatcherThread>b__1()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()