Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: TV Listing crashing

  1. #21
    Join Date
    May 2006
    Location
    Canada
    Posts
    25,321
    Quote Originally Posted by sub View Post
    You could see if this patch helps.
    No joy. From NTray no UI and a hang With command line -settings

    Code:
       
    
    System.NullReferenceException: Object reference not set to an instance of an object.
       at WebRadio.WebRadio2.LoadSettings() in D:\Projects2010\npvr\Source\WebRadio2.cs:line 398
       at WebRadio.WebRadio2.GetSettingsPage() in D:\Projects2010\npvr\Source\WebRadio2.cs:line 1947
       at NextPVR.Settings.SettingsForm.SettingsForm_Load(Object sender, EventArgs e)
    
    bad line
    
               string client = PluginHelperFactory.GetPluginHelper().GetClientIdentifier();
    Without -settings it loads.

    Martin

  2. #22
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    83,527
    Ah, yeah - PluginHelperFactory.GetPluginHelper() isn't available when just launching the Settings screen (since it is implemented by the main gui controller class, which isn't loaded when you've gone directly into the settings). I'm gonna have to think about whether we really need this. It might be better to not include the plugins in Settings when loaded this way, so we don't have to load in all this extra crap it doesn't currently load in this scenario...

    It might be better to just remove the 'Setting' option from the tray content menu.

  3. #23
    Join Date
    May 2006
    Location
    Canada
    Posts
    25,321
    I don't see too much value in Show Settings it is also not single instance, but reverting to the original code where the options aren't there is better.

    For the original problem TV Listings seems to be installed in the Program folder

    2017-03-12 16:58:21.412 [DEBUG][1] About to check for plugin interfaces in: C:\Program Files (x86)\NPVR\Plugins\TV Listings\TV Listings.dll

    and it looks like TV Listings might be hardcoded to run from the Date Directory. Remove that folder and reinstall in C:\Users\Public\NPVR\Plugins\

    Martin

  4. #24
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    83,527
    Here is another updated one you can try.
    Attached Files Attached Files

  5. #25
    Join Date
    May 2006
    Location
    Canada
    Posts
    25,321
    Quote Originally Posted by sub View Post
    Here is another updated one you can try.
    That crashes on whurlston's old YouTube Plugin with -settings works fine on mine.

    Code:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at NExtPlugins.YouTube.Plugin.SettingsForm.PopulateGeneralSettings() in d:\New folder\NPVR Plugins\YouTube\YouTube2\Plugin\SettingsForm.cs:line 49
       at NExtPlugins.YouTube.Plugin.SettingsForm..ctor(Settings settings) in d:\New folder\NPVR Plugins\YouTube\YouTube2\Plugin\SettingsForm.cs:line 27
       at NExtPlugins.YouTube.Plugin.YouTube.GetSettingsPage() in d:\New folder\NPVR Plugins\YouTube\YouTube2\Plugin\IPluginCallback.cs:line 54
       at NextPVR.Settings.SettingsForm.SettingsForm_Load(Object sender, EventArgs e)
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
    Martin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •