Value can't be null
criss02-cs opened this issue · 1 comments
Description:
I tried to parse a json to a list of objects, but every time I had this error:
System.ArgumentNullException: Il valore non può essere null.
Nome parametro: value
in Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
in Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
in ChatClient.Forms.ListsForm.InitializeUserGried() in C:\Users\crist\OneDrive\Desktop\ChatClient\ChatClient\Forms\ListsForm.cs:riga 55
in ChatClient.Forms.ListsForm.InitializeDataGried(String type) in C:\Users\crist\OneDrive\Desktop\ChatClient\ChatClient\Forms\ListsForm.cs:riga 44
in ChatClient.Forms.ListsForm.CheckObject(Object o) in C:\Users\crist\OneDrive\Desktop\ChatClient\ChatClient\Forms\ListsForm.cs:riga 36
in ChatClient.Forms.ListsForm..ctor(Object o) in C:\Users\crist\OneDrive\Desktop\ChatClient\ChatClient\Forms\ListsForm.cs:riga 26
in ChatClient.Forms.ChatForm.ChatForm_Load(Object sender, EventArgs e) in C:\Users\crist\OneDrive\Desktop\ChatClient\ChatClient\Forms\ChatForm.cs:riga 39
in System.Windows.Forms.Form.OnLoad(EventArgs e)
in System.Windows.Forms.Form.OnCreateControl()
in System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
in System.Windows.Forms.Control.CreateControl()
in System.Windows.Forms.Control.WmShowWindow(Message& m)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ScrollableControl.WndProc(Message& m)
in System.Windows.Forms.Form.WmShowWindow(Message& m)
in System.Windows.Forms.Form.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
In this image you can see my json list, there aren't a null values and the code still to give me this error
Version:
Logs:
@criss02-cs What does this have to do with FileMasta? You should contact the creator of Newtonsoft.Json project.