Skip to content

Access to primary thread component from background thread #7

@jyjor

Description

@jyjor

Email from Jetbrains:

Hello,

After performing an additional automated check, we have found that this plugin version causes the following exception:

Message = "Access to primary thread component from background thread" InnerException = "Exception #1 at Root.InnerException" StackTraceString = " at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex) in Log.il:line IL_0024 mvid 79A3 at JetBrains.Diagnostics.LogEx.Error(ILog this, Exception ex, String message) in Error.il:line IL_0000 mvid A5E3 at JetBrains.Application.Components.AsyncDescriptorBase.AssertPrimaryThreadComponentsAccess() in AssertPrimaryThreadComponentsAccess.il:line IL_008B mvid FA3A at JetBrains.Application.Components.AsyncDescriptorBase.GetValue() in GetValue.il:line IL_0014 mvid FA3A at JetBrains.Application.Components.ComponentContainerEx.GetComponent(IComponentContainer container, Type service) in GetComponent.il:line IL_0000 mvid FA3A or GetComponent.il:line IL_00A6 mvid FA3A at JetBrains.Application.Components.ComponentContainerEx.GetComponent[TInterface](IComponentContainer container) in GetComponent.il:line IL_0000 mvid FA3A or GetComponent.il:line IL_00A6 mvid FA3A at JetBrains.ProjectModel.SolutionEx.GetComponent[TComponent](ISolution solution) in GetComponent.il:line IL_0000 mvid 1C9A at JetBrains.ReSharper.Psi.PsiSourceFileExtensions.GetPsiSourceFiles(IDocument document, ISolution solution) in GetPsiSourceFiles.il:line IL_0032 mvid 711A at JetBrains.ReSharper.Psi.PsiSourceFileExtensions.GetPsiSourceFile(IDocument document, ISolution solution) in GetPsiSourceFile.il:line IL_0050 mvid 711A at JetBrains.ReSharper.Psi.Extensions.GetContextFromDocument(IDocument document, ISolution solution) in GetContextFromDocument.il:line IL_0000 mvid 711A at JetBrains.ReSharper.Psi.Extensions.GetContext(ITextControl textControl, ISolution solution) in GetContext.il:line IL_001C mvid 711A at JetBrains.ReSharper.Daemon.StatusBarMessenger.UpdateStatusBarMessageActivity.Work() in Work.il:line IL_0006 mvid 0052 at JetBrains.Application.Threading.InterruptableReadActivity.DoWork() in DoWork.il:line IL_0017 mvid B210 at JetBrains.Application.Threading.InterruptableReadActivity.WorkerThreadProc() in WorkerThreadProc.il:line IL_001C mvid B210 at JetBrains.Application.Threading.Tasks.TaskHost.AccessViolationCatcher[T](Delegate funcOrAction) in AccessViolationCatcher.il:line IL_000A mvid 79A3 at JetBrains.Application.Threading.Tasks.TaskHost.ExecuteJetTask[T](Object state) in ExecuteJetTask.il:line IL_0125 mvid 79A3 at System.Threading.Tasks.Task`1.InnerInvoke() in InnerInvoke.il:line IL_002B mvid C3AB at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in RunInternal.il:line IL_0040 mvid C3AB at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) in ExecuteWithThreadLocal.il:line IL_0096 mvid C3AB at System.Threading.Tasks.Task.ExecuteEntry() in ExecuteEntry.il:line IL_0036 mvid C3AB at JetBrains.Application.Threading.Tasks.Scheduler.JetScheduler.ExecuteTask(Task task) in ExecuteTask.il:line IL_0014 mvid 79A3 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.EnqueueNextTask() in EnqueueNextTask.il:line IL_0015 mvid 79A3 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.ThreadPoolProc() in ThreadPoolProc.il:line IL_0197 mvid 79A3 at JetBrains.Application.Threading.Tasks.Scheduler.JetSchedulerThread.StartProc() in StartProc.il:line IL_0000 mvid 79A3 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in RunInternal.il:line IL_0040 mvid C3AB "

You can find more details here (log in as a guest!). Please investigate the reported issue and upload an updated version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions