Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled exception #16

Closed
ghost opened this issue Nov 9, 2017 · 6 comments
Closed

Unhandled exception #16

ghost opened this issue Nov 9, 2017 · 6 comments
Labels

Comments

@ghost
Copy link

ghost commented Nov 9, 2017

Hello there,

OpenPlex seems to throw an exception everytime it's being open, having 2 buttons, one to quit and one to continue. If you click the continue button, OpenPlex will get stuck on "Loading the magic...", and if you quit the quit button, well, it quits OpenPlex.

Here is the exception text:

Newtonsoft.Json.JsonReaderException: Unterminated string. Expected delimiter: ". Path 'Poster', line 1, position 627.
at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)
at Newtonsoft.Json.JsonTextReader.ParseString(Char quote, ReadType readType)
at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
at Newtonsoft.Json.JsonTextReader.ReadAsString()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at OpenPlex.frmOpenPlex.loadMovies(Int32 loadCount)
at OpenPlex.frmOpenPlex.worker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)

@badrazizi
Copy link
Contributor

there a folder named OpenPlex in Documents delete it and start OpenPlex

@badrazizi
Copy link
Contributor

i checked the code this happen ether you lost your internet or the program could not find the file he need

@ohhsodead
Copy link
Owner

It looks like the Json reader is unable to process at line 1, so I'm confused. But as suggested by @badrazizi deleting the OpenPlex folder in your documents then loading the app again should fix this.

@ohhsodead
Copy link
Owner

@badrazizi is there anyway I can contact you? I need help with something, regarding the background worker. Thanks.

@ohhsodead ohhsodead added the bug label Nov 9, 2017
@badrazizi
Copy link
Contributor

of course you can contact me at badrazizi3@gmail.com

@ohhsodead
Copy link
Owner

Fixed in ac615f5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants