NullReferenceException when updating a page title

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/14/2007 4:22:13 AM
Gravatar
Total Posts 22

NullReferenceException when updating a page title

 

Hi Joe,

I'm trying Mojoportal 2.2.3.4 for MySql; I created a new page, then tried to change its title, and I got:

--

Server Error in '/MojoPortal' 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:

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.]
mojoPortal.Data.dbPortal.PageSettings_UpdatePage(Int32 siteID, Int32 pageID, Int32 parentID, String pageName, String pageTitle, String skin, Int32 pageOrder, String authorizedRoles, String editRoles, String createChildPageRoles, Boolean requireSSL, Boolean allowBrowserCache, Boolean showBreadcrumbs, Boolean showChildPageBreadcrumbs, String pageKeyWords, String pageDescription, String pageEncoding, String additionalMetaTags, Boolean useUrl, String url, Boolean openInNewWindow, Boolean showChildPageMenu, Boolean hideMainMenu, Boolean includeInMenu, String menuImage, String changeFrequency, String siteMapPriority, Guid parentGuid) +2747
mojoPortal.Business.PageSettings.Update() +163
mojoPortal.Business.PageSettings.Save() +11
mojoPortal.Web.AdminUI.PageProperties.SavePageData() +2815
mojoPortal.Web.AdminUI.PageProperties.Apply_Click(Object Sender, EventArgs e) +13
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

8/15/2007 2:45:00 AM
Gravatar
Total Posts 22

Re: NullReferenceException when updating a page title

Hi Joe,

> I found the bug about updating the page title and fixed it
> and uploaded a new version of the mysql data layer 
>named 2-2-3-4-b. Just replace mojoPortal.Data.dll with 
> the new one.

done it, it works now.
thank you

Federico

You must sign in to post in the forums. This thread is closed to new posts.