Skip to content

The skyrimSpecialEdition server crashed 5 times in the last 3 minutes. #209

@WeirdYunus

Description

@WeirdYunus

Describe the bug
When I click the papyrus icon on the left, I get this Error: "The skyrimSpecialEdition server crashed 5 times in the last 3 minutes."

And the output is this:

"Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.FormatException: A duplicate key 'General:bAllowMultipleMasterLoads' was found.
   at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load(Boolean reload)
   at Microsoft.Extensions.Configuration.FileConfigurationProvider.Load()
   at Microsoft.Extensions.Configuration.ConfigurationRoot..ctor(IList`1 providers)
   at Microsoft.Extensions.Configuration.ConfigurationBuilder.Build()
   at DarkId.Papyrus.LanguageService.Configuration.CreationKit.CreationKitInisConfigLoader.LoadConfig(CreationKitIniLocations inis) in C:\repo\src\DarkId.Papyrus.LanguageService\Configuration\CreationKit\CreationKitInisConfigLoader.cs:line 27
   at DarkId.Papyrus.LanguageService.Configuration.CreationKit.CreationKitProgramOptionsProvider.GetAmbientProgramOptions() in C:\repo\src\DarkId.Papyrus.LanguageService\Configuration\CreationKit\CreationKitProgramOptionsProvider.cs:line 43
   at DarkId.Papyrus.Server.ProjectProgramOptionsProvider.<GetProgramOptions>d__8.MoveNext() in C:\repo\src\DarkId.Papyrus.Server\ProjectProgramOptionsProvider.cs:line 79
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at DarkId.Papyrus.Common.TaskExtensions.WaitForResult[T](Task`1 task) in C:\repo\src\DarkId.Papyrus.Common\TaskExtensions.cs:line 12
   at DarkId.Papyrus.Server.ProjectManager.UpdateProjects(UpdateProjectsOptions options) in C:\repo\src\DarkId.Papyrus.Server\ProjectManager.cs:line 100
   at DarkId.Papyrus.Server.WorkspaceManager.UpdateProjects(UpdateProjectsOptions options) in C:\repo\src\DarkId.Papyrus.Server\WorkspaceManager.cs:line 63
   at DarkId.Papyrus.Server.WorkspaceManager.<>c__DisplayClass4_0.<<-ctor>b__1>d.MoveNext() in C:\repo\src\DarkId.Papyrus.Server\WorkspaceManager.cs:line 52
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
[Error - 8:12:49 PM] Connection to server got closed. Server will not be restarted.
"

To Reproduce
Steps to reproduce the behavior:

  1. Open the .psc file in vsc
  2. Click the papyrus icon
  3. Get the error and no Skyrim SE tab on the left

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions