Jump to content

Newtonsoft.Json.JsonReaderException: Additional text encountered after finished reading JSON content:

Closed 2.5.0

TwoShoes
TwoShoes

Posted

So I'm getting this issue every time I reload the plugin but the plugin works. Not sure if anyone else is getting this or what to do to fix it.

 

[RaidableBases] Newtonsoft.Json.JsonReaderException: Additional text encountered after finished reading JSON content: [. Path '', line 1, position 2.
  at Newtonsoft.Json.JsonTextReader.Read () [0x000c8] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Oxide.Core.Configuration.DynamicConfigFile.ReadObject[T] (System.String filename) [0x00028] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x00021] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Plugins.RaidableBases.GetTable (System.String file) [0x00010] in <b15308489b53486fb43f6aa40c8e4b37>:0
(02:15:42) | [RaidableBases] Newtonsoft.Json.JsonReaderException: Additional text encountered after finished reading JSON content: [. Path '', line 1, position 2.
  at Newtonsoft.Json.JsonTextReader.Read () [0x000c8] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Oxide.Core.Configuration.DynamicConfigFile.ReadObject[T] (System.String filename) [0x00028] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x00021] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Plugins.RaidableBases.GetTable (System.String file) [0x00010] in <b15308489b53486fb43f6aa40c8e4b37>:0
(02:15:42) | [RaidableBases] Newtonsoft.Json.JsonReaderException: Additional text encountered after finished reading JSON content: [. Path '', line 1, position 2.
  at Newtonsoft.Json.JsonTextReader.Read () [0x000c8] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 
  at Oxide.Core.Configuration.DynamicConfigFile.ReadObject[T] (System.String filename) [0x00028] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x00021] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Plugins.RaidableBases.GetTable (System.String file) [0x00010] in <b15308489b53486fb43f6aa40c8e4b37>:0


 


 

 

nivex

Posted

hey. its telling you that one of your loot tables has a json error

  • Like 1
nivex

Posted (edited)

actually it looks like 3 of them have the same json error

Edited by nivex
  • Like 1
nivex

Posted

you can look to see which tables didn't load with the plugin to know which are broken

  • Like 1
TwoShoes

Posted

Thank you I'll look into it I havnt changed any of my loot tables in over 3 months so I'll dbl check 

TwoShoes

Posted (edited)

So I checked and it's the default Base loot files the Easy Bases, Medium Bases, Hard Bases and the Nightmare Bases but they aren't used as I've renamed all mine in new files easy1, med1, hard1, expert1 and nightmare1 so if there's ever an update it wont wipe my hours of pain staking detailed loot tables but I still leave the default ones there.. I see for some reason on the default on line 1 was [] before anything else causing the error but I've removed and checked all the rest. Thank you not sure what caused this but its now been fixed.

Edited by TwoShoes
nivex

Posted

good stuff

nivex

Posted

Changed Status from Pending to Closed

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.8k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.