System.NullReferenceException

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/6/2008 7:19:02 PM
Gravatar
Total Posts 49
Juliano Morais Barbosa

System.NullReferenceException

Hi for all.

When I create any blog entry, I get this error.

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.Business.WebHelpers.IndexBuilderConfiguration.GetConfig() +191
mojoPortal.Business.WebHelpers.IndexBuilderManager.Initialize() +22
mojoPortal.Business.WebHelpers.IndexBuilderManager..cctor() +64

[TypeInitializationException: The type initializer for 'mojoPortal.Business.WebHelpers.IndexBuilderManager' threw an exception.]
mojoPortal.Business.WebHelpers.IndexBuilderManager.get_Providers() +0
mojoPortal.Web.BlogUI.BlogEdit.btnUpdate_Click(Object sender, EventArgs e) +107
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746


 

8/7/2008 8:40:10 AM
Gravatar
Total Posts 18439

Re: System.NullReferenceException

Hi Juliano,

I think you didn't upload all the files or there were errors uploading them. Most likely you are missing files in /Setup/ProviderConfig/indexbuilders folder. There should be 8 files there, each should be about 1KB.

If you upload the files then you need to touch Web.config to recycle the app.

Hope it helps

Joe

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