2012-08-11, 06:39 PM
Several plugins seem to have trouble when called from command line, I assume because their CTOR call's use functions that aren't supposed to be in the constructor.
I see this everyday in my log for
NextPVR.exe -updateepgonly
Here are the results for SSPlus, YouTube, and Plex
YouTube
Plex seems to cause this one
SSPlus has this one on EPG_UPDATE too
Martin
I see this everyday in my log for
NextPVR.exe -updateepgonly
Here are the results for SSPlus, YouTube, and Plex
Code:
2012-08-11 14:15:20.604 [INFO][1] SSPlus Ctor: Version 1.2.0.0
2012-08-11 14:15:20.605 [ERROR][1] Error loading screen plugin: C:\Users\Public\NPVR\Plugins\SSPlus\SSPlus.dll
2012-08-11 14:15:20.607 [ERROR][1] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at SSPlus.SSPlus..ctor() in C:\Documents and Settings\Alex\My Documents\Visual Studio 2008\Projects\SSPlus dev\SSPlus.cs:line 116
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at NUtility.PluginRegistry.LoadPluginsFromRoot(String pluginDirectoryBase)
2012-08-11 14:15:20.607 [INFO][1] SSPlus Ctor: Version 1.2.0.0
2012-08-11 14:15:20.607 [ERROR][1] Error loading screen plugin: C:\Users\Public\NPVR\Plugins\SSPlus\SSPlus.dll
2012-08-11 14:15:20.608 [ERROR][1] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at SSPlus.SSPlus..ctor() in C:\Documents and Settings\Alex\My Documents\Visual Studio 2008\Projects\SSPlus dev\SSPlus.cs:line 116
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at NUtility.PluginRegistry.LoadPluginsFromRoot(String pluginDirectoryBase)
YouTube
Code:
2012-08-11 14:15:20.632 [ERROR][1] Error loading screen plugin: C:\Program Files\NPVR\Plugins\YouTube\YouTube.dll
2012-08-11 14:15:20.634 [ERROR][1] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at NextPVR.YouTube.YouTubePlugin..ctor() in F:\Projects\NextPVR\YouTube\YouTube\Plugin.cs:line 19
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at NUtility.PluginRegistry.LoadPluginsFromRoot(String pluginDirectoryBase)
2012-08-11 14:15:20.634 [ERROR][1] Error loading screen plugin: C:\Program Files\NPVR\Plugins\YouTube\YouTube.dll
2012-08-11 14:15:20.635 [ERROR][1] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at NextPVR.YouTube.YouTubePlugin..ctor() in F:\Projects\NextPVR\YouTube\YouTube\Plugin.cs:line 19
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at NUtility.PluginRegistry.LoadPluginsFromRoot(String pluginDirectoryBase)
Plex seems to cause this one
Code:
2012-08-11 14:21:29.238 [ERROR][1] Unexpected error: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at NUtility.PluginRegistry.LoadPluginsFromRoot(String pluginDirectoryBase)
SSPlus has this one on EPG_UPDATE too
Code:
2012-08-11 14:11:35.057 [DEBUG][1] EPG_UPDATED
2012-08-11 14:11:35.068 [ERROR][1] Object reference not set to an instance of an object.
2012-08-11 14:11:35.070 [ERROR][1] System.NullReferenceException: Object reference not set to an instance of an object.
at SSPlus.SSPlus.NUtility.IEventNotification.Notify(String eventName, Object eventArg) in C:\Documents and Settings\Alex\My Documents\Visual Studio 2008\Projects\SSPlus dev\SSPlus.cs:line 1319
2012-08-11 14:11:35.070 [DEBUG][1] SSPlus Notify: finished...
2012-08-11 14:11:35.070 [ERROR][1] Object reference not set to an instance of an object.
2012-08-11 14:11:35.070 [ERROR][1] System.NullReferenceException: Object reference not set to an instance of an object.
at SSPlus.SSPlus.NUtility.IEventNotification.Notify(String eventName, Object eventArg) in C:\Documents and Settings\Alex\My Documents\Visual Studio 2008\Projects\SSPlus dev\SSPlus.cs:line 1319
2012-08-11 14:11:35.070 [DEBUG][1] SSPlus Notify: finished...
Martin