Skip to content

Exception causes conflict w/ other plugins #4

@Rhundas

Description

@Rhundas
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Not on main thread!)
 ---> System.InvalidOperationException: Not on main thread!
   at Dalamud.Game.ClientState.ClientState.get_LocalPlayer() in /_/Dalamud/Game/ClientState/ClientState.cs:line 120
   at PrefPro.PrefPro.get_PlayerName() in /work/repo/PrefPro/PrefPro.cs:line 43
   at PrefPro.Configuration.GetOrDefault() in /work/repo/PrefPro/Configuration.cs:line 152
   at PrefPro.PrefPro.GetStringDetour(RaptureTextModule* raptureTextModule, Byte* text, Void* unknown2, Utf8String* output) in /work/repo/PrefPro/PrefPro.cs:line 129
   at AutoVisor.Managers.CommandManager.Execute(String message)
   at AutoVisor.Managers.CPoseManager.<>c__DisplayClass28_0.<SetPose>b__0()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---

Funny exception thrown by PrefPro when attempting to use AutoVisor's /ppose functionality. Disabling PrefPro 'solves' the issue and suggests PrefPro being the root of the problem.

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