NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 196 197 198 199 200 … 433 Next »
Setting "EPG Source" to "Schedules Direct" causes an "Unhandled exception".

Setting "EPG Source" to "Schedules Direct" causes an "Unhandled exception".
MarkHotchkiss
Offline

Junior Member

Posts: 41
Threads: 3
Joined: Jul 2013
#1
2014-10-29, 03:49 AM
Hi all.

Thanks for the terrific program and the great support.

Ever since I received the email from Schedules Direct about the change in service, I have been monitoring this forum closely. It seemed remarkable how few issues came up with the release of version 3.3.8, so I did the upgrade today. Since nobody has reported my particular issue, I'm assuming that I'm doing something wrong with the upgrade.

I'm using the two-tuner HDHR3 with an outdoor antenna (ATSC). After the upgrade to 3.3.8, I had a number of different crashes, which I was able to get past - by first clearing-out the channels and restarting the computer, and then rescanning and restarting. That left all of the channels in Settings->Channels with an EPG value DVB/ATSC EPG. That seemed correct to me after having done a fresh scan.

But when I select a channel, click on "Details", and then select "Schedules Direct" for the EPG Source, I get this unhandled exception:

Code:
Value cannot be null. Parameter name :s.

I suspect that there is some step I should be doing prior to this point, but I don't know what. The details of the exception follows:

Code:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.ArgumentNullException: Value cannot be null. Parameter name: s at System.IO.StringReader..ctor(String s) at Newtonsoft.Json.Linq.JObject.Parse(String json) at NShared.SchedulesDirectJSONEPGSource.GetExistingLineups() at NShared.SchedulesDirectJSONEPGSourceUserControl.LoadLineups() at NShared.SchedulesDirectJSONEPGSourceUserControl.SchedulesDirectJSONEPGSourceUserControl_Load(Object sender, EventArgs e) at System.Windows.Forms.UserControl.OnLoad(EventArgs e) at System.Windows.Forms.UserControl.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.ControlCollection.Add(Control value) at NextPVR.Settings.ChannelDetailsForm.comboBoxEPGSource_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m) at System.Windows.Forms.ComboBox.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.0.30319.1 (RTMRel.030319-0100) 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/NPVR/NextPVR.exe ---------------------------------------- NUtility Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files/NPVR/NUtility.DLL ---------------------------------------- NShared Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files/NPVR/NShared.DLL ---------------------------------------- System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Data.SQLite Assembly Version: 1.0.85.0 Win32 Version: 1.0.85.0 CodeBase: file:///C:/Program%20Files/NPVR/System.Data.SQLite.DLL ---------------------------------------- System.Data.Entity Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.Entity/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Entity.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Runtime.Remoting Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll ---------------------------------------- TV Listings Assembly Version: 3.6.2.22943 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Program%20Files/NPVR/NUtility.dll ---------------------------------------- System.Transactions Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.EnterpriseServices Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll ---------------------------------------- SlimDX Assembly Version: 4.0.13.43 Win32 Version: CodeBase: file:///C:/Program%20Files/NPVR/SlimDX.DLL ---------------------------------------- taglib-sharp Assembly Version: 2.0.4.0 Win32 Version: 2.0.4.0 CodeBase: file:///C:/Program%20Files/NPVR/taglib-sharp.DLL ---------------------------------------- System.Management Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll ---------------------------------------- Microsoft.JScript Assembly Version: 10.0.0.0 Win32 Version: 10.0.30319.1 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.JScript/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.JScript.dll ---------------------------------------- ManagedUPnP Assembly Version: 2.0.0.0 Win32 Version: 2.0.0.0 CodeBase: file:///C:/Program%20Files/NPVR/ManagedUPnP.DLL ---------------------------------------- Unmanaged Assembly Version: 1.0.5412.18104 Win32 Version: CodeBase: file:///C:/Program%20Files/NPVR/Unmanaged.DLL ---------------------------------------- Newtonsoft.Json Assembly Version: 6.0.0.0 Win32 Version: 6.0.3.17227 CodeBase: file:///C:/Program%20Files/NPVR/Newtonsoft.Json.DLL ---------------------------------------- System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel 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.

Thanks for the help.
Mark
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,699
Threads: 996
Joined: May 2006
#2
2014-10-29, 03:58 AM
Does it help if you reset this to false

<SchedulesDirectMigrationDone>false</SchedulesDirectMigrationDone>

Martin
MarkHotchkiss
Offline

Junior Member

Posts: 41
Threads: 3
Joined: Jul 2013
#3
2014-10-29, 04:41 AM
Hi Martin,

Thanks for the quick reply (under 10 minutes).

I assumed that the change you suggested was to "config.xml", as there was a
<SchedulesDirectMigrationDone>true</SchedulesDirectMigrationDone>
in that file. I did change it to "false", restarted nPVR, and then went straight to the channel settings. It gives me the same error when I try to change the EPG value to "Schedules Direct".

The error is complaining that the string "s" is set to NULL, so I'm wondering whether there is a some field is some dialog box that I've left blank.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,494
Threads: 784
Joined: Nov 2003
#4
2014-10-29, 04:54 AM
Can you reproduce the problem, then post your npvr.log?
MarkHotchkiss
Offline

Junior Member

Posts: 41
Threads: 3
Joined: Jul 2013
#5
2014-10-29, 05:23 AM
Hi Sub,

Boy, you guys are quick! I can't keep up . . .

I've been testing, so the log was pretty confusing (to me). So I renamed npvr.log, I restarted the service, restarted nPVR, and then went straight to changing the EPG source for channel 5.2 to Schedules Direct. Here is the new log.


. . . just some additional (probably useless) information:

If I leave a file open in my text-editor, it pops-up a message box when another program modifies the file. I left config.xml open, and found that the <SchedulesDirectMigrationDone> parameter will stay "false" (once I've changed it to false) if I select any EPG source other than Schedules Direct. But once I select Schedules Direct, nPVR updates <SchedulesDirectMigrationDone> to "true" when I close the settings dialog box.

If I click "continue" in the exception dialog, then the "EPG Source" window is left with "Lineup:" showing a red box filled with a red X.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,494
Threads: 784
Joined: Nov 2003
#6
2014-10-29, 05:34 AM
That log doesn't look like it's going off to Schedules Direct. Are you sure you zipped it up immediately after getting the error?
MarkHotchkiss
Offline

Junior Member

Posts: 41
Threads: 3
Joined: Jul 2013
#7
2014-10-29, 05:49 AM
Hi Sub,

Yes, but maybe too immediately.

I grabbed it as soon as the "unhandled exception" box appeared, but possibly before the log was updated. The error dialog pops up prior to the "EPG Source" window being redrawn. So I did it again, but I hit "continue" to get "lineup:" to display, hit "OK" twice to get back to the main screen, and then closed nPVR. I hope that will flush everything to the log.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,494
Threads: 784
Joined: Nov 2003
#8
2014-10-29, 06:32 AM
Odd. I still can't see anything about schedules direct.

Can you supply a zip of your npvr.db3 and config.xml? I'll try reproducing it with your files.
MarkHotchkiss
Offline

Junior Member

Posts: 41
Threads: 3
Joined: Jul 2013
#9
2014-10-29, 07:02 AM
Thanks again, Sub.

Here they are.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,494
Threads: 784
Joined: Nov 2003
#10
2014-10-29, 07:28 AM
Annoyingly I don't get this same error. Does it give you the opportunity to 'continue' when you get this error?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (7): 1 2 3 4 5 … 7 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Epg setting SD token NextPvr 4.2.4 casimir@zyxu.ca 1 2,426 2021-03-05, 01:38 PM
Last Post: mvallevand
  EPG Schedules Direct jwalbrook 6 6,438 2020-12-07, 07:43 PM
Last Post: mvallevand
  Possible to set the EPG source for more than one channel at a time? LeGrandZombie 15 13,015 2020-12-06, 02:15 AM
Last Post: pitbull1969
  Unhandled Exception: file name too long (idiots at pbs made it super long) jobby99 1 2,288 2020-10-29, 09:40 PM
Last Post: mvallevand
  Problem setting up recording for some programmes LeoL 5 3,513 2020-10-21, 09:34 PM
Last Post: LeoL
  How to delete a Schedules Direct Lineup from Version 4? mwkurt 2 2,534 2020-07-19, 02:32 PM
Last Post: mwkurt
  Schedules Direct issues artmetz 4 3,049 2020-04-22, 12:13 AM
Last Post: artmetz
  Unhandled Exception Error Message reedaf4 23 10,918 2020-03-13, 05:03 PM
Last Post: sub
  EPG/Schedules Direct Epitaph 7 4,379 2019-12-12, 03:59 AM
Last Post: Epitaph
  auto populate EPG source KarterJK 6 4,848 2019-12-03, 05:03 PM
Last Post: KarterJK

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

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

Linear Mode
Threaded Mode