Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all 106942 articles
Browse latest View live

RSRP-473916: Failed to evaluate the data rule. The given key was not present in the dictionary

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Mar 15, 2019, 5:27:20 PM
Updated Mar 30, 2019, 3:12:13 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Open
Type Exception
Fix version 2019.1
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

ReSharperPlatformVs16 Wave 191 Hive _0dccb533 — JetBrains ReSharper Ultimate 2019.1 EAP 2 D Build 191.0.20190314.223954-eap02d

JetBrains ReSharper 2019.1 EAP 2 D Build 2019.1.20190315.34442-eap02d

Failed to evaluate the data rule. The given key was not present in the dictionary

--- EXCEPTION #1/3 [KeyNotFoundException]
Message = “The given key was not present in the dictionary”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.Collections.Generic.KeyNotFoundException
Data.ThreadLocalDebugInfo = OleCommandTargetExec
HResult = COR_E_KEYNOTFOUND=80131577
Source = JetBrains.Platform.Core
StackTraceString = “
at JetBrains.Util.DataStructures.CompactMapBase4.get_Item(TKey key) at JetBrains.ReSharper.UnitTestFramework.Caches.OneToOneLevelDbCache1.<GetBy>b__9_0(Int32 id)
at System.Linq.Enumerable.<>c__DisplayClass7_03.<CombineSelectors>b__0(TSource x) at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()
at System.Collections.Generic.JetHashSet1..ctor(IEnumerable1 enumerable, IEqualityComparer1 comparer) at System.Linq.EnumerableExJet.ToJetHashSet[TSource](IEnumerable1 source)
at JetBrains.ReSharper.UnitTestFramework.Caches.OneToOneLevelDbCache1.GetBy(TKey key) at lambda_method(Closure , Object ) at JetBrains.ReSharper.UnitTestFramework.QueryProvider.OptimizationDefinition1.SingleParam.TryFetch(Expression expression)
at JetBrains.ReSharper.UnitTestFramework.QueryProvider.QueryProvider1.Evaluator.WhereEvaluator.Visit(Expression node) at JetBrains.ReSharper.UnitTestFramework.QueryProvider.QueryProvider1.Evaluator.WhereEvaluator.EvaluateAsSet(Expression expr)
at JetBrains.ReSharper.UnitTestFramework.QueryProvider.QueryProvider1.Evaluator.WhereEvaluator.VisitBinary(BinaryExpression node) at System.Linq.Expressions.BinaryExpression.Accept(ExpressionVisitor visitor) at JetBrains.ReSharper.UnitTestFramework.QueryProvider.QueryProvider1.Evaluator.WhereEvaluator.Visit(Expression node)
at JetBrains.ReSharper.UnitTestFramework.QueryProvider.QueryProvider1.Evaluator.WhereEvaluator.EvaluateAsReadOnlySet(Expression expr) at JetBrains.ReSharper.UnitTestFramework.QueryProvider.QueryProvider1.Evaluator.VisitMethodCall(MethodCallExpression node)
at System.Linq.Expressions.MethodCallExpression.Accept(ExpressionVisitor visitor)
at System.Linq.Expressions.ExpressionVisitor.Visit(Expression node)
at JetBrains.ReSharper.UnitTestFramework.QueryProvider.QueryProvider1.Execute(Expression expr) at JetBrains.ReSharper.UnitTestFramework.UnitTestElementRepository.LockingQueryProvider.Execute(Expression expr) at JetBrains.ReSharper.UnitTestFramework.UnitTestElementRepository.LockingQuery1.GetEnumerator()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) at JetBrains.ReSharper.UnitTestFramework.UnitTestFileExplorer.GetElements(IDocument document, TextRange documentRange, Func1 checkForInterrupt)
at JetBrains.ReSharper.UnitTestFramework.Common.UnitTestIdeDataRules.DocumentSelectionToCriterion(IDataContext context)
at JetBrains.ReSharper.UnitTestFramework.Common.UnitTestIdeDataRules.EverythingToCriterion(IDataContext context)
at JetBrains.Application.DataContext.DataRule`1.JetBrains.Application.DataContext.IDataRule.Evaluate(IDataContext context)
at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext, DataContextValidator validator)

--- Outer ---

--- EXCEPTION #2/3 [InvalidOperationException]
Message = “Failed to evaluate the data rule.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.DataConstant = UnitTestElements.Selected
Data.DataConstantType = “JetBrains.ReSharper.UnitTestFramework.UnitTestElements, JetBrains.ReSharper.UnitTestFramework, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”
Data.DataRuleObject = JetBrains.Application.DataContext.DataRule`1[JetBrains.ReSharper.UnitTestFramework.UnitTestElements]
Data.DataRulePriority = 0
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_INVALIDOPERATION=80131509

--- Outer ---

--- EXCEPTION #3/3 [LoggerException]
Message = “Failed to evaluate the data rule.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2019.1 EAP 2 D Build 191.0.20190314.223954-eap02d”
Data.SubProducts.#0 = “JetBrains ReSharper 2019.1 EAP 2 D Build 2019.1.20190315.34442-eap02d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
git::refs/heads/191::475f55ab4c83556561a5ed880b17dc4c27dabe6d

Platform\VisualStudio:
git::refs/heads/191::69c60e1c7729b3be57a63901260ba5c9af458b67

Data.VsVersion = 16.0.28711.60
Data.VsPreview = True
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Diagnostics.LogEx.Error(ILog this, Exception ex, String message)
at JetBrains.Application.DataContext.DataContext.Evaluator.TryEvaluateDataRules(IDataConstant constant, IDataContext dataContext, DataContextValidator validator)
at JetBrains.Application.DataContext.DataContext.DoGetData(IDataConstant constant)
at JetBrains.Application.DataContext.DataContext.JetBrains.Application.DataContext.IDataContext.GetData[T](DataConstant1 dataConstant) at JetBrains.ReSharper.UnitTestFramework.Actions.OpenUnitTestExplorerNavigationProvider.IsAvailable(IDataContext context) at JetBrains.ReSharper.UnitTestFramework.Actions.OpenUnitTestExplorerNavigationProvider.<CreateWorkflow>d__2.MoveNext() at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction3.GetWorkflowListToExecute(IDataContext dataContext)
at JetBrains.ReSharper.Feature.Services.ActionsMenu.ExtensibleAction3.Update(IDataContext context, ActionPresentation presentation, DelegateUpdate nextUpdate) at JetBrains.Application.UI.ActionsRevised.Handlers.ExecutableActionEvaluator.Evaluate(IAction handler, EvaluatedAction result, IDataContext context) at JetBrains.ReSharper.Feature.Services.Actions.ServicesActionEvaluator.Evaluate(IAction handler, EvaluatedAction result, IDataContext context) at JetBrains.Application.UI.ActionsRevised.Handlers.BoundAction.Evaluate(IDataContext context) at JetBrains.ReSharper.Feature.Services.Navigation.Goto.Controllers.GotoActionController.<>c__DisplayClass6_1.<InitUIActionsAvailability>b__0() at JetBrains.Util.Logging.Logger.Catch[TValue](Func1 func)
at JetBrains.ReSharper.Feature.Services.Navigation.Goto.Controllers.GotoActionController.InitUIActionsAvailability(IDataContext context)
at JetBrains.ReSharper.Feature.Services.Navigation.Goto.Controllers.GotoActionController.CreateGotoActionController(Lifetime lifetime, ISolution solution, LibrariesFlag solutionOnly, IShellLocks locks, IDataContext context, GotoByNameModel model, IGotoActionAsyncStrategy strategy, IMainWindowPopupWindowContext mainWindowPopupWindowContext, LifetimeDefinition lifetimeDefinition)
at JetBrains.PsiFeatures.UIInteractive.Features.Navigation.Features.Goto.GotoActionAction.<>c__DisplayClass0_0.<Execute>b__0(LifetimeDefinition definition)
at JetBrains.Lifetimes.Lifetime.Define(Lifetime lifetime, String id, Action1 atomicAction) at JetBrains.PsiFeatures.UIInteractive.Features.Navigation.Features.Goto.GotoActionAction.Execute(IDataContext context, DelegateExecute nextExecute) at JetBrains.Application.UI.ActionsRevised.Handlers.ExecutableActionEvaluator.Execute(IAction action, IReadOnlyCollection1 allActions, IDataContext dataContext)
at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements()
at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_1.<PrepareRequirementsAsync>b__0()
at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking)
at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func1 executeWhenRequirementsReady, Action1 failWith)
at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute()
at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<>c__DisplayClass17_0.<CommandTargetExec>b__0()
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action)
at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.CommandTargetExec(CommandID commandid, OLECMDEXECOPT cmdExecOpt)
at JetBrains.VsIntegration.Shell.Actions.Revised.VsOleCommandTargetHandler.<.ctor>b__12_2(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out)
at JetBrains.VsIntegration.Shell.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr vIn, IntPtr vOut)


RSRP-473915: The given key was not present in the dictionary

$
0
0
Reporter Sergey Kuks (coox) Sergey Kuks (coox)
Created Mar 15, 2019, 5:17:30 PM
Updated Mar 30, 2019, 3:12:25 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Submitted
Type Exception
Fix version 2019.1
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

ReSharperPlatformVs16 Wave 191 Hive _0dccb533 — JetBrains ReSharper Ultimate 2019.1 EAP 2 D Build 191.0.20190314.223954-eap02d

JetBrains ReSharper 2019.1 EAP 2 D Build 2019.1.20190315.34442-eap02d

The given key was not present in the dictionary

--- EXCEPTION #1/2 [KeyNotFoundException]
Message = “The given key was not present in the dictionary”
ExceptionPath = Root.InnerException
ClassName = System.Collections.Generic.KeyNotFoundException
HResult = COR_E_KEYNOTFOUND=80131577
Source = JetBrains.Platform.Core
StackTraceString = “
at JetBrains.Util.DataStructures.CompactMapBase4.get_Item(TKey key) at JetBrains.ReSharper.UnitTestFramework.Caches.OneToOneLevelDbCache1.<GetBy>b__9_0(Int32 id)
at System.Linq.Enumerable.<>c__DisplayClass7_03.<CombineSelectors>b__0(TSource x) at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()
at System.Collections.Generic.JetHashSet1..ctor(IEnumerable1 enumerable, IEqualityComparer1 comparer) at System.Linq.EnumerableExJet.ToJetHashSet[TSource](IEnumerable1 source)
at JetBrains.ReSharper.UnitTestFramework.Caches.OneToOneLevelDbCache1.GetBy(TKey key) at lambda_method(Closure , Object ) at JetBrains.ReSharper.UnitTestFramework.QueryProvider.OptimizationDefinition1.SingleParam.TryFetch(Expression expression)
at JetBrains.ReSharper.UnitTestFramework.QueryProvider.QueryProvider1.Evaluator.WhereEvaluator.Visit(Expression node) at JetBrains.ReSharper.UnitTestFramework.QueryProvider.QueryProvider1.Evaluator.WhereEvaluator.EvaluateAsReadOnlySet(Expression expr)
at JetBrains.ReSharper.UnitTestFramework.QueryProvider.QueryProvider1.Evaluator.WhereEvaluator.VisitBinary(BinaryExpression node) at System.Linq.Expressions.BinaryExpression.Accept(ExpressionVisitor visitor) at JetBrains.ReSharper.UnitTestFramework.QueryProvider.QueryProvider1.Evaluator.WhereEvaluator.Visit(Expression node)
at JetBrains.ReSharper.UnitTestFramework.QueryProvider.QueryProvider1.Evaluator.WhereEvaluator.EvaluateAsReadOnlySet(Expression expr) at JetBrains.ReSharper.UnitTestFramework.QueryProvider.QueryProvider1.Evaluator.VisitMethodCall(MethodCallExpression node)
at System.Linq.Expressions.MethodCallExpression.Accept(ExpressionVisitor visitor)
at System.Linq.Expressions.ExpressionVisitor.Visit(Expression node)
at JetBrains.ReSharper.UnitTestFramework.QueryProvider.QueryProvider1.Execute(Expression expr) at JetBrains.ReSharper.UnitTestFramework.UnitTestElementRepository.LockingQueryProvider.Execute(Expression expr) at JetBrains.ReSharper.UnitTestFramework.UnitTestElementRepository.LockingQuery1.GetEnumerator()
at System.Collections.Generic.JetHashSet1..ctor(IEnumerable1 enumerable, IEqualityComparer1 comparer) at JetBrains.ReSharper.UnitTestFramework.UnitTestElementObserver..ctor(Lifetime lifetime, String source, UnitTestElementOrigin origin, TargetFrameworkId targetFrameworkId, IEnumerable1 originalElements)
at JetBrains.ReSharper.UnitTestFramework.UnitTestFileExplorer.Explore(IFile file, IDocument document, Func1 interrupt, Action1 addHighlighting)
at JetBrains.ReSharper.UnitTestFramework.Highlighting.UnitTestDaemonProcess.Execute(Action`1 committer)

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “The given key was not present in the dictionary”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool(L) #2”
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2019.1 EAP 2 D Build 191.0.20190314.223954-eap02d”
Data.SubProducts.#0 = “JetBrains ReSharper 2019.1 EAP 2 D Build 2019.1.20190315.34442-eap02d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
git::refs/heads/191::475f55ab4c83556561a5ed880b17dc4c27dabe6d

Platform\VisualStudio:
git::refs/heads/191::69c60e1c7729b3be57a63901260ba5c9af458b67

Data.VsVersion = 16.0.28711.60
Data.VsPreview = True
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.ReSharper.UnitTestFramework.Highlighting.UnitTestDaemonProcess.Execute(Action1 committer) at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.RunStage(IDaemonStage stage, DaemonProcessKind processKind, Action2 commiter, IContextBoundSettingsStore contextBoundSettingsStore, JetHashSet`1 disabledStages)
at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass47_1.<DoHighlighting>g__Stage|2(IDaemonStage stage)
at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass49_1.<PrepareRunActionForStages>b__0()
at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass22_1.<EnqueueDependentJobs>b__2()
at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass33_0.<Create>b__1(Object state)
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
at System.Threading.Tasks.Task.ExecutionContextCallback(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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task)
at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
at ANNOTATED: JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread #A.JetPool(L) #2(Action )
at JetBrains.Util.Reflection.CallStackAnnotation.InvokeAnnotated(String classNameOfNewFrame, String methodNameOfNewFrame, Action actionToAnnotate)
at JetBrains.Util.Reflection.CallStackAnnotation.CatchAnnotatedInvocation[TClassOfNewFrame](String methodNameOfNewFrame, Action actionToAnnotate)
at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.<Start>b__20_0()
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()

RSRP-472930: Input string was not in a correct format.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Jan 11, 2019, 6:28:18 PM
Updated Mar 30, 2019, 3:16:40 PM
Subsystem Platform - VS Integration
Assignee Serge Baltic (baltic)
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions 2019.1
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

ReSharperPlatformVs15 Wave 191 Hive _3f3919c0 — JetBrains ReSharper Ultimate 2019.1 EAP 1 D Build 191.0.20190111.40047-eap01d

JetBrains dotCover 2019.1 EAP 1 D Build 2019.1.20190111.50605-eap01d
JetBrains dotMemory 2019.1 EAP 1 D Build 2019.1.20190111.50604-eap01d
JetBrains dotTrace 2019.1 EAP 1 D Build 2019.1.20190111.50606-eap01d
JetBrains ReSharper 2019.1 EAP 1 D Build 2019.1.20190111.41215-eap01d
JetBrains ReSharper C++ 2019.1 EAP 1 D Build 2019.1.20190111.41215-eap01d
JetBrains TeamCity Add-in 2019.1 EAP 1 D Build 2019.1.20190111.41217-eap01d

Input string was not in a correct format.

--- EXCEPTION #1/2 [FormatException]
Message = “Input string was not in a correct format.”
ExceptionPath = Root.InnerException
ClassName = System.FormatException
HResult = COR_E_FORMAT=80131537
Source = mscorlib
StackTraceString = “
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseUInt32(String value, NumberStyles options, NumberFormatInfo numfmt)
at Ankh.Selection.SelectionItemMap.SelectionMapHierarchy.ParseCanonicalName(String pszName, UInt32& pitemid)
at JetBrains.VsIntegration.Interop.Shim.VsShell.Shell.Hierarchy.VsHierarchyItemEx.GetHierarchyItemsWithTheSamePath(VsHierarchyItem hitem)
at JetBrains.VsIntegration.ProjectDocuments.Projects.Builder.ProjectModelSynchronizer.<>c__DisplayClass73_0.<ReloadFilePropertiesAsync>b__0()
at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “Input string was not in a correct format.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2019.1 EAP 1 D Build 191.0.20190111.40047-eap01d”
Data.SubProducts.#0 = “JetBrains dotCover 2019.1 EAP 1 D Build 2019.1.20190111.50605-eap01d”
Data.SubProducts.#1 = “JetBrains dotTrace 2019.1 EAP 1 D Build 2019.1.20190111.50606-eap01d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2019.1 EAP 1 D Build 2019.1.20190111.41215-eap01d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2019.1 EAP 1 D Build 2019.1.20190111.41217-eap01d”
Data.SubProducts.#4 = “JetBrains ReSharper 2019.1 EAP 1 D Build 2019.1.20190111.41215-eap01d”
Data.SubProducts.#5 = “JetBrains dotMemory 2019.1 EAP 1 D Build 2019.1.20190111.50604-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
git::refs/heads/191::740187895295b6afa12db39d42a07e016e70c515

Platform\VisualStudio:
git::refs/heads/191::5eefffe03a9ab94e496e1caa3b159cc2a16195ec

Data.VsVersion = 15.9.28307.280
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
at JetBrains.VsIntegration.Interop.VsInteropController.ExecuteActionsUnderProperLock(Boolean isWriteLockTaken)
at JetBrains.VsIntegration.Interop.VsInteropController.<ExecuteActionsUnderReadLockOrReschedule>b__20_0()
at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
at JetBrains.VsIntegration.Interop.VsInteropController.ExecuteActionsUnderReadLockOrReschedule()
at JetBrains.Util.Concurrency.UnguardedCallbackMerger.<>c__DisplayClass8_1.<ExecuteOrQueueOrMerge>b__0()
at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass0_1.<Queue>b__3()
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
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)

RSRP-470872: The “Assembly:Muellerchur.Xamos.Portable.BusinessObjects, Version=1.21.3.621, Culture=neutral, PublicKeyToken=null” lifetime has never been terminated

$
0
0
Reporter Thomas Stocker (thomas.stocker) Thomas Stocker (thomas.stocker)
Created Jul 4, 2018, 9:38:46 AM
Updated Mar 30, 2019, 3:47:09 PM
Resolved Aug 1, 2018, 7:40:30 AM
Subsystem Platform - Project Model
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Duplicate
Type Exception
Fix version 2018.2
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch
ReSharperPlatformVs15 Wave 182 Hive _cb16f37c — JetBrains ReSharper Ultimate 2018.2 EAP 1 Build 182.0.20180628.124316-eap01

JetBrains dotTrace 182 Build 182.0.20180628.132215-eap01
JetBrains ReSharper 182 Build 182.0.20180628.125556-eap01

The “Assembly:Muellerchur.Xamos.Portable.BusinessObjects, Version=1.21.3.621, Culture=neutral, PublicKeyToken=null” lifetime has never been terminated. Some resources might have leaked.

— EXCEPTION #1/3 [InvalidOperationException]
Message = “The “Assembly:Muellerchur.Xamos.Portable.BusinessObjects, Version=1.21.3.621, Culture=neutral, PublicKeyToken=null” lifetime has never been terminated. Some resources might have leaked.”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509

— Outer —

— EXCEPTION #2/3 [FinallyException]
Message = “The “Assembly:Muellerchur.Xamos.Portable.BusinessObjects, Version=1.21.3.621, Culture=neutral, PublicKeyToken=null” lifetime has never been terminated. Some resources might have leaked.”
ExceptionPath = Root.InnerException
ClassName = JetBrains.DataFlow.Disposable+FinallyException
Data.CreationStackTrace = “-=[ Stack trace logging disabled. ]=-”
Data.ObjectId = “Assembly:Muellerchur.Xamos.Portable.BusinessObjects, Version=1.21.3.621, Culture=neutral, PublicKeyToken=null”
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_APPLICATION=80131600
ObjectId = “Assembly:Muellerchur.Xamos.Portable.BusinessObjects, Version=1.21.3.621, Culture=neutral, PublicKeyToken=null”
CreationStackTrace = “-=[ Stack trace logging disabled. ]=-”

— Outer —

— EXCEPTION #3/3 [LoggerException]
Message = “The “Assembly:Muellerchur.Xamos.Portable.BusinessObjects, Version=1.21.3.621, Culture=neutral, PublicKeyToken=null” lifetime has never been terminated. Some resources might have leaked.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.2 EAP 1 Build 182.0.20180628.124316-eap01”
Data.SubProducts.#0 = “JetBrains dotTrace 182 Build 182.0.20180628.132215-eap01”
Data.SubProducts.#1 = “JetBrains ReSharper 182 Build 182.0.20180628.125556-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182-eap1::389b2b0a5d2b33c46224f8f1850bc61276990d1e


Platform\VisualStudio:
    git::refs/heads/182-eap1

Data.VsVersion = 15.8.27825.0
Data.VsPreview = True
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.DataFlow.Disposable.FinallyException.LogMissedDispose(String id, String message, String sOriginatingStackTrace)
 at JetBrains.DataFlow.Disposable.FinallyException.LogMissedDispose(String id, String message, String sOriginatingStackTrace)
 at JetBrains.DataFlow.Disposable.FinalizableDisposable.Finalize()

RSRP-473200: bracket/parenthesis matching and auto surrounding breaks the code

$
0
0
Reporter darth pixel (darth_pixel) darth pixel (darth_pixel)
Created Jan 25, 2019, 10:10:53 AM
Updated Mar 30, 2019, 4:51:14 PM
Subsystem Typing Assistance
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Fixed In Branch
Type Bug
Fix version 2019.1
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch 191-formatter-fixes-14
            List<object> result = new List<object>();

            foreach (MyType row in SomeCollection)
            {
                if (row.Count == 4)
                    result.Add(|row.Culture); //<< here is text cursor (pipe)
            }

now type new {
so the line will become broken
result.Add(new{row.Culture};
an extra closing } is added but unfortunately it replaces closing )
which is definitely wrong because code is broken
and to be honest it's not clear at first sight what had really happened

JetBrains Rider 2018.3.1
Build #RD-183.5253.26, built on December 26, 2018
Subscription is active until August 9, 2019
JRE: 1.8.0_152-release-1343-b26 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 7 6.1

RSRP-474117: Extension Methods in Partial Class Files Do Not Resolve Correctly

$
0
0
Reporter Michael DeMond (Mike-EEE76) Michael DeMond (Mike-EEE76)
Created Mar 31, 2019, 8:00:55 AM
Updated Mar 31, 2019, 8:01:09 AM
Subsystem IntelliSense (Code Completion)
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

Using this commit:
https://github.com/SuperDotNet/Super.NET/tree/47c7289e8983bb3ee446715fef0249cfb9181621

There appears to be an issue with extension methods not resolving correctly. Please see attached screenshot for an example.

Please note that these extension methods are defined in partial class files, and I believe this is the cause of the issue.

RSRP-474118: suggested name could be smarter

$
0
0
Reporter darth pixel (darth_pixel) darth pixel (darth_pixel)
Created Mar 29, 2019, 12:14:49 PM
Updated Mar 31, 2019, 10:46:27 AM
Subsystem No Subsystem
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

i could bet that it's common when user mixes shift characters
or press shift too early or too late
which leads to the idea that name suggestion could be smarter

according to the image
we have fAQRepository
which should be in fact faqRepository or FaqRepository (it should really be FAQRepository but it's against the naming rules)

now IDE suggests fAqRepository... which could probably be fine in some cases
but suggestion could also try this

  • find potential words in the dict (let's assume the user added it to the dict ;) >> faq + repository >> faqRepository
  • find last uppercase letter and lowercase all what's in front of it >> faqRepository

RSRP-466029: ReSharper CLI InspectCode doesn't run on macOS/Linux

$
0
0
Reporter Tomasz Cielecki (Cheesebaron) Tomasz Cielecki (Cheesebaron)
Created Aug 28, 2017, 2:51:57 PM
Updated Mar 31, 2019, 2:07:09 PM
Subsystem ReSharper Automation Tools (Command Line)
Assignee Razmik Seysyan (razmik)
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch
When running the CLI tools on macOS a lot of exceptions are thrown and no log is created for the InspectCode tool.

I've attached the output I get when running the CLI tool. It doesn't matter whether I run directly from the command line or through the Cake build script I have. Same output. The same script runs fine on Windows.

RSRP-472830: The build could not be started. Could not launch a Visual Studio build. Operation aborted. The error code is E_ABORT, or 0x80004004.

$
0
0
Reporter Anna Guseva (Anna.Guseva) Anna Guseva (Anna.Guseva)
Created Dec 26, 2018, 4:08:16 PM
Updated Mar 31, 2019, 9:25:15 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Exception
Fix version No Fix versions
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

ReSharperPlatformVs15 Wave 191 Hive _7e204d66 — JetBrains ReSharper Ultimate 2019.1 EAP 1 D Build 191.0.20181224.200043-eap01d

JetBrains dotCover 2019.1 EAP 1 D Build 2019.1.20181225.111000-eap01d
JetBrains dotMemory 2019.1 EAP 1 D Build 2019.1.20181225.111015-eap01d
JetBrains dotTrace 2019.1 EAP 1 D Build 2019.1.20181225.110951-eap01d
JetBrains ReSharper 2019.1 EAP 1 D Build 2019.1.20181224.201305-eap01d
JetBrains ReSharper C++ 2019.1 EAP 1 D Build 2019.1.20181224.201323-eap01d
JetBrains TeamCity Add-in 2019.1 EAP 1 D Build 2019.1.20181224.201311-eap01d

The build could not be started. Could not launch a Visual Studio build. Operation aborted. The error code is E_ABORT, or 0x80004004.

--- EXCEPTION #1/3 [COMException]
Message = “Could not launch a Visual Studio build. Operation aborted. The error code is E_ABORT, or 0x80004004.”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.Runtime.InteropServices.COMException
HResult = E_ABORT=80004004
Source = JetBrains.Platform.VisualStudio.Core
StackTraceString = “at JetBrains.VsIntegration.IDE.SolutionBuilder.VsSolutionBuilderRunner.ExecuteBuildRequest(SolutionBuilderRequest builderRequest)”

--- Outer ---

--- EXCEPTION #2/3 [InvalidOperationException]
Message = “The build could not be started. Could not launch a Visual Studio build. Operation aborted. The error code is E_ABORT, or 0x80004004.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.ReentrancyGuard.ActionName = ExecuteBuildRequest
InnerException = “Exception #1 at Root.InnerException.InnerException”
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.Platform.VisualStudio.Core
StackTraceString = “
at JetBrains.VsIntegration.IDE.SolutionBuilder.VsSolutionBuilderRunner.ExecuteBuildRequest(SolutionBuilderRequest builderRequest)
at JetBrains.ProjectModel.Features.SolutionBuilders.SolutionBuilder.<>c__DisplayClass26_0.<ExecuteBuildRequest>g__ExecuteBuildRequest|2()
at JetBrains.ProjectModel.Features.SolutionBuilders.SolutionBuilder.<>c__DisplayClass26_0.<ExecuteBuildRequest>b__3()
at JetBrains.DataFlow.IPropertyEx.WhenEqualsOnce[T](IProperty`1 property, Lifetime lifetime, Action FHandler, T value)
at JetBrains.ProjectModel.Features.SolutionBuilders.SolutionBuilder.<>c__DisplayClass26_0.<ExecuteBuildRequest>b__1()
at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
at JetBrains.Application.Threading.IShellLocksEx.<>c__DisplayClass7_0.<ExecuteOrQueueReadLockEx>b__0()
at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass4_1.<ExecuteOrQueueOrRunSync>b__2()
at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass0_1.<Queue>b__3()
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)

--- Outer ---

--- EXCEPTION #3/3 [LoggerException]
Message = “The build could not be started. Could not launch a Visual Studio build. Operation aborted. The error code is E_ABORT, or 0x80004004.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2019.1 EAP 1 D Build 191.0.20181224.200043-eap01d”
Data.SubProducts.#0 = “JetBrains dotCover 2019.1 EAP 1 D Build 2019.1.20181225.111000-eap01d”
Data.SubProducts.#1 = “JetBrains dotTrace 2019.1 EAP 1 D Build 2019.1.20181225.110951-eap01d”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2019.1 EAP 1 D Build 2019.1.20181224.201323-eap01d”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2019.1 EAP 1 D Build 2019.1.20181224.201311-eap01d”
Data.SubProducts.#4 = “JetBrains ReSharper 2019.1 EAP 1 D Build 2019.1.20181224.201305-eap01d”
Data.SubProducts.#5 = “JetBrains dotMemory 2019.1 EAP 1 D Build 2019.1.20181225.111015-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell:
git::refs/heads/191::0e76425788344e923c32c088da7d73371118fece

Platform\VisualStudio:
git::refs/heads/191

Data.VsVersion = 15.9.28307.222
InnerException = “Exception #2 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions()
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)

RSRP-473995: Specified argument was out of the range of valid values. Parameter name: position

$
0
0
Reporter Manus Hand (manushand) Manus Hand (manushand)
Created Mar 17, 2019, 6:51:35 AM
Updated Apr 1, 2019, 12:41:32 AM
Subsystem Parameter Name Hints
Assignee Andrew Vasilyev (Andrew.Vasilyev)
Priority Normal
State Fixed In Branch
Type Exception
Fix version 2019.1
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch 191-attribute-hints-method-declarations

ReSharperPlatformVs16 Wave 191 Hive _2e1356c6 — JetBrains ReSharper Ultimate 2019.1 EAP 1 Build 191.0.20190314.205056-eap01

JetBrains dotCover 2019.1 EAP 1 Build 2019.1.20190315.54011-eap01
JetBrains dotMemory 2019.1 EAP 1 Build 2019.1.20190315.54008-eap01
JetBrains dotTrace 2019.1 EAP 1 Build 2019.1.20190315.54022-eap01
JetBrains ReSharper 2019.1 EAP 1 Build 2019.1.20190315.53608-eap01
JetBrains ReSharper C++ 2019.1 EAP 1 Build 2019.1.20190315.53629-eap01
JetBrains TeamCity Add-in 2019.1 EAP 1 Build 2019.1.20190315.53613-eap01

SubProducts.0 = JetBrains dotCover 2019.1 EAP 1 Build 2019.1.20190315.54011-eap01
SubProducts.1 = JetBrains dotTrace 2019.1 EAP 1 Build 2019.1.20190315.54022-eap01
SubProducts.2 = JetBrains ReSharper C++ 2019.1 EAP 1 Build 2019.1.20190315.53629-eap01
SubProducts.3 = JetBrains TeamCity Add-in 2019.1 EAP 1 Build 2019.1.20190315.53613-eap01
SubProducts.4 = JetBrains ReSharper 2019.1 EAP 1 Build 2019.1.20190315.53608-eap01
SubProducts.5 = JetBrains dotMemory 2019.1 EAP 1 Build 2019.1.20190315.54008-eap01

Specified argument was out of the range of valid values. Parameter name: position

--- EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Specified argument was out of the range of valid values.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = Microsoft.VisualStudio.Text.Data
ParamName = position
StackTraceString = “
at Microsoft.VisualStudio.Text.SnapshotPoint..ctor(ITextSnapshot snapshot, Int32 position)
at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.Markup.IntraTextAdornments.TextViewController.TryGetPositionByMouse(MouseButtonEventArgs e, Nullable`1& position)
at JetBrains.Platform.VisualStudio.SinceVs10.TextControl.Markup.IntraTextAdornments.TextViewController.OnPreviewMouseDown(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(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)

--- Outer ---

--- EXCEPTION #2/2 [LoggerException]
Message = “
Specified argument was out of the range of valid values.
Parameter name: position

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2019.1 EAP 1 Build 191.0.20190314.205056-eap01”
Data.SubProducts.#0 = “JetBrains dotCover 2019.1 EAP 1 Build 2019.1.20190315.54011-eap01”
Data.SubProducts.#1 = “JetBrains dotTrace 2019.1 EAP 1 Build 2019.1.20190315.54022-eap01”
Data.SubProducts.#2 = “JetBrains ReSharper C++ 2019.1 EAP 1 Build 2019.1.20190315.53629-eap01”
Data.SubProducts.#3 = “JetBrains TeamCity Add-in 2019.1 EAP 1 Build 2019.1.20190315.53613-eap01”
Data.SubProducts.#4 = “JetBrains ReSharper 2019.1 EAP 1 Build 2019.1.20190315.53608-eap01”
Data.SubProducts.#5 = “JetBrains dotMemory 2019.1 EAP 1 Build 2019.1.20190315.54008-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
git::refs/heads/191-eap1::7e88c041b05d199a60dc6e76e6d59f1daaf6757d

Platform\VisualStudio:
git::refs/heads/191-eap1

Data.VsVersion = 16.0.28711.60
Data.VsPreview = True
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Application.Environment.Components.ReportUnhandledExceptions.<>c.<.ctor>b__0_6(Object sender, DispatcherUnhandledExceptionEventArgs args)
at System.Windows.Threading.DispatcherUnhandledExceptionEventHandler.Invoke(Object sender, DispatcherUnhandledExceptionEventArgs e)
at System.Windows.Threading.Dispatcher.CatchException(Exception e)
at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
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)

RSRP-473679: Huge performance problems in ModuleReferencesResolveStore

$
0
0
Reporter Dmitry Ivanov (daivanov) Dmitry Ivanov (daivanov)
Created Feb 28, 2019, 4:46:55 PM
Updated Apr 1, 2019, 1:42:09 AM
Subsystem Optimize References
Assignee Slava Tutushkin (slava.tutushkin)
Priority Critical
State Fixed In Branch
Type Performance Problem
Fix version 2019.1
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch 191-tutushkin-RSRP-473679

We have a performance degradation in SWEA Orchard solution (look at related issue) beacuse of MvcUtil methods that uses ModuleReferencesResolveStore inside

Please optimizae following:

  1. GetComponent - 20 sec!
  2. ChunkHashMap no longer needed. Replace it with Dicitionary.

\msdc\Snapshots\RSRP-473679\Orchard_Sampling_New_20190228_113829.zip

RSRP-470812: Apply File Layout fails when using #pragma directive

$
0
0
Reporter Anurag Devanapally (anuragaofl) Anurag Devanapally (anuragaofl)
Created Jul 27, 2018, 10:14:41 PM
Updated Apr 1, 2019, 2:05:52 AM
Subsystem Code Style - Cleanup
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Major
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1.3 RTM, 2018.1.2, 2018.1.1, 2018.1
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch

Applying file layout when using a #pragma warning disable in my code completely rearranges the order of the elements in a seemingly random manner.

Here's a simple example that I've confirmed the repro on:

    public class MyBar
    {
        private string _myFoo;

#pragma warning disable 649
        private string _foo;
        private string _foo2;
#pragma warning restore 649

        public MyBar (string value)
        {
            _myFoo = value;
        }
    }

My file layout pattern has fields before constructors, methods, etc. I have no special #pragma related sections in the file layout pattern.
However, when I apply file layout (through code cleanup), the entire #pragma block is moved to the bottom of the file.
Please find attached a dotSettings file that contains my file layout pattern.

Notes:

  1. The file layout is correctly applied for the fields if I don't use the #pragma directives.
  2. (This is interesting) The file layout is correctly applied if there's only one field in the #pragma warning disable/restore block. You can check this by removing the private string _foo2; line.

Please let me know if I can provide any more information. Thank you.

RSRP-474094: Visual Studio hanging trying to load solution

$
0
0
Reporter David Gardiner (flcdrg) David Gardiner (flcdrg)
Created Mar 28, 2019, 9:57:50 PM
Updated Apr 1, 2019, 2:29:10 AM
Subsystem Crash
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2019.1
Affected versions 2019.1
Fixed In EAP Undefined
VsVersion VS 2019 Preview 3
Branch No branch

Attached debugger and got this stack trace

 	[Managed to Native Transition]	
...
[Managed to Native Transition]	

JetBrains.Platform.Core.dll!JetBrains.Util.Concurrency.NativeEvent.WaitOne(int timeout) Unknown JetBrains.Platform.Core.dll!JetBrains.Util.Concurrency.NativeEvent.WaitOne() Unknown JetBrains.Platform.Core.dll!JetBrains.Util.Concurrency.ReentrantWriterPreferenceReadWriteLock.WriterLock.Acquire(int timeout) Unknown JetBrains.Platform.Core.dll!JetBrains.Util.Concurrency.ReentrantWriterPreferenceReadWriteLock.WriterLock.Acquire() Unknown JetBrains.Platform.Shell.dll!JetBrains.Application.Threading.ContentModelReadWriteLock.AcquireWriteLock(JetBrains.Util.Threading.CallerInfo callerInfo) Unknown JetBrains.Platform.Shell.dll!JetBrains.Application.Threading.IShellLocksEx.UsingWriteLock(JetBrains.Application.Threading.IShellLocks locks, string callerFilePath, string callerMemberName) Unknown JetBrains.ReSharper.Psi.dll!JetBrains.ReSharper.Psi.Caches.Jobs.CacheJobService2.ExecuteSplittedWriteActivity.AnonymousMethod__1() Unknown JetBrains.Platform.Core.dll!JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher<bool>(System.Func<bool> action) Unknown JetBrains.Platform.Core.dll!JetBrains.Application.Threading.Tasks.TaskHost.Create.AnonymousMethod__1(object state) Unknown mscorlib.dll!System.Threading.Tasks.Task<bool>.InnerInvoke() Line 686 C# mscorlib.dll!System.Threading.Tasks.Task.Execute() Line 2498 C# mscorlib.dll!System.Threading.Tasks.Task.ExecutionContextCallback(object obj) Line 2861 C# mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 954 C# mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 902 C# mscorlib.dll!System.Threading.Tasks.Task.ExecuteWithThreadLocal(ref System.Threading.Tasks.Task currentTaskSlot) Line 2827 C# mscorlib.dll!System.Threading.Tasks.Task.ExecuteEntry(bool bPreventDoubleExecution) Line 2756 C# mscorlib.dll!System.Threading.Tasks.TaskScheduler.TryExecuteTask(System.Threading.Tasks.Task task) Line 458 C# JetBrains.Platform.Core.dll!JetBrains.Application.Threading.Tasks.ReentrancyGuardTaskScheduler..ctor.AnonymousMethod__3_0(object state) Unknown JetBrains.Platform.Core.dll!JetBrains.Application.Threading.Tasks.ReentrancyGuardTaskScheduler.ExecuteWithLock(System.Threading.SendOrPostCallback sendOrPostCallback, object state) Unknown JetBrains.Platform.Core.dll!JetBrains.Application.Threading.Tasks.ReentrancyGuardTaskScheduler.ExecuteInternal.AnonymousMethod__0() Unknown JetBrains.Platform.Core.dll!JetBrains.Threading.ReentrancyGuard.Execute(string name, System.Action action) Unknown JetBrains.Platform.Core.dll!JetBrains.Threading.ReentrancyGuard.ExecutePendingActions() Unknown JetBrains.Platform.Core.dll!JetBrains.Threading.JetDispatcher.Closure.Execute() Unknown JetBrains.Platform.Core.dll!JetBrains.Util.Concurrency.WinJetDispatcher.ProcessQueue(int nMinBucket) Unknown JetBrains.Platform.Core.dll!JetBrains.Util.Concurrency.WinJetDispatcher.BeginInvokeCore.AnonymousMethod__0() Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeDelegateCore() Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(object state) Unknown WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(object obj) Unknown mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 954 C# mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 902 C# mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 891 C# WindowsBase.dll!MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Unknown WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) Unknown WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) Unknown WindowsBase.dll!System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) Unknown WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) Unknown

Also logged at https://resharper-support.jetbrains.com/hc/requests/2039813 and at https://developercommunity.visualstudio.com/content/problem/508874/visual-studio-hanging-reloading-solution.html

RSRP-467844: Debugging of Office Addin in Visual Studio 2017 (15.5.2) impossible with ReSharper

$
0
0
Reporter Andreas Hartmann (ndee42) Andreas Hartmann (ndee42)
Created Jan 9, 2018, 5:05:01 PM
Updated Apr 1, 2019, 2:34:56 AM
Subsystem Run Configurations
Assignee Slava Tutushkin (slava.tutushkin)
Priority Critical
State Submitted
Type Bug
Fix version Backlog
Affected versions 2017.3
Fixed In EAP Undefined
VsVersion VS 2017
Branch No branch

My Office Addin (Office.js app) is no more started and displayed in office 2016 desktop client (Word or Excel) when I start a debug session in Visual Studio.
When I suspend ReSharper (2017.3) the add in is integrated into the office desktop apps.
@Stanislav Emelin https://stackoverflow.com/questions/48149396/office-addin-taskpane-not-openend-by-starting-debugging/48169646#48169646

RSRP-464574: Remove unused using directives in solution is very slow

$
0
0
Reporter Evgeny Peshkov (epeshk) Evgeny Peshkov (epeshk)
Created Apr 28, 2017, 9:58:29 AM
Updated Apr 1, 2019, 3:09:21 AM
Subsystem No Subsystem
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Submitted
Type Performance Problem
Fix version No Fix versions
Affected versions 2017.2, 2017.1.2, 2017.1.1, 2017.1
Fixed In EAP Undefined
VsVersion VS 2017
Branch No branch
Remove unused using directives in solution (and maybe other "in solution" fixes is very slow. It perform full-scan search for redundant usings, but solution wide analyze ("Find code issues") can find redundant usings fast.

e.g. i launch "Find code issues" and it instantly found many problems (include redundant usings)
then? i go to file with redundant using and launch "Remove unused using directives in solution"/ And wait... it works very slow, I hope it will be optimized in next releases

RSRP-471652: Object reference not set to an instance of an object.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Jul 4, 2018, 11:52:42 AM
Updated Apr 1, 2019, 8:35:38 AM
Subsystem Context Actions
Assignee Alexander Shvedov (shvedov)
Priority Critical
State Submitted
Type Exception
Fix version 2019.1
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch
ReSharperPlatformVs14 Wave 182 — JetBrains ReSharper Ultimate 2018.2 EAP 1 Build 182.0.20180628.124316-eap01

JetBrains dotMemory 182 Build 182.0.20180628.132247-eap01
JetBrains dotTrace 182 Build 182.0.20180628.132215-eap01
JetBrains ReSharper 182 Build 182.0.20180628.125556-eap01

SubProducts.0 = JetBrains dotTrace 182 Build 182.0.20180628.132215-eap01
SubProducts.1 = JetBrains ReSharper 182 Build 182.0.20180628.125556-eap01
SubProducts.2 = JetBrains dotMemory 182 Build 182.0.20180628.132247-eap01

Object reference not set to an instance of an object.

— EXCEPTION #1/2 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.InnerException
ClassName = System.NullReferenceException
HResult = E_POINTER=COR_E_NULLREFERENCE=80004003
Source = JetBrains.ReSharper.Intentions.CSharp
StackTraceString = “
 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.IfToGuardClauseAction.GetSwitchSectionByTopLevelStatement(IIfStatement ifStatement)
 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.IfToGuardClauseAction.GetSwitchSectionByTopLevelStatement(IIfStatement ifStatement)
 at JetBrains.ReSharper.Intentions.CSharp.ContextActions.IfToGuardClauseAction.IsAvailable(IUserDataHolder cache)
 at JetBrains.ReSharper.Feature.Services.ContextActions.ContextActionTableImpl.InstantiateAvailableActions(IPsiSourceFile sourceFile, IDictionary`2 providersCache, IUserDataHolder dataHolder)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = “JetPool(S) #2”
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.2 EAP 1 Build 182.0.20180628.124316-eap01”
Data.SubProducts.#0 = “JetBrains dotTrace 182 Build 182.0.20180628.132215-eap01”
Data.SubProducts.#1 = “JetBrains ReSharper 182 Build 182.0.20180628.125556-eap01”
Data.SubProducts.#2 = “JetBrains dotMemory 182 Build 182.0.20180628.132247-eap01”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/182-eap1::389b2b0a5d2b33c46224f8f1850bc61276990d1e


Platform\VisualStudio:
    git::refs/heads/182-eap1

Data.VsVersion = 14.0.25431.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.Feature.Services.ContextActions.ContextActionTableImpl.InstantiateAvailableActions(IPsiSourceFile sourceFile, IDictionary`2 providersCache, IUserDataHolder dataHolder)
 at JetBrains.ReSharper.Feature.Services.ContextActions.ContextActionTableImpl.InstantiateAvailableActions(IPsiSourceFile sourceFile, IDictionary`2 providersCache, IUserDataHolder dataHolder)
 at JetBrains.ReSharper.Intentions.Bulbs.ContextActionsProvider.CollectActions(IntentionsBulbItems intentionsBulbItems, BulbItemsCache bulbItemsCache, ITextControl textControl, Lifetime caretPositionLifetime, IPsiSourceFile psiSourceFile, Object precalculatedData)
 at JetBrains.ReSharper.Intentions.Bulbs.BulbItems.<>c__DisplayClass21_0.<BuildAvailableActionsList>b__1()
 at JetBrains.Application.Threading.InterruptableReadActivityThe.Work()
 at JetBrains.Application.Threading.InterruptableReadActivity.DoWork()
 at JetBrains.Application.Threading.InterruptableReadActivity.WorkerThreadProc()
 at JetBrains.Util.Logging.Logger.Catch(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHostEx.<>c__DisplayClass2_0.<RunSafe>b__0()
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass33_0.<Create>b__1(Object state)
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()
 at System.Threading.Tasks.Task.ExecutionContextCallback(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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
 at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
 at System.Threading.Tasks.TaskScheduler.TryExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
at ANNOTATED: JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread #2.JetPool(S) #2(Action )
 at JetBrains.Util.Reflection.CallStackAnnotation.InvokeAnnotated(String classNameOfNewFrame, String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Util.Reflection.CallStackAnnotation.CatchAnnotatedInvocation[TClassOfNewFrame](String methodNameOfNewFrame, Action actionToAnnotate)
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.<Start>b__19_0()
 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()

RSRP-473978: This operation requires a reader lock. Use 'using (ReadLockCookie.Create()) { ... }'.

$
0
0
Reporter Max Ilyashenko (UncleHo) Max Ilyashenko (UncleHo)
Created Mar 19, 2019, 5:25:48 PM
Updated Apr 1, 2019, 9:06:12 AM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Fixed In Branch
Type Exception
Fix version 2019.1
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch 191-ut-fixes

JetBrains Rider 2019.1 Build RD-191.6062.275 Date 2019-03-15T06:26:25.704+0000

--- EXCEPTION #1/1 [LoggerException]
Message = “This operation requires a reader lock. Use 'using (ReadLockCookie.Create()) { ... }'.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.Logging.Logger.Fail(String messageText)
at JetBrains.Application.Threading.IShellLocksEx.AssertReadAccessAllowed(IShellLocks thіs)
at JetBrains.ProjectModel.Impl.SolutionElement.FindProjectItemsByLocation(FileSystemPath location)
at JetBrains.ProjectModel.SolutionEx.<FindProjectsByProjectFilePath>d__11.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.OrderedEnumerable1.<GetEnumerator>d__1.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at JetBrains.ProjectModel.Search.ProjectLocatorBase1.TryFindProject(IProjectSearchDescriptor descriptor) at JetBrains.ReSharper.Host.Features.ProjectModel.TargetFrameworks.RiderProjectContextProvider.TryGetCurrentTargetFrameworkId(IProjectSearchDescriptor projectSearchDescriptor) at JetBrains.ProjectModel.Interfaces.ProjectContext.GetCurrentTargetFrameworkId(IProject project) at JetBrains.ReSharper.UnitTestProvider.nUnit.v26.NUnitTestElementSerializer.ReadFixture(XmlElement parent, String id, IUnitTestElement parentElement, IProject project, Func2 getTypeName)
at JetBrains.ReSharper.UnitTestProvider.nUnit.v26.NUnitTestElementSerializer.DeserializeElement(XmlElement parent, String id, IUnitTestElement parentElement, IProject project, Func2 getTypeName) at JetBrains.ReSharper.UnitTestFramework.Elements.UnitTestElementCache.Deserialize(XmlElement e, IProject project, IDictionary2 restoredElements, IDictionary2 restoredTypeNames) at JetBrains.ReSharper.UnitTestFramework.Elements.UnitTestElementCache.<>c__DisplayClass27_1.<Load>b__0(XmlElement element) at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Collections.Generic.JetHashSet1..ctor(IEnumerable1 enumerable, IEqualityComparer1 comparer)
at System.Linq.EnumerableExJet.ToJetHashSet[TSource](IEnumerable1 source) at JetBrains.ReSharper.UnitTestFramework.Elements.UnitTestElementCache.Load(ICollection1 projects, Action`1 addElements)
at JetBrains.ReSharper.UnitTestFramework.Elements.UnitTestElementCache.LoadUnitTestsFromCaches()
at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action)
at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass33_0.<Create>b__1(Object state)
at System.Threading.Tasks.Task.Execute()
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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task)
at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask()
at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc()
at JetBrains.Util.Reflection.CallStackAnnotation.InvokeAnnotated(String classNameOfNewFrame, String methodNameOfNewFrame, Action actionToAnnotate)
at JetBrains.Util.Reflection.CallStackAnnotation.CatchAnnotatedInvocation[TClassOfNewFrame](String methodNameOfNewFrame, Action actionToAnnotate)
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()

last.action = null

app.eap = true
app.internal = false
app.build = RD-191.6062.275
app.version.major = 2019
app.version.minor = 1
app.build.date = 2019-03-15T06:26:25.704+0000
app.build.date.release = 2019-04-20T00:00:25.704+0000
app.build.date.release = 2019-04-20T00:00:25.704+0000
app.compilation.timestamp = null
app.product.code = RD

os.name = Windows 10
java.version = 1.8.0_202-release
java.vm.vendor = JetBrains s.r.o

UIUtil.isRetina = false
JBUI.isHiDPI() = false
ImageScaleFactor = 1

RSRP-469948: SourceLink: private repository not supported by Go to Definition

$
0
0
Reporter Philipp Voronin (fvoronin) Philipp Voronin (fvoronin)
Created May 31, 2018, 9:26:08 AM
Updated Apr 1, 2019, 10:30:52 AM
Subsystem External Sources
Assignee Nikita Raba (nikita.raba)
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion VS 2017
Branch No branch

Visual Studio 15.7 added private source link support to their debugger (https://goo.gl/iNAvgW). And there is uservoice for support generic authentication with SourceLink (https://goo.gl/GjA9E9).
We would like to see support for GitHub Enterprise, GitLab, Bitbucket, and TFS private repositories in Go to Definition functionality.

RSRP-474119: Use of VSTS symbol server for PDB

$
0
0
Reporter Alexandra Guk (Alexandra.Guk) Alexandra Guk (Alexandra.Guk)
Created Apr 1, 2019, 10:30:52 AM
Updated Apr 1, 2019, 10:31:02 AM
Subsystem External Sources
Assignee Nikita Raba (nikita.raba)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In EAP Undefined
VsVersion All Versions
Branch No branch
I have a test netcore 2.2 project that uses a netstandard20 nuget package from my VSTS feed. The build pipeline includes the step to index and publish the symbols. The PDB is in portable format. When I click on a symbol in the package (F12 on TruncateEllipsis) PdbNavigator tries to download the PDB, but it fails with Non-OK HTTP status code. It shows a decompile of the assembly. I included a Fiddler trace. That shows a 203 response and is a redirect because of authentication. The data response is the correct PDB.
I tested again and checked with both full (classic) PDBs and portable PDB. The response is the same. I cannot find any info why the symbol server returns a 203 after redirect for authentication, of if it is possible to change that. As mentioned, the symbol server does serve the correct PDB as blob. I can enter the redirect URL in a browser and the PDB is downloaded.

RSRP-473928: SWEA Analysis not readable in VS2019 blue theme

$
0
0
Reporter Carsten Schuette (CarstenSchuette.1) Carsten Schuette (CarstenSchuette.1)
Created Mar 18, 2019, 9:13:06 AM
Updated Apr 1, 2019, 10:45:49 AM
Resolved Apr 1, 2019, 10:45:49 AM
Subsystem UI
Assignee Daniel Degtyarev (daniel.degtyarev)
Priority Normal
State Fixed
Type Usability Problem
Fix version 2019.1
Affected versions 2019.1
Fixed In EAP Undefined
VsVersion VS 2019 Preview 3
Branch 191-degtyarev-RSRP-473928

SWEA Analysis not readable in VS2019 blue theme

Viewing all 106942 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>