Plugin Error

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
I just tried to log on to my site and got this error:



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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Nop.Core.Plugins.PluginManager.PerformFileDeploy(FileInfo plug) +12
   Nop.Core.Plugins.PluginManager.Initialize() +1195

[Exception: Object reference not set to an instance of an object.
]
   Nop.Core.Plugins.PluginManager.Initialize() +2185

[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) +550
   System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +132
   System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath) +90
   System.Web.Compilation.BuildManager.ExecutePreAppStart() +135
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +516

[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) +9873912
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929

Any clues? I haven't installed any new plugins??
11 years ago
https://www.nopcommerce.com/boards/t/19071/medium-trust-installation.aspx
P.S. Do not duplicate forum topics
11 years ago
Sorry about dupilcate post.

Is rebuilding the only option?

I noticed Global.ascx had a modified date between the site working and giving the error message.
11 years ago
Actually I don't know. As I've written here I've never been able to replicate it. Try posting this question here
11 years ago
JonNopper wrote:


Any clues? I haven't installed any new plugins??


I might have inadvertantly installed Mega Menu. I was experimenting with a different site ( different URL ) and it is quite possible that I uploaded to the wrong site as I use the FileZilla QuickConnect.


However, I'm still having installation issues. I can't currently re-install through my hosting  using the Microsoft Web App.
Sequence failure on the installation page.
Also Create Database not allowed??

I'll try rebuilding from the source code and manually uploading.
9 years ago
I tried installing Nop Mega Menu which i got with the purchased photo video theme in my nopcommerce 2.60 store. It said its compatible, the description file consist of version 2.8, so i replace it to 2.6 so that my plugin list can find it.

But when i try to configure i get the below error

The controller for path '/Admin/Widget/ConfigureWidget' was not found or does not implement IController.

Any help is much appreciated !!
9 years ago
coder771 wrote:
I tried installing Nop Mega Menu which i got with the purchased photo video theme in my nopcommerce 2.60 store. It said its compatible, the description file consist of version 2.8, so i replace it to 2.6 so that my plugin list can find it.

But when i try to configure i get the below error

The controller for path '/Admin/Widget/ConfigureWidget' was not found or does not implement IController.

Any help is much appreciated !!


Hi,

As it is described in the NopCommerce Responsive PhotoVideo Theme extension page, the supported versions include 2.65, but not 2.60.
8 years ago
Hello,

The reason for this error is probably because of the name difference between filenames in description.txt file and plugin filename in filesystem. Hope it helps..
8 years ago
Hai,

When I include plugin into the nopcommerce page that time this error where occured


Plugin 'ima9ines - Facebook Comments - Free Edition'. Could not load type 'ima9ines.Nop.Admin.Controllers.BasePluginSettingsController`1' from assembly 'ima9ines.Nop, Version=3.7.5.0, Culture=neutral, PublicKeyToken=null'.

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
8 years ago
Manusanker wrote:
Hai,

When I include plugin into the nopcommerce page that time this error where occured


Plugin 'ima9ines - Facebook Comments - Free Edition'. Could not load type 'ima9ines.Nop.Admin.Controllers.BasePluginSettingsController`1' from assembly 'ima9ines.Nop, Version=3.7.5.0, Culture=neutral, PublicKeyToken=null'.

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.


Hi,

You should install our CORE plugin first

Best Regards,
Tuan Do (ima9ines.com)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.