NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 66 67 68 69 70 … 101 Next »
Unhandled exception when tuning live channel

 
  • 0 Vote(s) - 0 Average
Unhandled exception when tuning live channel
domat00
Offline

Junior Member

USA
Posts: 5
Threads: 1
Joined: Feb 2021
#1
2021-02-03, 05:36 PM
I hope you'll forgive me if I missed this issue addressed elsewhere, my searching so far hasn't been fruitful.

I recently completely reinstalled Windows 10, and subsequently NextPVR.  I followed the setup instructions, successfully imported the recurring recordings from the previous instantiation of NPVR v4, and live TV worked as expected.  I initially had trouble getting ready recordings imported, but once I copied the relevent .db3 file into the data folder they showed up as expected.

The issue I'm currently running in to then reared its ugly head.  When I try to watch live TV from the TV Guide screen in the client, I get this error:


Code:
Unhandled exception has occurred in a component in your application.  If you click Continue, the application will ignore this error and attempt to continue.

Object reference not set to an instance of an object.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
  at NextPVR.Players.LiveTvPlayer.CompleteAsyncStartup()
  at NextPVR.Players.LiveTvPlayer.RefeshOSD()
  at NUtility.UIController.GetRenderList()
  at NextPVR.ControllerForm.Render(Boolean forceRender)
  at NUtility.UIController.ShowMessage(String message)
  at NextPVR.Players.LiveTvPlayer.StartLiveTV(Channel channel, String& reason)
  at NextPVR.Players.LiveTvPlayer.StartLiveTV(String& reason)
  at NUtility.UIController.PlayLiveTV()
  at NextPVR.Menu.SlideOutMenu.HandleMenuItem(String menuItem)
  at NextPVR.Menu.SlideOutMenu.OnKeyDown(KeyEventArgs e)
  at NUtility.UIController.OnKeyDown(KeyEventArgs e)
  at NextPVR.ControllerForm.ControllerForm_KeyDown(Object sender, KeyEventArgs e)
  at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
  at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
  at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
  at System.Windows.Forms.Control.WmKeyChar(Message& m)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  at System.Windows.Forms.Form.WndProc(Message& m)
  at NextPVR.ControllerForm.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
NextPVR
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/NextPVR/client/NextPVR.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
NextPVRUI
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/NextPVR/client/NextPVRUI.DLL
----------------------------------------
NUtility
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.0.0
    CodeBase: file:///C:/Program%20Files/NextPVR/client/NUtility.DLL
----------------------------------------
netstandard
    Assembly Version: 2.0.0.0
    Win32 Version: 4.8.3752.0
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll
----------------------------------------
NShared
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/NextPVR/client/NShared.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4320.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Drawing.Common
    Assembly Version: 4.0.0.1
    Win32 Version: 4.6.26919.02
    CodeBase: file:///C:/Program%20Files/NextPVR/client/System.Drawing.Common.DLL
----------------------------------------
System.Runtime.InteropServices.RuntimeInformation
    Assembly Version: 4.0.2.0
    Win32 Version: 4.6.26011.01
    CodeBase: file:///C:/Program%20Files/NextPVR/client/System.Runtime.InteropServices.RuntimeInformation.DLL
----------------------------------------
SlimDX
    Assembly Version: 4.0.13.43
    Win32 Version:
    CodeBase: file:///C:/Program%20Files/NextPVR/client/SlimDX.DLL
----------------------------------------
System.Net.Http
    Assembly Version: 4.2.0.0
    Win32 Version: 4.6.26011.01
    CodeBase: file:///C:/Program%20Files/NextPVR/client/System.Net.Http.DLL
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Microsoft.Data.Sqlite
    Assembly Version: 3.1.0.0
    Win32 Version: 3.100.19.56505
    CodeBase: file:///C:/Program%20Files/NextPVR/client/Microsoft.Data.Sqlite.DLL
----------------------------------------
SQLitePCLRaw.batteries_v2
    Assembly Version: 2.0.2.669
    Win32 Version: 2.0.2.669
    CodeBase: file:///C:/Program%20Files/NextPVR/client/SQLitePCLRaw.batteries_v2.DLL
----------------------------------------
SQLitePCLRaw.core
    Assembly Version: 2.0.2.669
    Win32 Version: 2.0.2.669
    CodeBase: file:///C:/Program%20Files/NextPVR/client/SQLitePCLRaw.core.DLL
----------------------------------------
SQLitePCLRaw.provider.dynamic_cdecl
    Assembly Version: 2.0.2.669
    Win32 Version: 2.0.2.669
    CodeBase: file:///C:/Program%20Files/NextPVR/client/SQLitePCLRaw.provider.dynamic_cdecl.DLL
----------------------------------------
System.Memory
    Assembly Version: 4.0.1.1
    Win32 Version: 4.6.27617.02
    CodeBase: file:///C:/Program%20Files/NextPVR/client/System.Memory.DLL
----------------------------------------
SQLitePCLRaw.nativelibrary
    Assembly Version: 2.0.2.669
    Win32 Version: 2.0.2.669
    CodeBase: file:///C:/Program%20Files/NextPVR/client/SQLitePCLRaw.nativelibrary.DLL
----------------------------------------
System.ValueTuple
    Assembly Version: 4.0.2.0
    Win32 Version: 4.6.26011.01
    CodeBase: file:///C:/Program%20Files/NextPVR/client/System.ValueTuple.DLL
----------------------------------------
System.Runtime.CompilerServices.Unsafe
    Assembly Version: 4.0.4.1
    Win32 Version: 4.6.26919.02
    CodeBase: file:///C:/Program%20Files/NextPVR/client/System.Runtime.CompilerServices.Unsafe.DLL
----------------------------------------
System.Runtime
    Assembly Version: 4.1.2.0
    Win32 Version: 4.6.25714.01
    CodeBase: file:///C:/Program%20Files/NextPVR/client/System.Runtime.DLL
----------------------------------------
Newtonsoft.Json
    Assembly Version: 12.0.0.0
    Win32 Version: 12.0.3.23909
    CodeBase: file:///C:/Program%20Files/NextPVR/client/Newtonsoft.Json.DLL
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Clicking continue doesn't do anything, the client freezes and I have to kill it in task manager.  I'll attach logs after recreating the error.

Any assistance is appreciated, thanks.


Attached Files
.zip   logs-20210203-1135.zip (Size: 99.87 KB / Downloads: 2)
.zip   logs-20210203-1135(1).zip (Size: 101.4 KB / Downloads: 3)
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#2
2021-02-03, 05:46 PM (This post was last modified: 2021-02-03, 05:46 PM by Graham.)
It is likley that NextPVR is unhappy with the old V4 device values in the database.

In NextPVR Web App Settings ... delete all of the tuner devices (see here re. Ctrl key ... https://github.com/sub3/NextPVR/wiki/Add...e-settings) and then reboot and reinstall the tuner devices.
domat00
Offline

Junior Member

USA
Posts: 5
Threads: 1
Joined: Feb 2021
#3
2021-02-03, 06:01 PM
I did as you suggested, deleted the devices, rebooted, reconfigured them with SD, updated the EPG, and I received the same error. I then rebooted again just for good measure, no joy.
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#4
2021-02-03, 06:10 PM
(2021-02-03, 06:01 PM)domat00 Wrote: I did as you suggested, deleted the devices, rebooted, reconfigured them with SD, updated the EPG, and I received the same error.  I then rebooted again just for good measure, no joy.

Sorry ... I jumped to conclusions ... I have now had a better look at the error ... And it's over my head ... Someone with real skills will be along soon (or maybe someone that is better than me at guessing).
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#5
2021-02-03, 06:12 PM
It cannot find you HDHR. Rather than rebooting what if you restart the service?

Another issue is your Live TV drive

2021-02-03 11:15:01.632 [ERROR][1] LiveTV directory does not exist: E:\TV\cache

Martin
domat00
Offline

Junior Member

USA
Posts: 5
Threads: 1
Joined: Feb 2021
#6
2021-02-03, 06:18 PM
(2021-02-03, 06:10 PM)Graham Wrote:
(2021-02-03, 06:01 PM)domat00 Wrote: I did as you suggested, deleted the devices, rebooted, reconfigured them with SD, updated the EPG, and I received the same error.  I then rebooted again just for good measure, no joy.

Sorry ... I jumped to conclusions ... I have now had a better look at the error ... And it's over my head ... Someone with real skills will be along soon (or maybe someone that is better than me at guessing).

Made good sense to me when I read it!  Thanks for trying
domat00
Offline

Junior Member

USA
Posts: 5
Threads: 1
Joined: Feb 2021
#7
2021-02-03, 06:20 PM
(2021-02-03, 06:12 PM)mvallevand Wrote: It cannot find you HDHR.  Rather than rebooting what if you restart the service?

Another issue is your Live TV drive

2021-02-03 11:15:01.632 [ERROR][1] LiveTV directory does not exist: E:\TV\cache

Martin

I'll head back to the machine and look at that, however I just first want to mention that part of that problem is that for some reason I can't find an OK/Apply button in the media folders section of the client settings dialog to get it to actually save when I edit the path...  Is it because the TV is 720p and the window is cut off or something?  I've tried several different ways to try and get the directories I want to use for recordings and buffer cache to stick, and apparently none are successful so far.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#8
2021-02-03, 06:22 PM
Sub's design philosophy is automatic saves in the web browser so no button is necessary to change it.

Martin
domat00
Offline

Junior Member

USA
Posts: 5
Threads: 1
Joined: Feb 2021
#9
2021-02-03, 06:57 PM
I started receiving worse and more gratuitous errors the further into that rabbit hole I went, so I just broke down, saved copies of the .db3, recording, and recurring backups, and reinstalled NPVR. This time, however, before trying to configure anything, I copied those three into the data directory, and voilà. A tiny bit of this and that here and there to get things configured, and (fingers crossed) I believe I'm back to norminal.

I'm sure I went out of proper order of operations when performing the initial setup.

Thanks very much to both of you for your help!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Channel 7 TV channels do not load into my list cmacd 1 114 10 hours ago
Last Post: hunbieni
  error: No tuner was available for the requested channel jzk 3 211 2025-04-19, 03:30 PM
Last Post: mvallevand
  Question about Multiple Clients viewing Same Channel JohnySmith1010 15 616 2025-04-07, 12:28 PM
Last Post: mvallevand
  Watched program and channel lists mkroc 8 405 2025-03-24, 02:21 PM
Last Post: BrettB
  Cant watch live TV Bobbybear 3 294 2025-03-23, 03:49 PM
Last Post: Bobbybear
  Channel lock issue during recording erik123 1 187 2025-02-08, 03:35 AM
Last Post: BrettB
  Channel Icons Not Showing peekyblinder71 2 231 2025-01-17, 02:19 AM
Last Post: mvallevand
Sad Failed to download channel list? membball84 4 359 2025-01-15, 11:46 PM
Last Post: membball84
  Issue changing channel to same IPTV connection curtisfeatures 18 1,046 2025-01-14, 04:22 PM
Last Post: mvallevand
  Fail To start Live TV PeterK2003 2 282 2024-12-15, 10:30 PM
Last Post: PeterK2003

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

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

Linear Mode
Threaded Mode