I'm trying to install the plugins as described on this step of the install guide http://www.nopaccelerate.com/wiki/installing-nopaccelerate-solr-plugins/installing-nopaccelerate-solr-plugins-in-nopcommerce-3-00/ however the plugins don't show up in the list of plugins when I go to Admin/Configuration/Plugins even after I hit the "Reload list of plugins" button. I'm putting the plugin files in the /Plugins folder, I tried moving them to the /Presentation/Nop.Web/Plugins folder but then I get the following error when trying to load any page on the site:
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 328: private static Assembly PerformFileDeploy(FileInfo plug)
Line 329: {
Line 330: if (plug.Directory.Parent == null)
Line 331: throw new InvalidOperationException("The plugin directory for the " + plug.Name +
Line 332: " file exists in a folder outside of the allowed nopCommerce folder heirarchy");
Source File: d:\Repositories\MessageHub\Libraries\Nop.Core\Plugins\PluginManager.cs Line: 330
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Nop.Core.Plugins.PluginManager.PerformFileDeploy(FileInfo plug) in d:\Repositories\MessageHub\Libraries\Nop.Core\Plugins\PluginManager.cs:330
Nop.Core.Plugins.PluginManager.Initialize() in d:\Repositories\MessageHub\Libraries\Nop.Core\Plugins\PluginManager.cs:140
[Exception: Object reference not set to an instance of an object.
]
Nop.Core.Plugins.PluginManager.Initialize() in d:\Repositories\MessageHub\Libraries\Nop.Core\Plugins\PluginManager.cs:182
[InvalidOperationException: The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Object reference not set to an instance of an object.
.]
System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +547
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +132
System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +102
System.Web.Compilation.BuildManager.ExecutePreAppStart() +153
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +521
[HttpException (0x80004005): The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Object reference not set to an instance of an object.
.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9930568
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
Anyone have any idea how to fix this? I'm running NopCommerce 3.40 and have selected the corresponding nopaccelerate files for 3.40
Thanks!
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 328: private static Assembly PerformFileDeploy(FileInfo plug)
Line 329: {
Line 330: if (plug.Directory.Parent == null)
Line 331: throw new InvalidOperationException("The plugin directory for the " + plug.Name +
Line 332: " file exists in a folder outside of the allowed nopCommerce folder heirarchy");
Source File: d:\Repositories\MessageHub\Libraries\Nop.Core\Plugins\PluginManager.cs Line: 330
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
Nop.Core.Plugins.PluginManager.PerformFileDeploy(FileInfo plug) in d:\Repositories\MessageHub\Libraries\Nop.Core\Plugins\PluginManager.cs:330
Nop.Core.Plugins.PluginManager.Initialize() in d:\Repositories\MessageHub\Libraries\Nop.Core\Plugins\PluginManager.cs:140
[Exception: Object reference not set to an instance of an object.
]
Nop.Core.Plugins.PluginManager.Initialize() in d:\Repositories\MessageHub\Libraries\Nop.Core\Plugins\PluginManager.cs:182
[InvalidOperationException: The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Object reference not set to an instance of an object.
.]
System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +547
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +132
System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +102
System.Web.Compilation.BuildManager.ExecutePreAppStart() +153
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +521
[HttpException (0x80004005): The pre-application start initialization method Initialize on type Nop.Core.Plugins.PluginManager threw an exception with the following error message: Object reference not set to an instance of an object.
.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9930568
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
Anyone have any idea how to fix this? I'm running NopCommerce 3.40 and have selected the corresponding nopaccelerate files for 3.40
Thanks!
0
