NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support macOS v
1 2 3 4 Next »
Application Crash Help

 
  • 0 Vote(s) - 0 Average
Application Crash Help
RJJORDAN
Offline

Junior Member

USA
Posts: 11
Threads: 1
Joined: Jan 2024
#1
2024-01-25, 10:09 PM (This post was last modified: 2024-01-25, 10:11 PM by RJJORDAN.)
I really love NextPVR. I am getting the below error quite frequently last few days and on random scheduled recording on random channels at random times, so no set pattern that I am able to replicate. When I try to replicate the error by scheduling a recording on the failed channel, it does not fail. Th worst part of this error is instead of that erroneous recording exiting the entire application crashes spoiling the other ongoing recordings that never gave any error.

nRecord.log error (I am also attaching the complete log file for reference). I am also using KODI as the front end. Let me know if its log is also required.

nRecord.log google drive link: https://drive.google.com/file/d/1XNQOXgl...sp=sharing

[11] (Recording is due to be stopped at 1/25/2024 3:29PM)
[11] IPTV StartStream
[11] Unexpected error reading IPTV tuning string: System.NullReferenceException: Object reference not set to an instance of an object.
  at NShared.IPTVRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
  at NShared.IPTVRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
  at NShared.RecordingService.WorkerThread()
  at System.Threading.Thread.StartCallback()
zsh: abort      dotnet ./NextPVRServer.dll


I do see the IPTV Provider url redirects to 3 different URL and I saw another poster posting the same error and a resolution for this fixed it for him. I am not sure If I have the exact same error but on a macOS (he was on Windows I think).

2024-01-25 15:08:00.051 [DEBUG][13] (Recording is due to be stopped at 1/25/2024 3:18PM)
2024-01-25 15:08:00.051 [DEBUG][13] IPTV StartStream
2024-01-25 15:08:00.051 [DEBUG][13] IPTV StartStream@2
2024-01-25 15:08:00.051 [DEBUG][13] IPTV StartStream@3
2024-01-25 15:08:00.051 [DEBUG][13] IPTV StartStream@3.1
2024-01-25 15:08:00.051 [DEBUG][13] IPTV StartStream@3.2
2024-01-25 15:08:00.053 [DEBUG][13] ConnectToURL: URL1]
2024-01-25 15:08:13.143 [DEBUG][13] ConnectToURL: URL2]
2024-01-25 15:08:13.494 [DEBUG][13] ConnectToURL: URL3]
2024-01-25 15:08:13.909 [DEBUG][13] connected to: URL4]
2024-01-25 15:08:13.909 [DEBUG][13] content-type: video/mp2t
2024-01-25 15:08:13.909 [DEBUG][13] IPTV StartStream@3.3
2024-01-25 15:08:13.909 [DEBUG][13] IPTV StartStream@3.4
2024-01-25 15:08:13.909 [DEBUG][13] IPTV StartStream@3.5
2024-01-25 15:08:13.909 [DEBUG][13] IPTV StartStream@6
2024-01-25 15:08:13.909 [DEBUG][13] IPTV StartStream@7
2024-01-25 15:08:13.909 [DEBUG][13] direct stream
2024-01-25 15:08:13.909 [DEBUG][13] IPTV StartStream@8
2024-01-25 15:08:13.910 [DEBUG][45] HTTP input source starting
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,797
Threads: 954
Joined: May 2006
#2
2024-01-25, 10:22 PM (This post was last modified: 2024-01-25, 10:25 PM by mvallevand.)
It's better to just send the zipped logs NextPVR creates for you on the Settings page. Your problem is not the same as the other thread, other than it is on an IPTV stream.

It looks like your channel database is messed up though we'd probably need the database to confirm (and there are IPTV credentials in it)

Martin
RJJORDAN
Offline

Junior Member

USA
Posts: 11
Threads: 1
Joined: Jan 2024
#3
2024-01-25, 10:40 PM
Here is the zipped log link - https://drive.google.com/file/d/1tatd-Pj...sp=sharing

Well the only way I am able to get the application working again (after an error) is to delete the troublesome scheduled recording from the database, else it was crashing every time I restarted it. There was no way to get it back working again. So I use TablePlus app on my mac to open npvr.db3 to alter the SCHEDULED_RECORDING table to delete that recording before relaunching the NextPVR. So instead of sending the entire db that contains the credentials, if sending only the required table extracts would suffice I can do that. I see 4 tables starting with the name CHANNEL.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,797
Threads: 954
Joined: May 2006
#4
2024-01-25, 10:50 PM
You have a bad channel in the database so every time you schedule from "SuperSport Variety 4 HD" it will stop. That is why sub needs to look at the database. You might be able to delete it in NextPVR and rescan and add it but it seems like you have lots of channels so you need to be careful to only on that one.

Martin
RJJORDAN
Offline

Junior Member

USA
Posts: 11
Threads: 1
Joined: Jan 2024
#5
2024-01-25, 11:05 PM
But the error does not come on that channel always. It has come on number of different channels. And then that same channel work fine when I try to replicate the error 5 mins later. I can delete all my channels and add them again (and only filter the channels I need) if that would help solve this.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,797
Threads: 954
Joined: May 2006
#6
2024-01-25, 11:40 PM
Perhaps many of them have the same problem, but without the database it is hard to say.

Martin
RJJORDAN
Offline

Junior Member

USA
Posts: 11
Threads: 1
Joined: Jan 2024
#7
2024-01-25, 11:59 PM
So what is the next step here to solve it and what is the best way to provide you guys the database to investigate it if that is what is needed next?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,797
Threads: 954
Joined: May 2006
#8
2024-01-26, 12:07 AM
You can PM sub and/or me with an external link to a file.

Since you do have access to a sqlite3 viewer I personally would like to see the result from this.

select tuning from channel_mapping where channel_oid = 30107;

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,627
Threads: 767
Joined: Nov 2003
#9
2024-01-26, 12:16 AM
Quote:2024-01-25 14:30:01.299 [ERROR][11] Unexpected error reading IPTV tuning string: System.NullReferenceException: Object reference not set to an instance of an object.
at NShared.IPTVRecorder.StartStream(ChannelMapping channelMapping, String target, String& reason)
As Martin says, there seems to be something wrong with one of your channel mappsing. Your easiest solution is to PM me a download link to your database, and I'll try this channel very briefly, so I can see the error in the debugger.

I'm not interested knowing your IPTV credentials, and you're welcome to change them after I've taken a look.
RJJORDAN
Offline

Junior Member

USA
Posts: 11
Threads: 1
Joined: Jan 2024
#10
2024-01-26, 02:30 AM
Thanks Martin and sub. I am trying re-adding my channels to see if it is quick fix. I deleted all my channels and have now added them back selectively. I will now schedule some recording and monitor if the issue persists. If it does, I will share the database. I will report back.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Backend crash while navigating in-progress recording Allan 1 23 Yesterday, 12:24 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode