Object reference not set to an instance of an object

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
12/15/2010 12:42:17 PM
Gravatar
Total Posts 14

Object reference not set to an instance of an object

Hi Joe,

I have successfully installed new version on my machine. I am getting strange error after moving my site to new version 2.5.5.8

I have copied Data/sites/1 folder to /data/sites/1 of new version.

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:

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.Web.UI.BreadcrumbsControl.Page_Load(Object sender, EventArgs e) +293
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955

 

Thanks,

Raavi

12/15/2010 2:19:42 PM
Gravatar
Total Posts 14

Re: Object reference not set to an instance of an object

Hi Joe,

I am able to find what the problem caused this error. Some of the skins provided with the package were producing this type of error.
I thought the information may helpful to fix the problem, that's why i am mentioning all the skin names which are causing errors.
 

The list of non functional themes are:

1) GotMono

2) centered1

3) IBuySpy

4) jwh1

5) jwv1

6) mojo1

7) mojoguidetogalaxy

8) RightToLeft1

9) RightToLeft2

10) Sadegh

11) samar

12) Samar01

13) splitmenu1

14) splitmenu2

15) technica2

16) theblues1

17) treeviewmenu1

18) treeviewmenu2

Some of the  themes throwing different error I have pasted the stack trace of other related error below:

Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
mojoPortal.Web.UI.SiteMenu.Page_Load(Object sender, EventArgs e) +156
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

--

Thanks,

Raavi.

 

 


 

12/16/2010 6:34:35 AM
Gravatar
Total Posts 18439

Re: Object reference not set to an instance of an object

Hi,

It is true that none of those skins have been maintained are most are many years old. I guess you downloaded them from the Community Downloads. Maybe I should remove those completely so no-one can download them since they are old and not maintained.

All the skins included with mojoPortal as well as the ones in the extraskins.zip download are maintained and should work correctly.

If anyone wants to update those old skins that would be cool, but I do not want to work on those old skins myself and most of them look old school in addition to actually being old.

Best,

Joe

12/16/2010 9:41:46 AM
Gravatar
Total Posts 550

Re: Object reference not set to an instance of an object

Hi Joe ,

Some those are Persian skins that I send to you before establishing mojoPortal  Persian Community. Now I maintain Persian skins here. Please delete following skins from that page: Parisa.rar, Samar01.rar, Samar.zip ,Sadegh.zip , RightToLeft2.zip ,RightToLeft1.zip .

Best,

Asad

 

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