We have a website that seems to be working fine, but it keeps throwing this error message over and over:
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:7d42defc-a15b-4cb4-b69d-350b4fe808cb
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:9gFTpZMnF4ZFqFjOEPLN0pPwDTo=
Message:Object reference not set to an instance of an object.
StackTrace:
at DotNetNuke.UI.Skins.Skin.InjectModule(Pane pane, ModuleInfo module)
InnerMessage:
InnerStackTrace:
Source:DotNetNuke
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
Mostly this is a Skin / Theme issue, did you try using the default theme to see if that has this issue too?
An Object is an instance of a Class , it is stored some where in memory. A reference is what is used to describe the pointer to the memory location where the Object resides. The message "object reference not set to an instance of an object" means that you are referring to an object the does not exist or was deleted or cleaned up. It's usually better to avoid a NullReferenceException than to handle it after it occurs. To prevent the error, objects that could be null should be tested before being used.
if (mClass != null) { // Go ahead and use mClass mClass.property = ... } else { // Attempting to use mClass here will result in NullReferenceException }
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.