Upgrade to mojoportal 2.3.1.3 problem

mojoPortal is no longer supported on mono. This forum is here for archival purposes.

This thread is closed to new posts. You must sign in to post in the forums.
8/25/2009 11:03:12 PM
Gravatar
Total Posts 10

Upgrade to mojoportal 2.3.1.3 problem

I am using mono svn 2.4.2 branches on Centos 4 machine.  After updating to mojoportal 2.3.1.3 from 2.2.8.5, Setup/Default.aspx run successfully.

However, when accessing the web site, it could not launch the default web page and the following errors were reported:

System.NullReferenceException: Object reference not set to an instance of an object
at mojoPortal.Web.SharedFilesUI.SharedFilesModule.LoadSettings () [0x00000]
at mojoPortal.Web.SharedFilesUI.SharedFilesModule.Page_Load (System.Object sender, System.EventArgs e) [0x00000]
at System.Web.UI.Control.OnLoad (System.EventArgs e) [0x00000]
at System.Web.UI.Control.LoadRecursive () [0x00000]
at System.Web.UI.Control.LoadRecursive () [0x00000]
at System.Web.UI.Control.LoadRecursive () [0x00000]
at System.Web.UI.Control.LoadRecursive () [0x00000]
at System.Web.UI.Control.LoadRecursive () [0x00000]
at System.Web.UI.Control.LoadRecursive () [0x00000]
at System.Web.UI.Page.ProcessLoad () [0x00000]
at System.Web.UI.Page.ProcessPostData () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]

Can anyone advise what could be the possible causes and how to resolve it.

8/26/2009 5:23:39 AM
Gravatar
Total Posts 18439

Re: Upgrade to mojoportal 2.3.1.3 problem

I don't know unless for some reason the siteSettings object is null. The code in the LoadSettings method is like this:

lblError.Text = String.Empty;

TimeOffset = SiteUtils.GetUserTimeOffset();
filePath = Page.Server.MapPath("~/Data/Sites/" + siteSettings.SiteId.ToString(CultureInfo.InvariantCulture) + "/SharedFiles/");

if (WebConfigSettings.UseGreyBoxProgressForNeatUpload)
{
progressBar.Visible = false;
gbProgressBar.Visible = true;
}
else
{
progressBar.Visible = true;
gbProgressBar.Visible = false;

8/26/2009 10:02:31 AM
Gravatar
Total Posts 10

Re: Upgrade to mojoportal 2.3.1.3 problem

I did a fresh install of mojoportal 2.3.1.3 and the problem was not there so probably there is something wrong with my old 2.2.8.5.

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