Adequation DotNetNuke
  Search | Login

 
 
  Forum  PRODUCTS  Localization Ex...  CSSMenu - NullReferenceException
Previous Previous
 
Next Next
New Post 1/19/2010 4:17 AM
Resolved
  jpyt
4 posts
9th Level Poster


CSSMenu - NullReferenceException 

 Hi,

I bought new skin with CSSMenu and now I have big problem.

After change to:  Inherits="Adequation.DNN.LocalizationExtensions.CssMenu"

DNN can't open any page and display such error:

An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Adequation.DNN.LocalizationExtensions.LEDotNetNuke.GetPageByName(String pageName) at Adequation.DNN.LocalizationExtensions.LE.GetRootLanguageTab(String languageCode) at Adequation.DNN.LocalizationExtensions.CssMenu.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Page.OnInit(EventArgs e) at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

any solution ? 

Please help.

LE: 1.29
DNN: 5.02.01  (the same error was before on 5.01.01)
 

 
New Post 1/19/2010 4:28 AM
  Adequation DotNetNuke
499 posts
1st Level Poster


Re: CSSMenu - NullReferenceException 

I will investigate this issue and come back to you tomorrow.

 
New Post 1/19/2010 4:00 PM
  Adequation DotNetNuke
499 posts
1st Level Poster


Re: CSSMenu - NullReferenceException 

There was a bad check when the root language page has been deleted and is in the recycle bin or if the root language page does not exists. This has been addressed in build 1.30. You can download it from:

http://www.adequation-dotnetnuke.com/Portals/0/DNN4_LocalizationExtensions.1.30.zip
http://www.adequation-dotnetnuke.com/Portals/0/DNN5_LocalizationExtensions.1.30.zip

Please let us know how it goes.

 
New Post 1/19/2010 11:36 PM
  jpyt
4 posts
9th Level Poster


Re: CSSMenu - NullReferenceException 
Modified By jpyt  on 1/20/2010 4:49:30 AM)

 Is better but not perfect :)

There isn't  exception but menu is not working properly. 

My english is not as good as I wish ...... so i take a couple screenshots for you.

 

Pages (every think should be OK becouse the same portal works fine with LE when I'm changing skin to different - skin without CSSMenu):

2. After swtich to EN

3. After swtich to PL

 

 
New Post 1/20/2010 3:31 AM
  Adequation DotNetNuke
499 posts
1st Level Poster


Re: CSSMenu - NullReferenceException 

Can you send your skin to support @ ourdomain?

 
New Post 1/20/2010 4:14 AM
  jpyt
4 posts
9th Level Poster


Re: CSSMenu - NullReferenceException 

 I have just sent it.

 
New Post 1/26/2010 5:06 AM
  Adequation DotNetNuke
499 posts
1st Level Poster


Re: CSSMenu - NullReferenceException 

The error was caused by naming the root language pages in capital letters (such as EN instead of en). This has been addressed in current build.

 
New Post 1/29/2010 6:05 AM
  easycon69
4 posts
9th Level Poster


Re: CSSMenu - NullReferenceException 

We have the same problem even if we use low case for language. You can see the result at this address:

www.modomodo.com/dnnpre

We're using CSS Menu with a skin named Apple Skin.

Could you please give us a help ?

Thanks

 
New Post 1/30/2010 10:04 AM
  Adequation DotNetNuke
499 posts
1st Level Poster


Re: CSSMenu - NullReferenceException 

Hi,

Try emptying the recycle bin (you probably have an old root language page in the recycle bin).

Let us know if it solves or not your issue.

 
New Post 2/1/2010 2:13 AM
  easycon69
4 posts
9th Level Poster


Re: CSSMenu - NullReferenceException 

Nothing has changed after emptying the recycle bin. Same problem.

With Solpart menu is all right.

Any other idea ?

Thanks

 
New Post 2/1/2010 6:19 AM
  Adequation DotNetNuke
499 posts
1st Level Poster


Re: CSSMenu - NullReferenceException 

Hi,

The exception you are getting in build 1.29 has been addressed in buid 1.30. However, this exception occurs when DNN does not return the root language page and we switch to an alternative method. We have to do this since the DNN call will return deleted tabs and expects the casing to be exact.

You can download build 1.30 from the temporary locations:

http://www.adequation-dotnetnuke.com/Portals/0/DNN4_LocalizationExtensions.1.30.zip

http://www.adequation-dotnetnuke.com/Portals/0/DNN6_LocalizationExtensions.1.30.zip

Try this new build, if it doesn't solve your problem, please send administrative login using our contact form and we will investigate.

Thanks

 
New Post 2/2/2010 2:52 AM
  easycon69
4 posts
9th Level Poster


Re: CSSMenu - NullReferenceException 

I've sent you all the information to allow you to connect to our demo site.

Please confirm you've reached all.

Thanks

 
 Page 1 of 1
Previous Previous
 
Next Next
  Forum  PRODUCTS  Localization Ex...  CSSMenu - NullReferenceException
 
 


Register
Forgot Password ?

Terms Of Use    Privacy Statement    Copyright 2008 by Adequation Informatique