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

TV Shows, Something Went Wrong. #968

Closed
elit3ge opened this issue Jan 21, 2017 · 2 comments
Closed

TV Shows, Something Went Wrong. #968

elit3ge opened this issue Jan 21, 2017 · 2 comments

Comments

@elit3ge
Copy link

elit3ge commented Jan 21, 2017

Ombi Version:

V 2.0.1234

Update Branch:

Stable

Operating System:

Docker

Mono Version (only if your not on windows)

4.6.2

Applicable Logs (from /logs/ directory or the Admin page):


System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexEpisodeCacher+<>c__DisplayClass23_0.b__2 (Ombi.Api.Models.Plex.Video video) [0x00031] in <9a0d9dc8d682482f8df1a85d63417e3a>:0 at System.Threading.Tasks.Parallel+c__AnonStorey7`2[TSource,TLocal].<>m__1 () [0x0011b] in <8f2c484307284b51944a1a13a14c0266>:0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00014] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00052] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Task.Wait () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal] (System.Collections.Concurrent.Partitioner`1[TSource] source, System.Threading.Tasks.ParallelOptions parallelOptions, System.Action`1[T] simpleBody, System.Action`2[T1,T2] bodyWithState, System.Action`3[T1,T2,T3] bodyWithStateAndIndex, System.Func`4[T1,T2,T3,TResult] bodyWithStateAndLocal, System.Func`5[T1,T2,T3,T4,TResult] bodyWithEverything, System.Func`1[TResult] localInit, System.Action`1[T] localFinally) [0x001a5] in <8f2c484307284b51944a1a13a14c0266>:0 ---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexEpisodeCacher+<>c__DisplayClass23_0.b__2 (Ombi.Api.Models.Plex.Video video) [0x00031] in <9a0d9dc8d682482f8df1a85d63417e3a>:0 at System.Threading.Tasks.Parallel+c__AnonStorey7`2[TSource,TLocal].<>m__1 () [0x0011b] in <8f2c484307284b51944a1a13a14c0266>:0 <--- ---> (Inner Exception #1) System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexEpisodeCacher+<>c__DisplayClass23_0.b__2 (Ombi.Api.Models.Plex.Video video) [0x00031] in <9a0d9dc8d682482f8df1a85d63417e3a>:0 at System.Threading.Tasks.Parallel+c__AnonStorey7`2[TSource,TLocal].<>m__1 () [0x0011b] in <8f2c484307284b51944a1a13a14c0266>:0 <--- ---> (Inner Exception #2) System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexEpisodeCacher+<>c__DisplayClass23_0.b__2 (Ombi.Api.Models.Plex.Video video) [0x00031] in <9a0d9dc8d682482f8df1a85d63417e3a>:0 at System.Threading.Tasks.Parallel+c__AnonStorey7`2[TSource,TLocal].<>m__1 () [0x0011b] in <8f2c484307284b51944a1a13a14c0266>:0 <--- ---> (Inner Exception #3) System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexEpisodeCacher+<>c__DisplayClass23_0.b__2 (Ombi.Api.Models.Plex.Video video) [0x00031] in <9a0d9dc8d682482f8df1a85d63417e3a>:0 at System.Threading.Tasks.Parallel+c__AnonStorey7`2[TSource,TLocal].<>m__1 () [0x0011b] in <8f2c484307284b51944a1a13a14c0266>:0 <--- ---> (Inner Exception #4) System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexEpisodeCacher+<>c__DisplayClass23_0.b__2 (Ombi.Api.Models.Plex.Video video) [0x00031] in <9a0d9dc8d682482f8df1a85d63417e3a>:0 at System.Threading.Tasks.Parallel+c__AnonStorey7`2[TSource,TLocal].<>m__1 () [0x0011b] in <8f2c484307284b51944a1a13a14c0266>:0 <--- ---> (Inner Exception #5) System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexEpisodeCacher+<>c__DisplayClass23_0.b__2 (Ombi.Api.Models.Plex.Video video) [0x00031] in <9a0d9dc8d682482f8df1a85d63417e3a>:0 at System.Threading.Tasks.Parallel+c__AnonStorey7`2[TSource,TLocal].<>m__1 () [0x0011b] in <8f2c484307284b51944a1a13a14c0266>:0 <--- ---> (Inner Exception #6) System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexEpisodeCacher+<>c__DisplayClass23_0.b__2 (Ombi.Api.Models.Plex.Video video) [0x00031] in <9a0d9dc8d682482f8df1a85d63417e3a>:0 at System.Threading.Tasks.Parallel+c__AnonStorey7`2[TSource,TLocal].<>m__1 () [0x0011b] in <8f2c484307284b51944a1a13a14c0266>:0 <--- ---> (Inner Exception #7) System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexEpisodeCacher+<>c__DisplayClass23_0.b__2 (Ombi.Api.Models.Plex.Video video) [0x00031] in <9a0d9dc8d682482f8df1a85d63417e3a>:0 at System.Threading.Tasks.Parallel+c__AnonStorey7`2[TSource,TLocal].<>m__1 () [0x0011b] in <8f2c484307284b51944a1a13a14c0266>:0 <--- ---> (Inner Exception #8) System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexEpisodeCacher+<>c__DisplayClass23_0.b__2 (Ombi.Api.Models.Plex.Video video) [0x00031] in <9a0d9dc8d682482f8df1a85d63417e3a>:0 at System.Threading.Tasks.Parallel+c__AnonStorey7`2[TSource,TLocal].<>m__1 () [0x0011b] in <8f2c484307284b51944a1a13a14c0266>:0 <--- ---> (Inner Exception #9) System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexEpisodeCacher+<>c__DisplayClass23_0.b__2 (Ombi.Api.Models.Plex.Video video) [0x00031] in <9a0d9dc8d682482f8df1a85d63417e3a>:0 at System.Threading.Tasks.Parallel+c__AnonStorey7`2[TSource,TLocal].<>m__1 () [0x0011b] in <8f2c484307284b51944a1a13a14c0266>:0 <--- ---> (Inner Exception #10) System.NullReferenceException: Object reference not set to an instance of an object at Ombi.Services.Jobs.PlexEpisodeCacher+<>c__DisplayClass23_0.b__2 (Ombi.Api.Models.Plex.Video video) [0x00031] in <9a0d9dc8d682482f8df1a85d63417e3a>:0 at System.Threading.Tasks.Parallel+c__AnonStorey7`2[TSource,TLocal].<>m__1 () [0x0011b] in <8f2c484307284b51944a1a13a14c0266>:0 <---	Ombi.Services.Jobs.PlexEpisodeCacher	Error	1/21/2017 12:40:11 PM

There has been a API Exception when attempting to get GetEpisodeMetaData	Ombi.Api.PlexApi	Error	1/21/2017 12:40:06 PM

System.Net.WebException: The request timed out at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00052] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0 at System.Net.HttpWebRequest.GetResponse () [0x0000e] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0 at RestSharp.Http.GetRawResponse (System.Net.HttpWebRequest request) [0x00000] in :0	Ombi.Api.ApiRequest	Error	1/21/2017 12:40:06 PM

Exception when calling GetEpisodeMetaData for Plex, Retrying 00:00:05	Ombi.Api.PlexApi	Error	1/21/2017 12:40:06 PM

Exception when calling GetEpisodeMetaData for Plex, Retrying 00:00:05	Ombi.Api.PlexApi	Error	1/21/2017 12:40:06 PM

System.Net.WebException: The request timed out at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00052] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0 at System.Net.HttpWebRequest.GetResponse () [0x0000e] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0 at RestSharp.Http.GetRawResponse (System.Net.HttpWebRequest request) [0x00000] in :0	Ombi.Api.ApiRequest	Error	1/21/2017 12:40:06 PM

System.Net.WebException: The request timed out at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00052] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0 at System.Net.HttpWebRequest.GetResponse () [0x0000e] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0 at RestSharp.Http.GetRawResponse (System.Net.HttpWebRequest request) [0x00000] in :0	Ombi.Api.ApiRequest	Error	1/21/2017 12:40:06 PM

There has been a API Exception when attempting to get GetEpisodeMetaData	Ombi.Api.PlexApi	Error	1/21/2017 12:40:06 PM

System.Net.WebException: The request timed out at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00052] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0 at System.Net.HttpWebRequest.GetResponse () [0x0000e] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0 at RestSharp.Http.GetRawResponse (System.Net.HttpWebRequest request) [0x00000] in :0	Ombi.Api.ApiRequest	Error	1/21/2017 12:40:05 PM

Problem Description:

When searching for something to request on TV Shows. Search for the item it finds it, click on request "Something Went Wrong" appears. Using F12 this is the error

statusCode: 500, message: "Something went horribly, horribly wrong while servicing your request.",…}
details
:
"Nancy.RequestExecutionException: Oh noes! ---> Mono.Data.Sqlite.SqliteException: SQLite error
↵table RequestFaultQueue has no column named Message↵  at Mono.Data.Sqlite.SQLite3.Prepare (Mono.Data.Sqlite.SqliteConnection cnn, System.String strSql, Mono.Data.Sqlite.SqliteStatement previous, System.UInt32 timeoutMS, System.String& strRemain) [0x00236] in <9ff639bdf6294ddea5cf93a0f499a1d4>:0 ↵  at Mono.Data.Sqlite.SqliteCommand.BuildNextCommand () [0x00059] in <9ff639bdf6294ddea5cf93a0f499a1d4>:0 ↵--- End of stack trace from previous location where exception was thrown ---↵  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at Dapper.SqlMapper+<QueryMultipleAsync>d__46.MoveNext () [0x001da] in <66e14dd398ba43d6a00d12629a33213a>:0 ↵--- End of stack trace from previous location where exception was thrown ---↵  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at SQLiteAdapter+<InsertAsync>d__0.MoveNext () [0x000a0] in <a8342662d6a04ee9a9d52f7c534b520b>:0 ↵--- End of stack trace from previous location where exception was thrown ---↵  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at Ombi.Core.Queue.TransientFaultQueue+<QueueItemAsync>d__5.MoveNext () [0x00168] in <f4365ccd81714fbfb0ecfadc2b35299f>:0 ↵--- End of stack trace from previous location where exception was thrown ---↵  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at Ombi.UI.Modules.SearchModule+<RequestTvShow>d__98.MoveNext () [0x00eea] in <0a65499c06224cea8256571b6d869108>:0 ↵--- End of stack trace from previous location where exception was thrown ---↵  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 ↵  at Ombi.UI.Modules.SearchModule+<<-ctor>b__0_8>d.MoveNext () [0x00197] in <0a65499c06224cea8256571b6d869108>:0 ↵   --- End of inner exception stack trace ---↵  at Nancy.NancyEngine.InvokeOnErrorHook (Nancy.NancyContext context, Nancy.ErrorPipeline pipeline, System.Exception ex) [0x000bd] in <63c44d6f8d7e4f339a987bf9eb94d931>:0 "
message
:
"Something went horribly, horribly wrong while servicing your request."
statusCode
:
500

Reproduction Steps:

Requests, TV Shows, The Son, Request.

@elit3ge
Copy link
Author

elit3ge commented Jan 21, 2017

After attempting to add other shows, it seems to be only shows that have spaces in the search. ie, The Son, Shots Fired. Single worded ie. Shooter was fine.

@Magikarplvl4
Copy link
Contributor

Look like the RequestFaultQueue doesn't have the message table :/

tidusjar pushed a commit that referenced this issue Jan 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants