Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rider 2024.2 exceptions #223

Open
ArtManyak opened this issue Jul 2, 2024 · 7 comments
Open

Rider 2024.2 exceptions #223

ArtManyak opened this issue Jul 2, 2024 · 7 comments

Comments

@ArtManyak
Copy link

In Rider we have a lot of exceptions like that:
JetBrains Rider 2024.2 Build RD-242.15523.27 Date 2024-06-08T07:26:00.000+0000

--- EXCEPTION #1/1 [LoggerException]
Message = \“ReSharperPlugin.SpecflowRiderPlugin.Psi.GherkinLanguageService should be Demand cause of NoInitializationStrategy based container”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
HResult = COR_E_APPLICATION=80131600

StackTraceString = “
  at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex) in Log.il:line IL_0003 mvid 8866
     at JetBrains.Diagnostics.LogEx.Error(ILog this, String message) in Error.il:line IL_0000 mvid A5E3
     at JetBrains.Util.Logging.Logger.LogError(String message) in LogError.il:line IL_0000 mvid 8866
     at JetBrains.Util.Logging.Logger.Fail(String messageText) in Fail.il:line IL_0000 mvid 8866 or Fail.il:line IL_001A mvid 8866
     at JetBrains.Util.Logging.Logger.Fail(String format, Object[] args) in Fail.il:line IL_0000 mvid 8866 or Fail.il:line IL_001A mvid 8866
     at JetBrains.Util.Logging.Logger.Assert(Boolean condition, String format, Object[] args) in Assert.il:line IL_0003 mvid 8866
     at JetBrains.Application.Components.NoInitializationStrategy.AssertDescriptorsInstantiation(IEnumerable`1 descriptors) in AssertDescriptorsInstantiation.il:line IL_0010 mvid 3C91
     at JetBrains.Application.Components.NoInitializationStrategy.JetBrains.Application.Components.IInitializationStrategy.Schedule(Lifetime lifetime, ICollection`1 descriptors, String containedId, IComponentContainer container)
     at JetBrains.Application.Components.ComponentStorage.ComposeDescriptors(ICollection`1 descriptors) in ComposeDescriptors.il:line IL_004E mvid 3C91
     at JetBrains.Application.Components.ComponentStorage.Compose() in Compose.il:line IL_00C9 mvid 3C91
     at JetBrains.Application.Components.ComponentContainer.Compose() in Compose.il:line IL_0000 mvid 3C91
     at JetBrains.Application.Extensibility.SplittedComponentContainer`2.InitializeDefinition(Lifetime lifetime, TDefinition definition, IPartCatalogSet catalogSet, IComponentContainer parentContainer) in InitializeDefinition.il:line IL_0075 mvid 3C91
     at JetBrains.Application.Extensibility.SplittedComponentContainer`2.<>c__DisplayClass4_2.<.ctor>b__2() in SplittedComponentContainer.il:line IL_0035 mvid 3C91
     at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode) in ViaFactory.il:line IL_001C mvid DE3E
     at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) in ExecutionAndPublication.il:line IL_0022 mvid DE3E
     at System.Lazy`1.CreateValue() in CreateValue.il:line IL_0074 mvid DE3E
     at JetBrains.Application.Extensibility.SplittedComponentContainer`2.WarmUpAsync(Lifetime lifetime, IContainerThreading threading, IPartCatalogSet catalogSet) in WarmUpAsync.il:line IL_00CE mvid 3C91
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s) in ExecutionContextCallback.il:line IL_0000 mvid DE3E
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in RunInternal.il:line IL_0040 mvid DE3E
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext(Thread threadPoolThread) in MoveNext.il:line IL_0000 mvid DE3E or MoveNext.il:line IL_0040 mvid DE3E
     at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.MoveNext() in MoveNext.il:line IL_0000 mvid DE3E or MoveNext.il:line IL_0040 mvid DE3E
     at JetBrains.Util.Concurrency.Threading.Tasks.SchedulerAwaiter.<>c__DisplayClass11_0.<OnCompleted>b__0(Object _) in SchedulerAwaiter.il:line IL_0000 mvid 8866
     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in RunInternal.il:line IL_0040 mvid DE3E
     at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) in ExecuteWithThreadLocal.il:line IL_0096 mvid DE3E
     at System.Threading.Tasks.Task.ExecuteEntry() in ExecuteEntry.il:line IL_0036 mvid DE3E
     at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task) in ExecuteTask.il:line IL_0014 mvid 8866
     at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask() in EnqueueNextTask.il:line IL_0015 mvid 8866
     at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc() in ThreadPoolProc.il:line IL_0197 mvid 8866
     at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.StartProc() in StartProc.il:line IL_0000 mvid 8866
@Socolin
Copy link
Collaborator

Socolin commented Jul 2, 2024

The plugin is not compatible with 2024.2 yet

@Socolin
Copy link
Collaborator

Socolin commented Jul 2, 2024

Ho, and you'll need to move to Reqnroll too, I cannot update this plugin anymore #214

@StrictLine
Copy link

The plugin is not compatible with 2024.2 yet

When will it be compatible? Is there an ETA?

Furthermore, I tried to compile it on Mac OS (Apple Silicon) and getting the following error:

Failed to load A, error: dlopen(/usr/local/share/dotnet/host/fxr/8.0.7/libhostfxr.dylib, 0x0001): tried: '/usr/local/share/dotnet/host/fxr/8.0.7/libhostfxr.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/share/dotnet/host/fxr/8.0.7/libhostfxr.dylib' (no such file), '/usr/local/share/dotnet/host/fxr/8.0.7/libhostfxr.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
The library libhostfxr.dylib was found, but loading it from /usr/local/share/dotnet/host/fxr/8.0.7/libhostfxr.dylib failed
  - Installing .NET Core prerequisites might help resolve this problem.
     https://go.microsoft.com/fwlink/?linkid=2063366

FAILURE: Build failed with an exception.

Is there a way to workaround this?

@StrictLine
Copy link

In the meanwhile I tried to build the project on a Windows 11 IoT VM and getting the following error:

 .\gradlew :buildPlugin

> Configure project :protocol
[gradle-intellij-plugin :] IDE sources are not available for Rider SNAPSHOTS

> Task :compileDotNet
MSBuild version 17.11.4+37eb419ad for .NET
  Determining projects to restore...
  All projects are up-to-date for restore.
MSBUILD : warning : IsSkipCheckAllReferences is False, this mode is currently not supported in the .NET Core branch, no check will be performed. [Z:\Projects\Playground\EXT-SpecFlow.Rider\src\dotnet\ReSharperPlugin.SpecflowRiderPlugin\ReSharperPlugin.SpecflowRiderPlugin.Rider.csproj]
Z:\Projects\Playground\EXT-SpecFlow.Rider\src\dotnet\ReSharperPlugin.SpecflowRiderPlugin\Analytics\SolutionTracker.cs(27,53): warning CS0618: 'SolutionLoadTask.SolutionLoadTask(string, SolutionLoadTaskKinds, Action)' is obsolete: 'Use overload with source parameter' [Z:\Projects\Playground\EXT-SpecFlow.Rider\src\dotnet\ReSharperPlugin.SpecflowRiderPlugin\ReSharperPlugin.SpecflowRiderPlugin.Rider.csproj]
  ReSharperPlugin.SpecflowRiderPlugin.Rider -> Z:\Projects\Playground\EXT-SpecFlow.Rider\src\dotnet\ReSharperPlugin.SpecflowRiderPlugin\bin\ReSharperPlugin.SpecflowRiderPlugin.Rider\Debug\ReSharperPlugin.SpecflowRiderPlugin.dll
  ReSharperPlugin.SpecflowRiderPlugin.Tests -> Z:\Projects\Playground\EXT-SpecFlow.Rider\src\dotnet\ReSharperPlugin.SpecflowRiderPlugin.Tests\bin\ReSharperPlugin.SpecflowRiderPlugin.Tests\Debug\ReSharperPlugin.SpecflowRiderPlugin.Tests.dll

> Task :compileKotlin FAILED
e: file:///Z:/Projects/Playground/EXT-SpecFlow.Rider/src/rider/main/kotlin/com/jetbrains/rider/plugins/specflowriderplugin/injector/LanguageInjector.kt:12:29 Unresolved reference: intelliLang
e: file:///Z:/Projects/Playground/EXT-SpecFlow.Rider/src/rider/main/kotlin/com/jetbrains/rider/plugins/specflowriderplugin/injector/LanguageInjector.kt:34:35 Unresolved reference: InjectorUtils

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 42s
6 actionable tasks: 4 executed, 2 up-to-date

@Socolin
Copy link
Collaborator

Socolin commented Aug 31, 2024

Try to read the pinned issue. It's always a good idea to check if the issue was not already reported on GitHub
#214

@StrictLine
Copy link

The pinned issue does not contain any information on the ETA of an upgraded plugin which should be compatible with the Rider 2024.2.

@Socolin
Copy link
Collaborator

Socolin commented Sep 1, 2024

The pinned comment explain that I CANNOT update this plugin, it's technically impossible to publish a new version.

Use reqnroll plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants