Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

DMX 4 Object reference not set to an instance of an object
Last Post 10/02/2007 8:06 PM by Peter Donker. 7 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Guido Kuehler
Basic Member
Basic Member
Posts:149


--
09/15/2007 10:33 AM

 

DNN Version: 4.5.5 (Multilanguage), DMX Version: 4

Error-Message:

A critical error has occurred.
Object reference not set to an instance of an object.

Effect Description:

When we have language set o EN and display a site with the module the Module is displayed fine without problem. We let the Language on EN and navigate to other site in in our protal with a other DMX-Module all is ok.

But

When we set the lanuage to de-DE the Error is displayed, we refresh the page but the eror is displayed. We set the language to EN and refresh the page but the error is also display but in EN language. So now we have set the Language to EN and have the error in englisch on the page now we navigate to other page in our portal with a dmx module and see the Module is now displayed right.

Compression:

We have for a Test disabled the Pageblaster-Module for the compression and remarkt in the web.config but we have the same effect.

Test:

You can see the effect on our website under http://www.it-power.biz we have on our page Downloads and under Support/Documents placed a DMX 4 Module.

Any Idea whats wrong here!?!?!?

Thank You

 

 

Guido Kuehler
Basic Member
Basic Member
Posts:149


--
09/15/2007 3:07 PM
Here the Detailed Error from the LogViewer

AssemblyVersion: 04.05.05
PortalID: 0
PortalName: ITP - Business IT Power :: V3
UserID: -1
UserName:
ActiveTabID: 55
ActiveTabName: Downloads
RawURL: /Downloads/tabid/55/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.it-power.biz/D...an+object.&content=0
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Alexa Toolbar; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 73d08c6d-ee5e-49f2-bdb7-0a6c94439320
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Services.Localization.Localization.LoadResource
StackTrace:
Message: 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 DotNetNuke.Services.Localization.Localization.LoadResource(Hashtable target, String language, String cacheKey, String ResourceFile, CustomizedLocale CheckCustomCulture, PortalSettings objPortalSettings) at DotNetNuke.Services.Localization.Localization.GetResource(String ResourceFileRoot, PortalSettings objPortalSettings, String strLanguage) at DotNetNuke.Services.Localization.Localization.GetString(String name, String ResourceFileRoot, PortalSettings objPortalSettings, String strLanguage, Boolean disableShowMissingKeys) at DotNetNuke.Services.Localization.Localization.GetString(String name, String ResourceFileRoot) at Bring2mind.DNN.Modules.DMX.Framework.ExtensionController.GetExtensions(Int32 PortalId, Int32 UserId, Boolean FilterPermissions, String ForEntryType, String ExtensionKeyPattern) at Bring2mind.DNN.Modules.DMX.ViewCollection.a(String A_0) at Bring2mind.DNN.Modules.DMX.ViewCollection.a(Object A_0, EventArgs A_1) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: DS80-237-158-85

----------------------------------------------------------------------------------------------------------------------------------
AssemblyVersion: 04.05.05
PortalID: 0
PortalName: ITP - Business IT Power :: V3
UserID: -1
UserName:
ActiveTabID: 60
ActiveTabName: Documents
RawURL: /Support/Documents/tabid/60/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.it-power.biz/S...abid/59/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Alexa Toolbar; .NET CLR 2.0.50727)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 5af0aae7-a41b-433c-9792-605cae7915f5
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Services.Localization.Localization.LoadResource
StackTrace:
Message: 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 DotNetNuke.Services.Localization.Localization.LoadResource(Hashtable target, String language, String cacheKey, String ResourceFile, CustomizedLocale CheckCustomCulture, PortalSettings objPortalSettings) at DotNetNuke.Services.Localization.Localization.GetResource(String ResourceFileRoot, PortalSettings objPortalSettings, String strLanguage) at DotNetNuke.Services.Localization.Localization.GetString(String name, String ResourceFileRoot, PortalSettings objPortalSettings, String strLanguage, Boolean disableShowMissingKeys) at DotNetNuke.Services.Localization.Localization.GetString(String name, String ResourceFileRoot) at Bring2mind.DNN.Modules.DMX.Framework.ExtensionController.GetExtensions(Int32 PortalId, Int32 UserId, Boolean FilterPermissions, String ForEntryType, String ExtensionKeyPattern) at Bring2mind.DNN.Modules.DMX.ViewCollection.a(String A_0) at Bring2mind.DNN.Modules.DMX.ViewCollection.a(Object A_0, EventArgs A_1) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: DS80-237-158-85

Guido Kuehler
Basic Member
Basic Member
Posts:149


--
09/15/2007 6:51 PM
We have see onyou website is a newer version from DMX 4 available and download this.
We have installed this latest version and see now is the Problem not more existent.

Thank You
Jack Hoelz
New Member
New Member
Posts:2


--
09/26/2007 6:33 PM

Just installed the latest version and I have the same issue. 4.0.1 on 4.5.5

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
Bring2mind.DNN.Modules.DMX.Framework.ApprovalController.HasContentToApprove(Int32& PortalId, Int32 UserId) +82
Bring2mind.DNN.Modules.DMX.Framework.ApprovalController.GetRootNode(PortalSettings& Portal, Int32 TabId, Int32 ModuleId, ModuleSettings& ModuleSettings, UserInfo User, Boolean UserIsAdmin) +82
Bring2mind.DNN.Modules.DMX.ViewCollection.a(String A_0) +637
Bring2mind.DNN.Modules.DMX.ViewCollection.a(Object A_0, EventArgs A_1) +2741
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

[PageLoadException: Object reference not set to an instance of an object.]
DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +362
DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) +484
System.Web.UI.TemplateControl.OnError(EventArgs e) +105
System.Web.UI.Page.HandleError(Exception e) +73
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6969
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.default_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

 

Guido Kuehler
Basic Member
Basic Member
Posts:149


--
09/26/2007 8:32 PM

Have you used DMX3 before DMX4?

When yes you must remove the DMX-Modules from pages before Update to DMX4! Now when this is yes you must delete the page and create a new and place the new DMX4 Module on this new page.

Hope this Help!

 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/26/2007 9:36 PM
Hi,

I'm not aware that you have to remove module instances from your site. The only ones that would break are the Shortlist, Navigator (add-ons) and the one that you've set to start with something else than the default (you can just switch the setting back to default before upgrading). You'd use the latter on the 'search results' page for instance. Regular DMX instances should not throw any errors. I'm eager to hear from anyone that experiences that. Let me know.

@Jack: did you use any add-ons with DMX 3? Did you manage to see the module before it threw an error?

Peter
Jack Hoelz
New Member
New Member
Posts:2


--
10/02/2007 2:28 PM

This was an "upgrade" in the sense that DMX 3 "was" installed. But I uninstalled everythig about DMX 3 before I installed 4 for testing.

And no, I never did see the module, inserting it on a page produced the error.

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
10/02/2007 8:06 PM
You're on SQL 2005?
You are not authorized to post a reply.