ModuleSettings gives me null exception

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
6/16/2010 4:03:45 AM
Gravatar
Total Posts 13

ModuleSettings gives me null exception

ModuleSettings gives me null exception...

Could i be missing some vital in my skin because when i change skin it works...

And if so what?

 

(i've tried to strip down some components i dident need but i think one of theme bust have been vital to this page for some reason..)

(the skin is very simplistic and uses a lot of images for buttons )

6/16/2010 6:58:30 AM
Gravatar
Total Posts 18439

Re: ModuleSettings gives me null exception

What feature is on the page?

Please post the stack trace of the error.

6/16/2010 8:34:39 AM
Gravatar
Total Posts 13

Re: ModuleSettings gives me null exception

[NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.]
mojoPortal.Web.AdminUI.ModuleSettingsPage.PopulatePageList() +232
mojoPortal.Web.AdminUI.ModuleSettingsPage.PopulateControls() +576
mojoPortal.Web.AdminUI.ModuleSettingsPage.Page_Load(Object sender, EventArgs e) +159
System.Web.UI.Control.OnLoad(EventArgs e) +99
mojoPortal.Web.mojoBasePage.OnLoad(EventArgs e) +36
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
 

6/16/2010 8:42:50 AM
Gravatar
Total Posts 18439

Re: ModuleSettings gives me null exception

You need to put this back in your layout.master file:

<asp:SiteMapDataSource ID="SiteMapData" runat="server" ShowStartingNode="false" />

6/16/2010 8:43:55 AM
Gravatar
Total Posts 13

Re: ModuleSettings gives me null exception

Ah thankies :3

7/14/2012 3:37:33 PM
Gravatar
Total Posts 4

Re: ModuleSettings gives me null exception

Hi,

When I try to open Admin/ModuleSettings.aspx page an exception occurs:

 

Object reference not set to an instance of an object.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   mojoPortal.Web.AdminUI.ModuleSettingsPage.PopulateCustomSettings() +102
   System.Web.UI.Control.InitRecursive(Control namingContainer) +132
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1969

 

I use the latest version (2.3.8.5) of mojoPortal with SQL CE. All of recommended controls are placed on my layout.master.

Do you have any idea about what is the cause of this exception?

Thanks,

Ákos

 

 

7/14/2012 3:52:29 PM
Gravatar
Total Posts 4

Re: ModuleSettings gives me null exception

Hi,

My previous question was simple-minded. ModuleSettings.aspx should be supplied with identifier parameters and I forget it.

Sorry for the spam.

Thanks,

Ákos

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