Close

Bugs

Support
5 years ago
#6133 Quote
Avatar
  • Moderator
  • 1002
Topic for reporting any Nop Salesforce problems.

IMPORTANT NOTE: There is a known issues with installing new plugins in nopCommerce. Please read this post for more information how to resolve it.
alexcompulab
5 years ago
#6135 Quote
Avatar
  • 5
Hi,

I'm using the licensed version of NopUltimateThemeCollection (3.3.59.10768) on NopCommerce 3.30, and I'm having the same problem when I try to open the admin pages of all plugins of SevenSpikes, by the menu [ADMIN / "plugin name" / SETTINGS].
But if I open it using the plugins list page and click on "Configure" button the page opens well. This is a big problem on plugins which have more admin pages, like the "Nop Product Ribbons", which have the admin pages like "Settings", "Product Ribbons", "Ribbon Images" and "Help", because I cant open them.
The plugins are on "InstalledPlugins.txt", and I tryed to alter the global.asax file to force the restart
What I can do to solve this issue?


The error is:


[i]Server Error in '/' Application.
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 55:             if (!isPluginFound)
Line 56:             {
Line 57:                 if (tempPlugin.Url.ToLower().Contains(currentControllerName.ToLower()))
Line 58:                 {
Line 59:                     currentPlugin = tempPlugin;


Source File: c:\inetpub\wwwroot\nopCommerce\Plugins\SevenSpikes.Core\Views\Shared\Menu7Spikes.cshtml    Line: 57

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   ASP._Page_Plugins_SevenSpikes_Core_Views_Shared_Menu7Spikes_cshtml.Execute() in c:\inetpub\wwwroot\nopCommerce\Plugins\SevenSpikes.Core\Views\Shared\Menu7Spikes.cshtml:57
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +104
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +90
   System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +235
   System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +107
   System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection) +277
   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +91
   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName) +31
   ASP._Page_Plugins_SevenSpikes_Core_Views_Shared__AdminLayout7Spikes_cshtml.Execute() in c:\inetpub\wwwroot\nopCommerce\Plugins\SevenSpikes.Core\Views\Shared\_AdminLayout7Spikes.cshtml:11
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +104
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +90
   System.Web.WebPages.<>c__DisplayClass7.<RenderPageCore>b__6(TextWriter writer) +233
   System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) +10
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +80
   System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +63
   System.Web.WebPages.WebPageBase.PopContext() +267
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +98
   System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +235
   System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +107
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +291
   System.Web.Mvc.ControllerActionInvoker
Boyko
5 years ago
#6136 Quote
Avatar
  • Moderator
  • 1437
alexcompulab wrote:
Hi,

I'm using the licensed version of NopUltimateThemeCollection (3.3.59.10768) on NopCommerce 3.30, and I'm having the same problem when I try to open the admin pages of all plugins of SevenSpikes, by the menu [ADMIN / "plugin name" / SETTINGS].
But if I open it using the plugins list page and click on "Configure" button the page opens well. This is a big problem on plugins which have more admin pages, like the "Nop Product Ribbons", which have the admin pages like "Settings", "Product Ribbons", "Ribbon Images" and "Help", because I cant open them.
The plugins are on "InstalledPlugins.txt", and I tryed to alter the global.asax file to force the restart
What I can do to solve this issue?


The error is:


[i]Server Error in '/' Application.
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 55:             if (!isPluginFound)
Line 56:             {
Line 57:                 if (tempPlugin.Url.ToLower().Contains(currentControllerName.ToLower()))
Line 58:                 {
Line 59:                     currentPlugin = tempPlugin;


Source File: c:\inetpub\wwwroot\nopCommerce\Plugins\SevenSpikes.Core\Views\Shared\Menu7Spikes.cshtml    Line: 57

Stack Trace:


Hi alexcompulab,

Please download the latest package and update the SevenSpikes.Core plugin folder as this has been fixed already. You can also update all your themes as described in this video as there are other small bug fixes and improvements to the themes/plugins since you have downloaded them.

Thanks
Regards,
Boyko Stanev
Nop-Templates.com
alexcompulab
5 years ago
#6141 Quote
Avatar
  • 5
Solved.
Thanks very much for your immediate support.