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

RSRP-468207: [Performance Report] Building and running unit tests using R# is very slow

$
0
0
Reporter Maurice de Beijer (mauricedb) Maurice de Beijer (mauricedb)
Created Feb 2, 2018 11:58:07 AM
Updated Apr 11, 2018 10:00:38 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Open
Type Performance Problem
Fix version 2018.1.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 10.0.15063.0
Product: ReSharper, Version: 2017.2.20171006.123800
Time Zone: W. Europe Standard Time

Description

Building and running unit tests in a large projects is very slow.

Running a single test when the code has already been build takes 3proximately 30 seconds.

Adding an empty line to the unit test turns this into a build and run of 47 seconds.

Adding an empty line to the code under test turns this into a build and run of aproximately 60 seconds.

See also the response from Sam Harwell when I reported this to the VS team here: https://developercommunity.visualstudio.com/content/problem/192140/building-and-running-unit-tests-is-very-slow.html

RSRP-468303: MSTest v2 partially broken in 2017.3.2 (Regression to 2017.3.1)

$
0
0
Reporter Martin (IAmMartin) Martin (IAmMartin)
Created Feb 8, 2018 3:58:44 PM
Updated Apr 11, 2018 10:02:50 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Open
Type Bug
Fix version 2018.1
Affected versions 2017.3.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
When running UnitTests, some will no longer execute with the R# build 2017.3.2.
I can clearly nail it down to the specific version and all tests run fine with 2017.3.1 if I downgrade (done it multiple times)

I have no idea why certain tests work and some fail.
Maybe related to https://youtrack.jetbrains.com/issue/DEXP-336867 or https://youtrack.jetbrains.com/issue/DEXP-336868

Test-Log for failing tests
   INFO BuildStage started
INFO Build policy: Automatic
INFO 1 projects built
VERBOSE Tests
INFO BuildStage completed
INFO RefreshProjectPropertiesStage started
INFO RefreshProjectPropertiesStage completed
INFO DiscoveryStage started
INFO Test exploration required for 1 projects
VERBOSE Tests
INFO DiscoveryStage completed
INFO BuildPipelineStage started
INFO BuildPipelineStage completed
INFO ApplyRulesStage started
INFO Got 3 elements (0 explicit) to run
VERBOSE Marking 3 elements as Pending
VERBOSE Marking elements as Pending completed
VERBOSE Distributing 3 elements into runs
VERBOSE Distributing elements completed
INFO Created 1 unit-test runs
INFO ApplyRulesStage completed
INFO RunTestsStage started
VERBOSE Running up to 1 unit-test runs in parallel
INFO Run: b8c97efc-f3d2-4838-9a25-2e451cff5b47 - Started
VERBOSE Provider: MSTest
Project: Tests
Target Framework: .NETFramework,Version=v4.6.1
Strategy: JetBrains.ReSharper.UnitTesting.MSTest.Provider.Vanilla.V2.MsTestRunStrategy
Runtime Enviroment:
Platform Type: x64
Platform Version: v4_5
INFO [ProcessStartInfoPatchResult]
Original request: FrameworkRequest (UseInternal: False, UseMono: False, MonoDebugMode: True, MonoPrefer64Bit: True)
Success: True
ErrorMessage: <Empty>
Original StartInfo: FileName = 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.executionengine.exe', Arguments = '/ParentProcessId 17048', WorkDir = 'C:\WINDOWS\system32'
Patched StartInfo: FileName = 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.executionengine.exe', Arguments = '/ParentProcessId 17048', WorkDir = 'C:\WINDOWS\system32'

INFO Starting process: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.executionengine.exe /ParentProcessId 17048
INFO Started process with pid 9020
INFO Starting process: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.executionengine.exe /ParentProcessId 17048
INFO Started process with pid 9020
INFO Using extensions: D:\Workspaces\Clean\Source\Tests\bin\Debug\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll
ERROR Test-case objects missing for the following elements:
x.AccountNameCacheTests.InitializeTest
x.AccountNameCacheTests.GetDisplayNameTest
Rebuild the project and try again.
INFO Process C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.executionengine.exe:9020 is being aborted
INFO Process C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.executionengine.exe:9020 has exited
INFO Process C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.executionengine.exe:9020 has exited
INFO Run: b8c97efc-f3d2-4838-9a25-2e451cff5b47 - Completed
INFO RunTestsStage completed
INFO Finishing run
WARN Element <x.AccountNameCacheTests> was left pending after its run completion.
WARN Element <x.AccountNameCacheTests.InitializeTest> was left pending after its run completion.
WARN Element <x.AccountNameCacheTests.GetDisplayNameTest> was left pending after its run completion.
INFO Run is finished

And for OK Tests
   INFO BuildStage started
INFO Build policy: Automatic
INFO 1 projects built
VERBOSE Tests
INFO BuildStage completed
INFO RefreshProjectPropertiesStage started
INFO RefreshProjectPropertiesStage completed
INFO DiscoveryStage started
INFO Test exploration required for 1 projects
VERBOSE Tests
INFO DiscoveryStage completed
INFO BuildPipelineStage started
INFO BuildPipelineStage completed
INFO ApplyRulesStage started
INFO Got 3 elements (1 explicit) to run
VERBOSE Marking 3 elements as Pending
VERBOSE Marking elements as Pending completed
VERBOSE Distributing 3 elements into runs
VERBOSE Distributing elements completed
INFO Created 1 unit-test runs
INFO ApplyRulesStage completed
INFO RunTestsStage started
VERBOSE Running up to 1 unit-test runs in parallel
INFO Run: e89f349b-68f7-4b59-9bdb-77a303c4075c - Started
VERBOSE Provider: MSTest
Project: Tests
Target Framework: .NETFramework,Version=v4.6.1
Strategy: JetBrains.ReSharper.UnitTesting.MSTest.Provider.Vanilla.V2.MsTestRunStrategy
Runtime Enviroment:
Platform Type: x64
Platform Version: v4_5
INFO [ProcessStartInfoPatchResult]
Original request: FrameworkRequest (UseInternal: False, UseMono: False, MonoDebugMode: True, MonoPrefer64Bit: True)
Success: True
ErrorMessage: <Empty>
Original StartInfo: FileName = 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.executionengine.exe', Arguments = '/ParentProcessId 17416', WorkDir = 'C:\WINDOWS\system32'
Patched StartInfo: FileName = 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.executionengine.exe', Arguments = '/ParentProcessId 17416', WorkDir = 'C:\WINDOWS\system32'

INFO Starting process: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.executionengine.exe /ParentProcessId 17416
INFO Started process with pid 6204
INFO Starting process: C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.executionengine.exe /ParentProcessId 17416
INFO Started process with pid 6204
INFO Using extensions: D:\Workspaces\Clean\Source\Tests\bin\Debug\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll
INFO File 'Default.runsettings' is used as .runsettings file
TRACE RunSettings:
<RunSettings>[...]</RunSettings>
TRACE Remote: TelemetryTimeTakenInSecByAdaptersToRunTests,executor://mstestadapter/v2,6,2125494
INFO Process C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.executionengine.exe:6204 has exited
INFO Process C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.executionengine.exe:6204 has exited
INFO Run: e89f349b-68f7-4b59-9bdb-77a303c4075c - Completed
INFO RunTestsStage completed
INFO Finishing run
INFO Run is finished

RSRP-468383: [Performance Report] TestRunner is slowing down

$
0
0
Reporter Tino Klijn (TinoK) Tino Klijn (TinoK)
Created Feb 15, 2018 10:27:53 AM
Updated Apr 11, 2018 10:04:06 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Show-stopper
State Open
Type Performance Problem
Fix version 2018.1.1
Affected versions 2017.3.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Evaluator: False
OS Version: Microsoft Windows NT 10.0.14393.0
Product: dotCover, Version: 2017.3.20180201.111828
Product: dotTrace, Version: 2017.3.20180201.111809
Product: ReSharper, Version: 2017.3.20180201.111630
Product: dotMemory, Version: 2017.3.20180201.111807
Time Zone: W. Europe Standard Time

Description

When The testrunner starts its fast, after running a few tests it slows down.

RSRP-468047: sspi target principal incorrect

$
0
0
Reporter Carl Hoogstoel (choogstoel@medlog.be) Carl Hoogstoel (choogstoel@medlog.be)
Created Jan 22, 2018 6:36:16 PM
Updated Apr 11, 2018 10:06:05 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Waiting for Info
Type Bug
Fix version 2018.2
Affected versions 2017.3.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

We are running VS 2015 under an elevated account and when we start the unit test framework, the error sspi target principal incorrect is thrown and no test are run. I have added a screenshot of the stacktrace.

RSRP-467612: Unit tests are not discovered after first NuGet restore and build

$
0
0
Reporter Maria Pleskunina (Maria.Pleskunina) Maria Pleskunina (Maria.Pleskunina)
Created Dec 15, 2017 3:03:47 PM
Updated Apr 11, 2018 10:11:47 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2017.3, 2017.2.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
C# Class Library (.NET Framework) project

Steps to reproduce:
1. Clone the repository;
2. Build solution and restore NuGet packages => SWEA will turn green;
3. "Run All Tests From Solution" (Ctrl+T,Ctrl+L) => no test was found;
https://www.screencast.com/t/tuxHxGvO

Workaround: Rebuild solution OR use "Refresh" button in Unit Test Explorer

RSRP-466405: SetUpFixture is not properly handled in Unit-Test Session window

$
0
0
Reporter Eugene Strizhok (Eugene.Strizhok) Eugene Strizhok (Eugene.Strizhok)
Created Sep 26, 2017 4:06:06 PM
Updated Apr 11, 2018 10:12:54 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2017.3
Fixed In Version ReSharper Undefined
VsVersion All Versions
Steps to reproduce:

1. Create a project and reference NUnit nugget package.
2. Create a test fixture with a simple test.
3. Create a new Unit-Test Session for the solution.
4. Create a SetUpFixture in the same namespace as the test fixture and build the project.

Expected result:
1. SetUpFixture to appear in the UT Session window as a parent of already present test fixture.

Actual result:
1. SetUpFixture appear in the UT Session window, but it's not a parent of the test fixture until a grouping is changed

RSRP-458901: Wrong qualifier binding in Move Instance Method

$
0
0
Reporter Alisa Afonina (alisa.afonina) Alisa Afonina (alisa.afonina)
Created May 24, 2016 2:44:22 PM
Updated Apr 11, 2018 11:09:55 PM
Resolved Apr 11, 2018 11:09:55 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Major
State Fixed
Type Bug
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Move method pay() to employee type

namespace RefactoringExamples.ReplaceConditionalWithPolymorphism
{
public class Employee
{
private EmployeeType _employeeType;
private readonly int _monthlySalary;
private readonly int _commission;
private readonly int _bonus;

public Employee(int type)
{
Type = type;
_monthlySalary = 100;
_commission = 10;
_bonus = 20;
}

public int Type
{
get { return _employeeType.TypeCode; }
set { _employeeType = EmployeeType.TypeFrom(value); }
}

public int PayAmount()
{
return Pay();
}

private int Pay()
{
switch (_employeeType.TypeCode)
{
case EmployeeType.Engineer:
return _monthlySalary;
case EmployeeType.Salesperson:
return _monthlySalary + _commission;
case EmployeeType.Manager:
return _monthlySalary + _bonus;
default:
throw new Exception("Incorrect Employee");
}
}
}
}

using System;

namespace RefactoringExamples.ReplaceConditionalWithPolymorphism
{
public abstract class EmployeeType
{
public abstract int TypeCode { get; }

public static EmployeeType TypeFrom(int value)
{
switch (value)
{
case Engineer:
return new Engineer();
case Salesperson:
return new Salesperson();
case Manager:
return new Manager();
default:
throw new Exception("Incorrect Employee Code");
}
}

public const int Engineer = 0;
public const int Salesperson = 1;
public const int Manager = 2;
}

class Engineer : EmployeeType
{
public override int TypeCode => Engineer;
}

class Salesperson : EmployeeType
{
public override int TypeCode => Salesperson;
}

class Manager : EmployeeType
{
public override int TypeCode => Manager;
}
}

RSRP-449753: Support .runsettings file for NUnit tests

$
0
0
Reporter Alexandra Kuks (Asia.Rudenko) Alexandra Kuks (Asia.Rudenko)
Created Oct 21, 2015 5:41:15 PM
Updated Apr 12, 2018 2:28:15 AM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Major
State Submitted
Type Feature
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
With .runsettings file you now can configure how NUnit tests will be run; it works for VS + NUnit Test Adapter, but ReSharper ignores the file.
https://msdn.microsoft.com/ru-ru/library/jj635153(v=vs.110).aspx

RSRP-469212: Overlapping wrapping regions from left to right: Name PLACE_METHOD_ATTRIBUTE_ON_SAME_LINE_EXAfterAttributeSectionList, type StartAtInternal, PreferWrapBefore, from ATTRIBUTE_SECTION_LIST till BLOCK...

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Apr 11, 2018 2:32:24 PM
Updated Apr 12, 2018 3:11:21 AM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Normal
State Fixed In Branch
Type Exception
Fix version 2018.1.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
JetBrains JetBrains Rider 2018.1 Build RD-181.4379.948 Date 2018-04-10T07:15:27.722+0000

Overlapping wrapping regions from left to right: Name PLACE_METHOD_ATTRIBUTE_ON_SAME_LINE_EXAfterAttributeSectionList, type StartAtInternal, PreferWrapBefore, from ATTRIBUTE_SECTION_LIST till BLOCK Name INVOCABLE_DECLARATION_BRACESWrapRegion, type Chop, StartAtExternal, AllowEarlyBreak, EncourageLateRegionStart, from MODIFIERS_LIST till ERROR_ELEMENT

— EXCEPTION #1/1 [LoggerException]
Message = “
Overlapping wrapping regions from left to right:
Name PLACE_METHOD_ATTRIBUTE_ON_SAME_LINE_EXAfterAttributeSectionList, type StartAtInternal, PreferWrapBefore, from ATTRIBUTE_SECTION_LIST till BLOCK
Name INVOCABLE_DECLARATION_BRACESWrapRegion, type Chop, StartAtExternal, AllowEarlyBreak, EncourageLateRegionStart, from MODIFIERS_LIST till ERROR_ELEMENT

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Fail(String messageText) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 788
 at JetBrains.Util.Logging.Logger.Fail(String messageText) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 788
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.WrappingStage`2.CloseRegions(Boolean endAtInternal, ITreeNode closingNode) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\WrappingStage.cs:line 271
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.WrappingStage`2.ProcessNodeEnd() in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\WrappingStage.cs:line 243
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.ComplexFormatProcessor`2.ProcessNodeEnd() in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\ComplexFormatProcessor.cs:line 66
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.SequentialNodeIterator`2.IterateOnce(ITreeNode untilNode, IteratorState untilState) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\SequentialNodeIterator.cs:line 220
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.SequentialNodeIterator`2.Iterate(ITreeNode untilNode, IteratorState untilState) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\SequentialNodeIterator.cs:line 306
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.ComplexFormatProcessor`2.RunProcessors(IProgressIndicator progressIndicator, String taskName, ISequentialNodeProcessor`1 firstProcessor, ISequentialNodeProcessor`1 secondProcessor, ISequentialNodeProcessor`1 thirdProcessor) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\ComplexFormatProcessor.cs:line 44
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.CodeFormatterBase`1.DoDeclarativeFormat[TContext](FmtSettings`1 settings, FormatterInfoProviderBase`2 provider, ICustomFormatterInfoProvider customProvider, FormatTask[] formatTasks, AdditionalFormatterParameters parameters, Func`2 shouldDoIntAlign, Action`3 beforeFormat, Action`3 afterFormat, Boolean doAdditionalFormat) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\CodeFormatterBase.cs:line 351
 at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.Formatter.CSharpCodeFormatter.DoFormatWithNewEngine(FmtSettings`1 settings, ICSharpCustomFormattingInfoProvider customProvider, FormatTask[] formatTasks, AdditionalFormatterParameters parameters) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\CSharp\Src\Impl\CodeStyle\Formatter\CSharpCodeFormatter.cs:line 552
 at JetBrains.ReSharper.Psi.CSharp.Impl.CodeStyle.Formatter.CSharpCodeFormatter.Format(ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, AdditionalFormatterParameters parameters) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\CSharp\Src\Impl\CodeStyle\Formatter\CSharpCodeFormatter.cs:line 231
 at JetBrains.ReSharper.Psi.Impl.CodeStyle.CodeFormatterBase`1.Format(ITreeNode root, CodeFormatProfile profile, AdditionalFormatterParameters parameters) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Psi\_Core\Src\impl\CodeStyle\CodeFormatterBase.cs:line 201
 at JetBrains.ReSharper.Daemon.Formatter.FormatterDaemonStageProcess.Execute(Action`1 committer) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\src\Daemon\_Core\Src\Formatter\FormatterDaemonStageProcess.cs:line 34
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.RunStage(IDaemonStage stage, DaemonProcessKind processKind, Action`2 commiter, IContextBoundSettingsStore contextBoundSettingsStore, JetHashSet`1 disabledStages) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Services\_Core\Src\Daemon\Impl\DaemonProcessBase.cs:line 526
 at JetBrains.ReSharper.Feature.Services.Daemon.DaemonProcessBase.<>c__DisplayClass44_1.<DoHighlighting>g__Stage2(IDaemonStage stage) in C:\Build Agent\work\4d54332a870bf3eb\Psi.Features\Core\Services\_Core\Src\Daemon\Impl\DaemonProcessBase.cs:line 248
 at JetBrains.Application.Threading.Tasks.TaskBarrier.<>c__DisplayClass22_0.<EnqueueDependentJobs>b__2() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskBarrier.cs:line 151
 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher(Action action) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskHost.cs:line 158
 at JetBrains.Application.Threading.Tasks.TaskHost.<>c__DisplayClass33_0.<Create>b__1(Object state) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\TaskHost.cs:line 216
 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) in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\Scheduler\JetScheduler.cs:line 216
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\Scheduler\JetSchedulerThread.cs:line 200
 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc() in C:\Build Agent\work\364305ea1b444484\Platform\Core\Shell\Core\Src\Concurrency\Threading\Tasks\Scheduler\JetSchedulerThread.cs:line 150
 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-181.4379.948
app.version.major = 2018
app.version.minor = 1
app.build.date = 2018-04-10T07:15:27.722+0000
app.build.date.release = 2017-12-27T00:00:27.722+0000
app.build.date.release = 2017-12-27T00:00:27.722+0000
app.compilation.timestamp = null
app.product.code = RD

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

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

RSRP-469231: Configure JS Level independently between JS File and Razor View

$
0
0
Reporter Christian Gollhardt (cgollhardt) Christian Gollhardt (cgollhardt)
Created Apr 12, 2018 6:39:29 AM
Updated Apr 12, 2018 6:40:36 AM
Subsystem Code Analysis
Assignee Ivan Serduk (IvanSerduk)
Priority Normal
State Submitted
Type Usability Problem
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

It would be nice to configure the JS Level (ES5/ES6) per file type.

For example:

cshtml: ES5
js: ES6

Usecase:

Most of our code is written in ES6 Javascript Modules and then transpiled via WebPack and Babel to ES5. However when using a script tag in a Razor view, we need to support ES5.

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

$
0
0
Reporter Ian Johnson (Jono7AC) Ian Johnson (Jono7AC)
Created Nov 20, 2017 3:38:52 PM
Updated Apr 12, 2018 8:12:57 AM
Resolved Apr 9, 2018 6:41:45 PM
Subsystem Debugger features
Assignee Mikhail Senkov (micha)
Priority Critical
State Fixed
Type Exception
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper 2018.1 EAP 7
VsVersion All Versions
ReSharperPlatformVs15 Wave 11 Hive _4981c7d1 — JetBrains ReSharper Ultimate 2017.3 EAP 6 Build 111.0.20171117.131617-eap06

JetBrains ReSharper 2017.3 EAP 6 Build 2017.3.20171117.133018-eap06

SubProducts.0 = JetBrains ReSharper 2017.3 EAP 6 Build 2017.3.20171117.133018-eap06

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.Psi
StackTraceString = “
 at JetBrains.ReSharper.Psi.Tree.TreeNodeExtensions.AssertIsValid(ITreeNode element, String messageText)
 at JetBrains.ReSharper.Psi.Tree.TreeNodeExtensions.AssertIsValid(ITreeNode element, String messageText)
 at JetBrains.ReSharper.Psi.Pointers.PsiPointersExtensions.CreateTreeElementPointer[TTreeNode](TTreeNode element, TreeNodePointerConfiguration configuration)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.VsDebugVisualizerComponent.<>c__DisplayClass2b.<CalculateLocalValues>b__29(IDebugProperty local)
 at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
 at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
 at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.VsDebugVisualizerComponent.CalculateAdornments(Lifetime lifetime, ITextControl editor, FramePosition frame, IEnumerable`1 accumulatedReturnValues, IPsiSourceFile psiSourceFile)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.VsDebugVisualizerComponent.<>c__DisplayClass25.<ShowEditorAdornments>b__22()
 at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass1`1.<Advise>b__0(TValue value)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
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 2017.3 EAP 6 Build 111.0.20171117.131617-eap06”
Data.SubProducts.#0 = “JetBrains ReSharper 2017.3 EAP 6 Build 2017.3.20171117.133018-eap06”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave11-eap6::a6b69a3803846236d444b0df15d846b550ca1516

Data.VsVersion = 15.5.27110.0
Data.VsPreview = True
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.VsDebugVisualizerComponent.ShowEditorAdornments(Lifetime editorLifetime, ITextControl editor, IProjectFile projectItem, FramePosition frame, IEnumerable`1 accumulatedReturnValues)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.VsDebugVisualizerComponent.<>c__DisplayClass12.<>c__DisplayClass18.<OnStackFrameChanged>b__d()
 at JetBrains.ReSharper.Psi.Files.PsiFiles.CommitAllDocumentsAsync(Action success, Action interrupted)
 at JetBrains.PsiFeatures.VisualStudio.Debugger.VsDebugVisualizerComponent.<>c__DisplayClass12.<>c__DisplayClass18.<OnStackFrameChanged>b__c()
 at JetBrains.Application.Threading.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
 at JetBrains.Application.Threading.IShellLocksEx.<>c__DisplayClassa.<ExecuteOrQueueReadLock>b__9()
 at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass4.<>c__DisplayClass6.<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__DisplayClass5.<BeginInvokeCore>b__3()
 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-469229: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Apr 11, 2018 2:28:07 PM
Updated Apr 12, 2018 9:55:50 AM
Subsystem No Subsystem
Assignee Daniel Degtyarev (daniel.degtyarev)
Priority Show-stopper
State Open
Type Exception
Fix version 2018.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs14 Wave 12 — JetBrains ReSharper Ultimate 2018.1 EAP 8 Build 112.0.20180410.143903-eap08

JetBrains dotTrace 2018.1 EAP 8 Build 2018.1.20180410.152208-eap08
JetBrains ReSharper 2018.1 EAP 8 Build 2018.1.20180410.145033-eap08

Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

— EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Index was out of range. Must be non-negative and less than the size of the collection.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = mscorlib
ParamName = index
StackTraceString = “
 at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
 at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
 at System.Collections.Generic.List`1.get_Item(Int32 index)
 at JetBrains.UI.Controls.Common.ControlWithSlidingContentModel.<>c__DisplayClass45_0.<SetFocusTo>b__0()
 at JetBrains.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 8 Build 112.0.20180410.143903-eap08”
Data.SubProducts.#0 = “JetBrains dotTrace 2018.1 EAP 8 Build 2018.1.20180410.152208-eap08”
Data.SccRevisionEnv = “
Platform\Core\Shell:
    git::refs/heads/wave12-eap8::e9fac6c0f8a1178c8c33161f03fbfa81c8139edf


Platform\VisualStudio:
    git::refs/heads/wave12-eap8

Data.VsVersion = 14.0.25431.1
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.Util.ILoggerEx.Catch(ILogger thіs, Action F, ExceptionOrigin origin, LoggingLevel loggingLevel)
 at JetBrains.UI.Controls.Common.ControlWithSlidingContentModel.SetFocusTo(Int32 index)
 at JetBrains.UI.Controls.Common.ControlWithSlidingContentModel.<>c__DisplayClass41_0.<AnimateControls>b__0(Object sender, EventArgs args)
 at System.Windows.Media.Animation.Clock.FireEvent(EventPrivateKey key)
 at System.Windows.Media.Animation.Clock.RaiseAccumulatedEvents()
 at System.Windows.Media.Animation.TimeManager.RaiseEnqueuedEvents()
 at System.Windows.Media.Animation.TimeManager.Tick()
 at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
 at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
 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.DispatcherOperation.InvokeImpl()
 at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(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 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 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
 at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
 at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
 at System.Windows.Window.ShowHelper(Object booleanBox)
 at System.Windows.Window.Show()
 at System.Windows.Window.ShowDialog()
 at JetBrains.UI.License2.ShowLicenseDialogHandler.<>c__DisplayClass1_1.<OnShowDialog>b__4()
 at JetBrains.Application.UI.Components.UIApplication.ApplicationModalStateEx.<>c__DisplayClass0_0`1.<WithModalState>b__0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
 at JetBrains.Application.UI.Components.UIApplication.ApplicationModalStateEx.WithModalState[T](IApplicationModalState appModalState, Func`1 modalAction)
 at JetBrains.UI.License2.ShowLicenseDialogHandler.<>c__DisplayClass1_0.<OnShowDialog>b__0(Lifetime lifetime)
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ)
 at JetBrains.UI.License2.ShowLicenseDialogHandler.OnShowDialog(LicenseDialogShowArgs showArgs, IUIApplication uiapp, ILogger logger, HelpSystem helpSystem, ApplicationShutdownRequests shutdownRequests, WebProxySettingsReader proxySettingsReader, IDocumentsThatRequireUserConsent documentsThatRequireUserConsent)
 at JetBrains.UI.License2.ShowLicenseDialogHandler.<>c__DisplayClass0_1.<.ctor>b__1(LicenseDialogShowArgs args)
 at JetBrains.Application.License2.License2CheckComponent.<>c__DisplayClass22_0.<EnqueueShowLicenseDialog>b__1()
 at JetBrains.Threading.ReentrancyGuardEx.<>c__DisplayClass0_0.<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 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-80754: OutOfMemoryException

$
0
0
Reporter Ilya Ryzhenkov (orangy) Ilya Ryzhenkov (orangy)
Created Sep 16, 2008 10:30:37 AM
Updated Apr 12, 2018 10:11:04 AM
Resolved Feb 8, 2018 12:58:28 PM
Subsystem Crash
Assignee Sergey Shkredov (serjic.shkredov)
Priority Critical
State Obsolete
Type Exception
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-468177: System.Private.Xml should be referenced

$
0
0
Reporter Dotnet Shadow (dotnetshadow) Dotnet Shadow (dotnetshadow)
Created Feb 1, 2018 4:15:55 AM
Updated Apr 12, 2018 10:20:30 AM
Subsystem Platform - Project Model
Assignee Slava Tutushkin (slava.tutushkin)
Priority Show-stopper
State Waiting for Info
Type Bug
Fix version 2018.1.1
Affected versions 2017.3.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Using Resharper 2017.3.1
Project builds successfully, but there error still shows
I'm using this project: https://github.com/trenoncourt/HtmlAgilityPack.CssSelectors.NetCore

When I write this line in my own project which uses the above project I get the error:

System.Private.Xml should be referenced error
var nodes = doc.QuerySelectorAll("div .my-class[data-attr=123] > ul li").Select(x=>x.InnerTest);  // If I put .Select() it causes the issue, if I don't put it it's ok

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

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 12, 2018 11:01:36 AM
Updated Apr 12, 2018 11:04:16 AM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Submitted
Type Exception
Fix version 2018.2
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 182 Hive _3f3919c0 — JetBrains ReSharper Ultimate 2018.2 EAP 0 D Build 182.0.20180410.75333-eap00d

JetBrains ReSharper 2018.2 EAP 0 D Build 2018.2.20180410.101002-eap00d
JetBrains ReSharper C++ 2018.2 EAP 0 D Build 2018.2.20180410.100959-eap00d
JetBrains TeamCity Add-in 2018.2 EAP 0 D Build 2018.2.20180410.100958-eap00d

SubProducts.0 = JetBrains ReSharper C++ 2018.2 EAP 0 D Build 2018.2.20180410.100959-eap00d
SubProducts.1 = JetBrains TeamCity Add-in 2018.2 EAP 0 D Build 2018.2.20180410.100958-eap00d
SubProducts.2 = JetBrains ReSharper 2018.2 EAP 0 D Build 2018.2.20180410.101002-eap00d

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.Refactorings.CSharp
StackTraceString = “
 at JetBrains.ReSharper.Refactorings.CSharp.Indexer2Function.CsIndexer2Function.AreEquals(String name1, String name2)
 at JetBrains.ReSharper.Refactorings.CSharp.Indexer2Function.CsIndexer2Function.AreEquals(String name1, String name2)
 at JetBrains.ReSharper.Refactorings.CSharp.Indexer2Function.CsIndexer2Function.CheckConflictWithClassName(ITypeElement element)
 at JetBrains.ReSharper.Refactorings.Convert.ConvertMemberCommon.ConvertBase`2.SearchConflicts(IDeclaredElement convertedDeclaredElement, IProgressIndicator pi)
 at JetBrains.ReSharper.Refactorings.Convert.ConvertMemberCommon.ConvertRefactoring`2.SearchConflictInDeclaration(IConvertRefactoring exec, IOverridableMember member, IProgressIndicator pi)
 at JetBrains.ReSharper.Refactorings.Convert.ConvertMemberCommon.ConvertRefactoring`2.IterateDeclarations(IProgressIndicator pi, Action`3 action)
 at JetBrains.ReSharper.Refactorings.Convert.ConvertMemberCommon.ConvertRefactoring`2.Execute(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.DrivenRefactoringConflictSearcher.<>c__DisplayClass2_1.<SearchConflicts>b__0()
 at JetBrains.ReSharper.Psi.Transactions.PsiTransactionCookie.ExecuteConditionally(IPsiServices psiServices, Func`1 action, String commandName)
 at JetBrains.ReSharper.Feature.Services.Refactorings.DrivenRefactoringConflictSearcher.SearchConflicts(IProgressIndicator pi, Boolean canPerformRefactoring)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.<>c__DisplayClass42_0.<InitPage>b__0(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “Object reference not set to an instance of an object.”
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 2018.2 EAP 0 D Build 182.0.20180410.75333-eap00d”
Data.SubProducts.#0 = “JetBrains ReSharper C++ 2018.2 EAP 0 D Build 2018.2.20180410.100959-eap00d”
Data.SubProducts.#1 = “JetBrains TeamCity Add-in 2018.2 EAP 0 D Build 2018.2.20180410.100958-eap00d”
Data.SubProducts.#2 = “JetBrains ReSharper 2018.2 EAP 0 D Build 2018.2.20180410.101002-eap00d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/182-alisa.refactorings::14ffe60b0e2c72840c0fd29bf6d65d315696ed9e

Data.VsVersion = 15.6.27428.2037
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)
 at JetBrains.ReSharper.Feature.Services.Refactorings.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi)
 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.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
 at JetBrains.UI.SrcView.Progress.UITaskExecutorRun.Run(TaskThreadAffinity taskThreadAffinity, Action`1 task, Func`3 FAttachUi, ProgressIndicator indicator, IWin32Window parentWindow, IThreading threading, WorkerThreadShop workerThreadShop, Boolean enforceModalityState)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.RefactoringsTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.RunWithProgress[TResult](Func`2 action, String taskName, TResult& result)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.InitPage(IRefactoringPage page)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.NextPage(IRefactoringPage currentPage)
 at JetBrains.ReSharper.Feature.Services.Refactorings.WorkflowExecuter.MoveToNextPage()
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.WorkflowHostWithWizardForm.<NextClick>b__18_0()
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
 at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.WorkflowHostWithWizardForm.NextClick(Object sender, EventArgs e)
 at JetBrains.PsiFeatures.UIInteractive.Refactorings.CommonUI.RefactoringWizardForm.myContinueButton_Click(Object sender, EventArgs e)
 at System.Windows.Forms.Control.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnClick(EventArgs e)
 at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
 at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at System.Windows.Forms.ButtonBase.WndProc(Message& m)
 at System.Windows.Forms.Button.WndProc(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
 at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

RSRP-469233: Breaking change in allowed values of resharper_xmldoc_indent_*

$
0
0
Reporter Manuel Pallier (manuel.pallier) Manuel Pallier (manuel.pallier)
Created Apr 12, 2018 11:06:51 AM
Updated Apr 12, 2018 11:06:51 AM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

If I have those two lines in my EditorConfig file, the ReSharper options window doesn't highlight the options in yellow and doesn't show the overridden value in the tooltip:

resharper_xmldoc_indent_child_elements = zeroindent
resharper_xmldoc_indent_text = zeroindent

But if I change the values to "zero_indent" the options window correctly show the overridden values.

The change of possible values can also be seen on the documentation pages. Compare
https://www.jetbrains.com/help/resharper/EditorConfig_XMLDOC_XmlDocCodeStylePageSchema.html#Tag_Content and
https://www.jetbrains.com/help/resharper/2018.1/EditorConfig_XMLDOC_XmlDocCodeStylePageSchema.html#Tag_Content

As discussed in RSRP-468863 for a different EditorConfig property I'd suggest to also add an alias for these.

Tested with 2018.1 EAP 8

RSRP-467614: Purge valid breakpoint pointer.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Nov 30, 2017 9:56:30 PM
Updated Apr 12, 2018 11:32:14 AM
Resolved Dec 22, 2017 4:15:39 PM
Subsystem Debugger features
Assignee Alexander Ulitin (alexander.ulitin)
Priority Show-stopper
State Fixed
Type Exception
Fix version 2017.3.2
Affected versions No Affected versions
Fixed In Version ReSharper 2017.3.2 RTM
VsVersion All Versions
ReSharperPlatformVs15 Wave 11 Hive _321c4cfdPro15 — JetBrains ReSharper Ultimate 2017.3 EAP 8 D Build 111.0.20171129.201142-eap08d

JetBrains ReSharper 2017.3 EAP 8 D Build 2017.3.20171129.201142-eap08d

Purge valid breakpoint pointer.

— EXCEPTION #1/1 [LoggerException]
Message = “Purge valid breakpoint pointer.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2017.3 EAP 8 D Build 111.0.20171129.201142-eap08d”
Data.SubProducts.#0 = “JetBrains ReSharper 2017.3 EAP 8 D Build 2017.3.20171129.201142-eap08d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave11-pmHotFix1::a0d861c6307df3da27b1cb9dbabbcdbfef2c6ead

Data.VsVersion = 15.0.26228.4
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.Logging.Logger.Fail(String messageText) in w:\ReSharper\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 788
 at JetBrains.Util.Logging.Logger.Fail(String messageText) in w:\ReSharper\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 788
 at JetBrains.PsiFeatures.VisualStudio.Debugger.Breakpoints.VsBreakpointsSynchronizer.Synchronize() in w:\ReSharper\Psi.Features\VisualStudio\Debugger\Src\Breakpoints\VsBreakpointsSynchronizer.cs:line 317
 at JetBrains.PsiFeatures.VisualStudio.Debugger.Breakpoints.VsBreakpointsSynchronizer.<.ctor>b__0() in w:\ReSharper\Psi.Features\VisualStudio\Debugger\Src\Breakpoints\VsBreakpointsSynchronizer.cs:line 81
 at JetBrains.DataFlow.ISignalEx.<>c__DisplayClass1`1.<Advise>b__0(TValue value) in w:\ReSharper\Platform\Core\Shell\Core\Src\DataFlow\Extension\ISignalEx.cs:line 24
 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in w:\ReSharper\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 380
 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in w:\ReSharper\Platform\Core\Shell\Core\Src\DataFlow\Signal!1.cs:line 541
 at JetBrains.Threading.GroupingEvent.Execute() in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\GroupingEvent.cs:line 369
 at JetBrains.Threading.GroupingEventHost.ExecuteExpiredEvents() in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\GroupingEventHost.cs:line 258
 at JetBrains.Threading.GroupingEventHost.<OnClockTimerTick>b__4() in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\GroupingEventHost.cs:line 309
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 296
 at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action, TaskPriority priority) in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 394
 at JetBrains.Threading.GroupingEventHost.OnClockTimerTick() in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\GroupingEventHost.cs:line 315
 at JetBrains.Threading.GroupingEventHost.ClockTimer.OnTimerTick(Object sender, EventArgs e) in w:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\GroupingEventHost.cs:line 456
 at System.Windows.Forms.Timer.OnTick(EventArgs e)
 at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
 at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

RSRP-469234: EditorConfig property "xmldoc_indent_size" has no effect

$
0
0
Reporter Manuel Pallier (manuel.pallier) Manuel Pallier (manuel.pallier)
Created Apr 12, 2018 11:34:12 AM
Updated Apr 12, 2018 11:34:12 AM
Subsystem Code Style - Formatter
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

My EditorConfig file contains the following:

[*.{cs,csx,vb,vbx,fs,c,cpp,h,xaml,htm,html,cshtml,vbhtml,js,ts,css,scss,less,sql}]
indent_size = 4

[*.{cs,csx}]
xmldoc_indent_size = 2

The ReSharper options window correctly shows the overridden value of 2 in tooltips in the XML Doc Comments pane. The File Formatting Info window shows both settings as active (not strike through) and an overall indent setting of 4 spaces. I think this is also ok because it makes more sense to show the C# setting here.

But the actual idention used by the "Build-in: Full Cleanup" Code Cleanup is 4 spaces for the XML documentation. For example, the following code is changed to an indent size of 4 after the cleanup:

        /// <summary>
        ///   Summary line
        /// </summary>
        /// <remarks>
        ///   <para>Some longer text.</para>
        ///   <para>Some other longer text.</para>
        /// </remarks>
        public void DemoMethod()

Tested with 2018.1 EAP 8

Btw, not related to the issue, but why doesn't this property (and similar indent related properties) allow a "resharper_" prefix like most other custom ReSharper properties?

RSRP-467708: Hints not displayed in Resharper 2017.3 for third-party extensions

$
0
0
Reporter Kevin Gosse (KooKiz) Kevin Gosse (KooKiz)
Created Dec 21, 2017 5:25:03 PM
Updated Apr 12, 2018 11:37:09 AM
Resolved Apr 12, 2018 11:37:09 AM
Subsystem Code Analysis - C#
Assignee Alexander Shvedov (shvedov)
Priority Normal
State Fixed
Type Bug
Fix version 2018.1
Affected versions 2017.3
Fixed In Version ReSharper Undefined
VsVersion All Versions

After upgrading to Resharper 2017.3, hints reported by an extension (Heap Allocation Viewer) are not underlined anymore in the editor.

See the attached screenshots for the difference between 2017.2 and 2017.3.

It doesn't seem to be an issue with the extension, because the inspection becomes visible if I change the severity to suggestion, warning, or error.

RSRP-469235: Support SSR for Typescript

$
0
0
Reporter Ed Downs (ed_downs) Ed Downs (ed_downs)
Created Apr 12, 2018 11:37:50 AM
Updated Apr 12, 2018 11:37:50 AM
Subsystem Structured Patterns (SSR)
Assignee Vadim Lomshakov (Vadim.Lomshakov)
Priority Normal
State Submitted
Type Feature
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

It would be great if ReSharper would support the SSR functionality for the Typescript language.

Viewing all 106942 articles
Browse latest View live


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