Skip to content
This repository was archived by the owner on Jun 27, 2024. It is now read-only.
This repository was archived by the owner on Jun 27, 2024. It is now read-only.

Issue when migrating economy #5

Description

@iamsilk
OpenMod.Installer.RocketMod >> Installed package "OpenMod.Migrator.Uconomy"@1.0.0.
OpenMod.Installer.RocketMod >> Adding economy migration job to autoexec.yaml...
OpenMod.Installer.RocketMod >> Caught exception while executing job "MigrateEconomyJob":
OpenMod.Installer.RocketMod >> Exception in OpenMod.Installer.RocketMod: YamlDotNet.Core.YamlException: (Line: 1, Col: 1, Idx: 0) - (Line: 1, Col: 74, Idx: 73): Exception during deserialization ---> System.InvalidCastException: Invalid cast from 'System.String' to 'OpenMod.Core.Jobs.ScheduledJobsFile'.
  at System.Convert.DefaultToType (System.IConvertible value, System.Type targetType, System.IFormatProvider provider) [0x00269] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.String.System.IConvertible.ToType (System.Type type, System.IFormatProvider provider) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x0021b] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at YamlDotNet.Serialization.Utilities.TypeConverter.ChangeType (System.Object value, System.Type destinationType, System.Globalization.CultureInfo culture) [0x002ea] in <8644209022bd461096e437136ef27328>:0
  at YamlDotNet.Serialization.Utilities.TypeConverter.ChangeType (System.Object value, System.Type destinationType) [0x00007] in <8644209022bd461096e437136ef27328>:0
  at YamlDotNet.Serialization.NodeDeserializers.ScalarNodeDeserializer.YamlDotNet.Serialization.INodeDeserializer.Deserialize (YamlDotNet.Core.IParser parser, System.Type expectedType, System.Func`3[T1,T2,TResult] nestedObjectDeserializer, System.Object& value) [0x00176] in <8644209022bd461096e437136ef27328>:0
  at YamlDotNet.Serialization.ValueDeserializers.NodeValueDeserializer.DeserializeValue (YamlDotNet.Core.IParser parser, System.Type expectedType, YamlDotNet.Serialization.Utilities.SerializerState state, YamlDotNet.Serialization.IValueDeserializer nestedObjectDeserializer) [0x0003b] in <8644209022bd461096e437136ef27328>:0
   --- End of inner exception stack trace ---
  at YamlDotNet.Serialization.ValueDeserializers.NodeValueDeserializer.DeserializeValue (YamlDotNet.Core.IParser parser, System.Type expectedType, YamlDotNet.Serialization.Utilities.SerializerState state, YamlDotNet.Serialization.IValueDeserializer nestedObjectDeserializer) [0x000c7] in <8644209022bd461096e437136ef27328>:0
  at YamlDotNet.Serialization.ValueDeserializers.AliasValueDeserializer.DeserializeValue (YamlDotNet.Core.IParser parser, System.Type expectedType, YamlDotNet.Serialization.Utilities.SerializerState state, YamlDotNet.Serialization.IValueDeserializer nestedObjectDeserializer) [0x0007a] in <8644209022bd461096e437136ef27328>:0
  at YamlDotNet.Serialization.Deserializer.Deserialize (YamlDotNet.Core.IParser parser, System.Type type) [0x00051] in <8644209022bd461096e437136ef27328>:0
  at YamlDotNet.Serialization.Deserializer.Deserialize[T] (YamlDotNet.Core.IParser parser) [0x00000] in <8644209022bd461096e437136ef27328>:0
  at YamlDotNet.Serialization.Deserializer.Deserialize[T] (System.IO.TextReader input) [0x00007] in <8644209022bd461096e437136ef27328>:0
  at YamlDotNet.Serialization.Deserializer.Deserialize[T] (System.String input) [0x00007] in <8644209022bd461096e437136ef27328>:0
  at OpenMod.Core.Persistence.YamlDataStore.LoadAsync[T] (System.String key) [0x0004f] in <b991452620304f79919afa89ec2e939b>:0
  at OpenMod.Installer.RocketMod.Jobs.MigrateEconomyJob+<>c__DisplayClass0_0.<ExecuteMigration>b__1 () [0x00000] in <3a1c5a1b79ed453a9e2a7ba4bba1e676>:0
  at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.Threading.Tasks.Task.Execute () [0x00010] in <eae584ce26bc40229c1b1aa476bfa589>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException[TResult] (System.Threading.Tasks.Task`1[TResult] task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0
  at Nito.AsyncEx.AsyncContext+<>c__DisplayClass16_0`1[TResult].<Run>b__0 (System.Threading.Tasks.Task`1[TResult] t) [0x0000b] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0
  at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2[TAntecedentResult,TResult].InnerInvoke () [0x00024] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.Threading.Tasks.Task.Execute () [0x00010] in <eae584ce26bc40229c1b1aa476bfa589>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
  at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException[TResult] (System.Threading.Tasks.Task`1[TResult] task) [0x00015] in <a98182632eb245adb24e66ecaa8eeab5>:0
  at Nito.AsyncEx.AsyncContext.Run[TResult] (System.Func`1[TResult] action) [0x0006c] in <ae3f77a0cc84476faeb835e8b2bfa4c2>:0
  at OpenMod.Installer.RocketMod.Helpers.AsyncHelperEx.RunSync[T] (System.Func`1[TResult] task) [0x00000] in <3a1c5a1b79ed453a9e2a7ba4bba1e676>:0
  at OpenMod.Installer.RocketMod.Jobs.MigrateEconomyJob.ExecuteMigration (System.String[] args) [0x000ba] in <3a1c5a1b79ed453a9e2a7ba4bba1e676>:0
  at OpenMod.Installer.RocketMod.Jobs.JobsExecutor.Execute (System.Collections.Generic.List`1[T] jobsToExecute, System.String[] args) [0x00025] in <3a1c5a1b79ed453a9e2a7ba4bba1e676>:0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions