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

Exception in plugin Uno Platform on JetBrains Rider #19687

Closed
sasakrsmanovic opened this issue Mar 17, 2025 · 5 comments
Closed

Exception in plugin Uno Platform on JetBrains Rider #19687

sasakrsmanovic opened this issue Mar 17, 2025 · 5 comments
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification

Comments

@sasakrsmanovic
Copy link
Contributor

Current behavior

Juan Writes:

Every time I open Rider on my MacBook Pro M1 Max, I got this exception:

Image

This is the complete text of the exception:

Must be executed on UI thread or background threads with special permissions

java.lang.IllegalStateException: |E| Wrong thread RdProperty: RiderBackend 0.SolutionModel.solutions.[1].templatePluginModel.isUnoCheckValidationEnabled
      at com.jetbrains.rdclient.protocol.RdDispatcher.assertThread(RdDispatcher.kt:73)
      at com.jetbrains.rd.platform.protocol.SwitchingScheduler.assertThread(SwitchingScheduler.kt:22)
      at com.jetbrains.rd.framework.base.RdReactiveBase.assertThreading(RdReactiveBase.kt:28)
      at com.jetbrains.rd.framework.base.RdReactiveBase.localChange$rd_framework(RdReactiveBase.kt:43)
      at com.jetbrains.rd.framework.impl.RdProperty.setValue(RdProperty.kt:284)
      at com.jetbrains.rd.framework.impl.RdProperty.set(RdProperty.kt:290)
      at uno.rider.settings.SettingsInitializationActivity.execute(SettingsInitializationActivity.kt:10)
      at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1.invokeSuspend(StartupManagerImpl.kt:493)
      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
      at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
      at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:608)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:873)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:763)
      at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:750)

Expected behavior

No response

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

Rider macOS

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@sasakrsmanovic sasakrsmanovic added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Mar 17, 2025
@JuanFcoMiranda
Copy link

Hi, I'm using the latest version of the IDE:

JetBrains Rider 2024.3.6
Build #RD-243.25659.34, built on February 27, 2025
Runtime version: 21.0.6+8-b631.39 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 15.3.2
.NET Core v8.0.11 ARM64 (Server GC)
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 8192M
Cores: 10
Metal Rendering is ON
Registry:
  ide.experimental.ui=true
  llm.show.ai.promotion.window.on.start=false
  terminal.new.ui=true
Non-Bundled Plugins:
  com.jetbrains.rider.android (243.25659.34)
  ru.adelf.idea.dotenv (2024.3)
  unoplatform (1.3.50)
  com.github.copilot (1.5.38.9436-243-nightly)
  org.sonarlint.idea (10.18.0.80657)

@jeromelaban
Copy link
Member

Thanks for the report, we're aware of this issue and we'll issue a new version very soon.

@Takoooooo
Copy link

@JuanFcoMiranda We've fixed the issue on our side, the release would be available in a few days or so. But note that this issue shouldn't block you from using Rider or Uno plugin for Rider, it doesen't affect the execution in any way

@JuanFcoMiranda
Copy link

@Takoooooo Yes, I know, but it's pretty annoying to see the error on the bottom bar of Rider.

@jeromelaban
Copy link
Member

The release will be available soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

No branches or pull requests

4 participants