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
Null reference exception on Media sync #1155
Comments
Extra logging => #1039 (comment) |
Same issue here. Logs:
|
does a new docker version has come up? i still have the same problem and i'm still on version v0.2.0-beta.18. |
Just released beta.19 so feel free to test it. I hope it's fixed :) |
same issue:
|
hi, same probleme with beta 19 ( linuxserver docker image) |
same problem here, using linuxserver/embystat docker image |
Same issue here but windows with beta 19. |
Mmmm, sounds like EmbyStat can't find any shows with a certain parent id. |
I'm having the same issue. Here is the debug log:
The retry attempts show the same errors |
Hello, 11:16:40 20-05-20 JOB CONTROLLER => MEDIASYNC-JOB job queued |
yes same for me |
Something is still happening with the Show sync. I'll have a look, thanks for the logs. Going to add some more debug logging as well to that part of the code. |
Just wondering if there has been any movement on this? Having the same issues as above, if there is new logging I can post mine up |
At the moment not because I disabled the show pages completely. Currently working on getting the tv shows pages back in the new React UI. So you can reinstall the beta.22 if you want but it will not have a fixed for your original problem. I'm working on it in for beta.23 |
Ok thanks, I'll keep an eye out! |
Can someone check if this is still a problem now with the new beta.23 release? I fixed an issue with the user id (there was still a hardcoded user id in the code) |
I followed the chat in the other issue and swapped over to the nightly build, once you cleared up the user id stuff I was able to sync Just pulled in beta 23 and seems to be working well |
Beta 23 still does not work for me:
|
@cavemandaveman, can you create a new issue for your bug because it does not seem to be linked with the original one. Going to close this one for now |
ok started and configured but the media sync it is not working.
2020-04-08 11:43:59.0486 [INFO] SYSTEM Booting up server on port 6555 2020-04-08 11:44:00.4750 [INFO] Starting Hangfire Server using job storage: 'Hangfire.MemoryStorage.MemoryStorage' 2020-04-08 11:44:00.4805 [INFO] Using the following options for Hangfire Server: Worker count: 1 Listening queues: 'main' Shutdown timeout: 1.00:00:00 Schedule polling interval: 00:00:05 2020-04-08 11:44:00.7264 [INFO] Server main server:1:44697e41 successfully announced in 214.9319 ms 2020-04-08 11:44:00.7353 [INFO] Server main server:1:44697e41 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler... 2020-04-08 11:44:00.7782 [INFO] Server main server:1:44697e41 all the dispatchers started 2020-04-08 11:44:27.0562 [INFO] SERVER-API jellyfin server found at: 172.17.0.5 2020-04-08 11:45:10.6953 [INFO] Connecting to wss://xxx.xxx.xxx.xxx:xxxx/embywebsocket?api_key=xxxxxxxxxxxxxx&deviceId=2abd8caa-ffdf-4c36-92e9-dce5a46b58e3 2020-04-08 11:45:15.6922 [INFO] Connecting to wss://xxx.xxx.xxx.xxx:xxxx/embywebsocket?api_key=xxxxxxxxxxxxxx&deviceId=2abd8caa-ffdf-4c36-92e9-dce5a46b58e3 2020-04-08 11:45:16.0956 [INFO] SMALLEMBYSYNC-JOB Starting job 2020-04-08 11:45:16.2790 [INFO] SMALLEMBYSYNC-JOB Server info downloaded 2020-04-08 11:45:16.4306 [INFO] SMALLEMBYSYNC-JOB Server plugins downloaded 2020-04-08 11:45:16.6946 [INFO] SMALLEMBYSYNC-JOB Server users downloaded 2020-04-08 11:45:17.8280 [INFO] SMALLEMBYSYNC-JOB Server devices downloaded 2020-04-08 11:45:18.0891 [INFO] SMALLEMBYSYNC-JOB Job finished after 1 minute. 2020-04-08 11:45:18.5938 [INFO] MEDIASYNC-JOB Starting job 2020-04-08 11:45:18.7084 [INFO] MEDIASYNC-JOB First delete all existing media and root media libraries from database so we have a clean start. 2020-04-08 11:45:18.7110 [INFO] MEDIASYNC-JOB Asking MediaServer for all root folders 2020-04-08 11:45:18.8380 [INFO] MEDIASYNC-JOB Found 6 root items, getting ready for processing 2020-04-08 11:45:18.8452 [INFO] MEDIASYNC-JOB Lets start processing movies 2020-04-08 11:45:18.9566 [ERROR] Error while running job System.NullReferenceException: Object reference not set to an instance of an object. at EmbyStat.Clients.Base.Http.BaseHttpClient.GetMovieCount(String parentId) at EmbyStat.Clients.Jellyfin.Http.JellyfinHttpClient.EmbyStat.Clients.Base.Http.IHttpClient.GetMovieCount(String parentId) at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.ProcessMoviesAsync(IReadOnlyList
1 libraries, CancellationToken cancellationToken)at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.RunJobAsync()
at EmbyStat.Jobs.BaseJob.Execute()
2020-04-08 11:45:19.0125 [ERROR] MEDIASYNC-JOB Job failed, check logs for more info.
2020-04-08 11:45:20.1230 [WARN] Failed to process the job 'd1fe433c-87bd-4440-ac94-4c7d6c8a4e90': an exception occurred. Retry attempt 1 of 2 will be performed in 00:00:36. System.NullReferenceException: Object reference not set to an instance of an object.
at EmbyStat.Clients.Base.Http.BaseHttpClient.GetMovieCount(String parentId)
at EmbyStat.Clients.Jellyfin.Http.JellyfinHttpClient.EmbyStat.Clients.Base.Http.IHttpClient.GetMovieCount(String parentId)
at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.ProcessMoviesAsync(IReadOnlyList
1 libraries, CancellationToken cancellationToken) at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.RunJobAsync() at EmbyStat.Jobs.BaseJob.Execute() at EmbyStat.Jobs.BaseJob.Execute() at System.Runtime.CompilerServices.TaskAwaiter.GetResult() 2020-04-08 11:45:20.7157 [INFO] Connecting to wss://xxx.xxx.xxx.xxx:xxxx/embywebsocket?api_key=xxxxxxxxxxxxxx&deviceId=2abd8caa-ffdf-4c36-92e9-dce5a46b58e3 2020-04-08 11:45:25.6871 [INFO] Connecting to wss://xxx.xxx.xxx.xxx:xxxx/embywebsocket?api_key=xxxxxxxxxxxxxx&deviceId=2abd8caa-ffdf-4c36-92e9-dce5a46b58e3 2020-04-08 11:45:30.6921 [INFO] Connecting to wss://xxx.xxx.xxx.xxx:xxxx/embywebsocket?api_key=xxxxxxxxxxxxxx&deviceId=2abd8caa-ffdf-4c36-92e9-dce5a46b58e3 2020-04-08 11:45:35.6872 [INFO] Connecting to wss://xxx.xxx.xxx.xxx:xxxx/embywebsocket?api_key=xxxxxxxxxxxxxx&deviceId=2abd8caa-ffdf-4c36-92e9-dce5a46b58e3 2020-04-08 11:45:35.8272 [INFO] MEDIASYNC-JOB Starting job 2020-04-08 11:45:35.9284 [INFO] MEDIASYNC-JOB First delete all existing media and root media libraries from database so we have a clean start. 2020-04-08 11:45:35.9284 [INFO] MEDIASYNC-JOB Asking MediaServer for all root folders 2020-04-08 11:45:35.9773 [INFO] MEDIASYNC-JOB Found 6 root items, getting ready for processing 2020-04-08 11:45:35.9790 [INFO] MEDIASYNC-JOB Lets start processing movies 2020-04-08 11:45:36.0092 [ERROR] Error while running job System.NullReferenceException: Object reference not set to an instance of an object. at EmbyStat.Clients.Base.Http.BaseHttpClient.GetMovieCount(String parentId) at EmbyStat.Clients.Jellyfin.Http.JellyfinHttpClient.EmbyStat.Clients.Base.Http.IHttpClient.GetMovieCount(String parentId) at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.ProcessMoviesAsync(IReadOnlyList
1 libraries, CancellationToken cancellationToken)at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.RunJobAsync()
at EmbyStat.Jobs.BaseJob.Execute()
2020-04-08 11:45:36.0432 [ERROR] MEDIASYNC-JOB Job failed, check logs for more info.
2020-04-08 11:45:36.7765 [WARN] Failed to process the job '14dc8978-c7bb-4d65-80d9-61d5de6c51cd': an exception occurred. Retry attempt 1 of 2 will be performed in 00:00:44. System.NullReferenceException: Object reference not set to an instance of an object.
at EmbyStat.Clients.Base.Http.BaseHttpClient.GetMovieCount(String parentId)
at EmbyStat.Clients.Jellyfin.Http.JellyfinHttpClient.EmbyStat.Clients.Base.Http.IHttpClient.GetMovieCount(String parentId)
at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.ProcessMoviesAsync(IReadOnlyList
1 libraries, CancellationToken cancellationToken) at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.RunJobAsync() at EmbyStat.Jobs.BaseJob.Execute() at EmbyStat.Jobs.BaseJob.Execute() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2020-04-08 11:45:40.6876 [INFO] Connecting to wss://xxx.xxx.xxx.xxx:xxxx/embywebsocket?api_key=xxxxxxxxxxxxxx&deviceId=2abd8caa-ffdf-4c36-92e9-dce5a46b58e3 2020-04-08 11:45:45.6866 [INFO] Connecting to wss://xxx.xxx.xxx.xxx:xxxx/embywebsocket?api_key=xxxxxxxxxxxxxx&deviceId=2abd8caa-ffdf-4c36-92e9-dce5a46b58e3 2020-04-08 11:45:50.6895 [INFO] Connecting to wss://xxx.xxx.xxx.xxx:xxxx/embywebsocket?api_key=xxxxxxxxxxxxxx&deviceId=2abd8caa-ffdf-4c36-92e9-dce5a46b58e3 2020-04-08 11:45:55.7509 [INFO] Connecting to wss://xxx.xxx.xxx.xxx:xxxx/embywebsocket?api_key=xxxxxxxxxxxxxx&deviceId=2abd8caa-ffdf-4c36-92e9-dce5a46b58e3 2020-04-08 11:46:00.6894 [INFO] Connecting to wss://xxx.xxx.xxx.xxx:xxxx/embywebsocket?api_key=xxxxxxxxxxxxxx&deviceId=2abd8caa-ffdf-4c36-92e9-dce5a46b58e3 2020-04-08 11:46:05.6876 [INFO] Connecting to wss://xxx.xxx.xxx.xxx:xxxx/embywebsocket?api_key=xxxxxxxxxxxxxx&deviceId=2abd8caa-ffdf-4c36-92e9-dce5a46b58e3 2020-04-08 11:46:06.8518 [INFO] MEDIASYNC-JOB Starting job 2020-04-08 11:46:06.9256 [INFO] MEDIASYNC-JOB First delete all existing media and root media libraries from database so we have a clean start. 2020-04-08 11:46:06.9275 [INFO] MEDIASYNC-JOB Asking MediaServer for all root folders 2020-04-08 11:46:06.9672 [INFO] MEDIASYNC-JOB Found 6 root items, getting ready for processing 2020-04-08 11:46:06.9672 [INFO] MEDIASYNC-JOB Lets start processing movies 2020-04-08 11:46:07.0123 [ERROR] Error while running job System.NullReferenceException: Object reference not set to an instance of an object. at EmbyStat.Clients.Base.Http.BaseHttpClient.GetMovieCount(String parentId) at EmbyStat.Clients.Jellyfin.Http.JellyfinHttpClient.EmbyStat.Clients.Base.Http.IHttpClient.GetMovieCount(String parentId) at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.ProcessMoviesAsync(IReadOnlyList
1 libraries, CancellationToken cancellationToken)at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.RunJobAsync()
at EmbyStat.Jobs.BaseJob.Execute()
2020-04-08 11:46:07.0813 [ERROR] MEDIASYNC-JOB Job failed, check logs for more info.
2020-04-08 11:46:07.6671 [WARN] Failed to process the job 'd1fe433c-87bd-4440-ac94-4c7d6c8a4e90': an exception occurred. Retry attempt 2 of 2 will be performed in 00:00:38. System.NullReferenceException: Object reference not set to an instance of an object.
at EmbyStat.Clients.Base.Http.BaseHttpClient.GetMovieCount(String parentId)
at EmbyStat.Clients.Jellyfin.Http.JellyfinHttpClient.EmbyStat.Clients.Base.Http.IHttpClient.GetMovieCount(String parentId)
at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.ProcessMoviesAsync(IReadOnlyList
1 libraries, CancellationToken cancellationToken) at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.RunJobAsync() at EmbyStat.Jobs.BaseJob.Execute() at EmbyStat.Jobs.BaseJob.Execute() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2020-04-08 11:46:07.7107 [INFO] MEDIASYNC-JOB Starting job 2020-04-08 11:46:07.7718 [INFO] MEDIASYNC-JOB First delete all existing media and root media libraries from database so we have a clean start. 2020-04-08 11:46:07.7718 [INFO] MEDIASYNC-JOB Asking MediaServer for all root folders 2020-04-08 11:46:07.8243 [INFO] MEDIASYNC-JOB Found 6 root items, getting ready for processing 2020-04-08 11:46:07.8243 [INFO] MEDIASYNC-JOB Lets start processing movies 2020-04-08 11:46:07.8619 [ERROR] Error while running job System.NullReferenceException: Object reference not set to an instance of an object. at EmbyStat.Clients.Base.Http.BaseHttpClient.GetMovieCount(String parentId) at EmbyStat.Clients.Jellyfin.Http.JellyfinHttpClient.EmbyStat.Clients.Base.Http.IHttpClient.GetMovieCount(String parentId) at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.ProcessMoviesAsync(IReadOnlyList
1 libraries, CancellationToken cancellationToken)at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.RunJobAsync()
at EmbyStat.Jobs.BaseJob.Execute()
2020-04-08 11:46:07.8953 [ERROR] MEDIASYNC-JOB Job failed, check logs for more info.
2020-04-08 11:46:08.6235 [WARN] Failed to process the job '0f980538-c525-4305-bb8c-0c0b56b0bd69': an exception occurred. Retry attempt 1 of 2 will be performed in 00:00:17. System.NullReferenceException: Object reference not set to an instance of an object.
at EmbyStat.Clients.Base.Http.BaseHttpClient.GetMovieCount(String parentId)
at EmbyStat.Clients.Jellyfin.Http.JellyfinHttpClient.EmbyStat.Clients.Base.Http.IHttpClient.GetMovieCount(String parentId)
at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.ProcessMoviesAsync(IReadOnlyList
1 libraries, CancellationToken cancellationToken) at EmbyStat.Jobs.Jobs.Sync.MediaSyncJob.RunJobAsync() at EmbyStat.Jobs.BaseJob.Execute() at EmbyStat.Jobs.BaseJob.Execute() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 2020-04-08 11:46:10.6897 [INFO] Connecting to wss://xxx.xxx.xxx.xxx:xxxx/embywebsocket?api_key=xxxxxxxxxxxxxx&deviceId=2abd8caa-ffdf-4c36-92e9-dce5a46b58e3 2020-04-08 11:46:15.6891 [INFO] Connecting to wss://xxx.xxx.xxx.xxx:xxxx/embywebsocket?api_key=xxxxxxxxxxxxxx&deviceId=2abd8caa-ffdf-4c36-92e9-dce5a46b58e3
Originally posted by @spupuz in #1039 (comment)
The text was updated successfully, but these errors were encountered: