microsoft / azure-tools-for-java

Azure tools for Java, including Azure Toolkits for Eclipse, IntelliJ and related projects.
Other
240 stars 161 forks source link

[IntelliJ][ReportedByUser] Uncaught Exception java.lang.IllegalStateException: Exception thrown on Scheduler.Worker thread. Add `onError` handling. #5475

Closed labraven closed 3 years ago

labraven commented 3 years ago

IntelliJ build version: 2021.1.2 IU-211.7442.40 OS: Mac OS X JDK: JetBrains s.r.o. 11.0.11 Plugin version: 3.54.0-2021.1 Additional Info: None Parent component:

com.intellij.openapi.wm.impl.IdeRootPane[,0,22,1440x828,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]

Error message:


IdeaLoggingEvent[message=null, throwable=java.lang.IllegalStateException: Exception thrown on Scheduler.Worker thread. Add `onError` handling.
    at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:57)
Caused by: rx.exceptions.OnErrorNotImplementedException: Already disposed: Project(name=NUSA Analytics Solutions, containerState=DISPOSE_COMPLETED, componentStore=/Users/ryan/source/NUSA Analytics Solutions) (disposed)
Caused by: com.intellij.serviceContainer.AlreadyDisposedException: Already disposed: Project(name=NUSA Analytics Solutions, containerState=DISPOSE_COMPLETED, componentStore=/Users/ryan/source/NUSA Analytics Solutions) (disposed)
    at com.microsoft.azure.toolkit.intellij.azuresdk.service.ProjectLibraryService.getProjectLibraries(ProjectLibraryService.java:27)
    at com.microsoft.azure.toolkit.intelli
wangmingliang-ms commented 3 years ago

Duplicate of #5439