Skip to content

Instantly share code, notes, and snippets.

@realStandal
Created March 20, 2021 13:01
Show Gist options
  • Save realStandal/7d2d3b56315fb69d459267762baf062e to your computer and use it in GitHub Desktop.
Save realStandal/7d2d3b56315fb69d459267762baf062e to your computer and use it in GitHub Desktop.
Unhandled exception: System.NullReferenceException: Object reference not set to an instance of an object.
at InventoryDefinitions+InventoryObject..ctor (System.String id, System.String type, InventoryDefinitions+InventoryDimensions dimensions, System.Collections.Generic.List`1[T] content, System.Collections.Generic.List`1[T] stackcontent, System.Boolean remove, System.Boolean place, System.Boolean drag) [0x00070] in <58367a549d3347b9bc8384747458b23a>:0
at (wrapper dynamic-method) InventoryDefinitions+InventoryObject.Void .ctor(System.String, System.String, InventoryDimensions, System.Collections.Generic.List`1[InventoryDefinitions+InventoryItem], System.Collections.Generic.List`1[System.String], Boolean, Boolean, Boolean)(object[])
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.Serialization.ObjectConstructor`1[T] creator, System.String id) [0x0033b] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract objectContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id, System.Boolean& createdFromNonDefaultCreator) [0x0008b] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00148] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Linq.JToken.ToObject (System.Type objectType, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00012] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Linq.JToken.ToObject (System.Type objectType) [0x002ff] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Linq.JToken.ToObject[T] () [0x00000] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Inventory.Server.ServerMain+<>c__DisplayClass68_1.<GetInventoryAsync>b__0 (System.String result) [0x000b2] in <58367a549d3347b9bc8384747458b23a>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_1 (System.Object state) [0x00000] in <fbc4ec45371543bfba3678ebb82caf6d>:0
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00008] in <fbc4ec45371543bfba3678ebb82caf6d>:0
at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <fbc4ec45371543bfba3678ebb82caf6d>:0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <fbc4ec45371543bfba3678ebb82caf6d>:0
Error: Unhandled exception in Mono script environment: System.NullReferenceException: Object reference not set to an instance of an object.
at InventoryDefinitions+InventoryObject..ctor (System.String id, System.String type, InventoryDefinitions+InventoryDimensions dimensions, System.Collections.Generic.List`1[T] content, System.Collections.Generic.List`1[T] stackcontent, System.Boolean remove, System.Boolean place, System.Boolean drag) [0x00070] in <58367a549d3347b9bc8384747458b23a>:0
at (wrapper dynamic-method) InventoryDefinitions+InventoryObject.Void .ctor(System.String, System.String, InventoryDimensions, System.Collections.Generic.List`1[InventoryDefinitions+InventoryItem], System.Collections.Generic.List`1[System.String], Boolean, Boolean, Boolean)(object[])
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.Serialization.ObjectConstructor`1[T] creator, System.String id) [0x0033b] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract objectContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id, System.Boolean& createdFromNonDefaultCreator) [0x0008b] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00148] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Linq.JToken.ToObject (System.Type objectType, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00012] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Linq.JToken.ToObject (System.Type objectType) [0x002ff] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Linq.JToken.ToObject[T] () [0x00000] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Inventory.Server.ServerMain+<>c__DisplayClass68_1.<GetInventoryAsync>b__0 (System.String result) [0x000b2] in <58367a549d3347b9bc8384747458b23a>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_1 (System.Object state) [0x00000] in <fbc4ec45371543bfba3678ebb82caf6d>:0
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00008] in <fbc4ec45371543bfba3678ebb82caf6d>:0
at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <fbc4ec45371543bfba3678ebb82caf6d>:0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <fbc4ec45371543bfba3678ebb82caf6d>:0
at InventoryDefinitions+InventoryObject..ctor (System.String id, System.String type, InventoryDefinitions+InventoryDimensions dimensions, System.Collections.Generic.List`1[T] content, System.Collections.Generic.List`1[T] stackcontent, System.Boolean remove, System.Boolean place, System.Boolean drag) [0x00070] in <58367a549d3347b9bc8384747458b23a>:0
at (wrapper dynamic-method) InventoryDefinitions+InventoryObject.Void .ctor(System.String, System.String, InventoryDimensions, System.Collections.Generic.List`1[InventoryDefinitions+InventoryItem], System.Collections.Generic.List`1[System.String], Boolean, Boolean, Boolean)(object[])
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.Serialization.ObjectConstructor`1[T] creator, System.String id) [0x0033b] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateNewObject (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract objectContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id, System.Boolean& createdFromNonDefaultCreator) [0x0008b] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00148] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Linq.JToken.ToObject (System.Type objectType, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00012] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Linq.JToken.ToObject (System.Type objectType) [0x002ff] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Newtonsoft.Json.Linq.JToken.ToObject[T] () [0x00000] in <2676a2da6edc420e890ed28aa4572ee5>:0
at Inventory.Server.ServerMain+<>c__DisplayClass68_1.<GetInventoryAsync>b__0 (System.String result) [0x000b2] in <58367a549d3347b9bc8384747458b23a>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_1 (System.Object state) [0x00000] in <fbc4ec45371543bfba3678ebb82caf6d>:0
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00008] in <fbc4ec45371543bfba3678ebb82caf6d>:0
at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in <fbc4ec45371543bfba3678ebb82caf6d>:0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <fbc4ec45371543bfba3678ebb82caf6d>:0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment