Quick Nav:  Online Store   |   Login | Register

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

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
James Bauer
<20 Posts
Posts:8


01/22/2007 12:26 PM  

Hi John.  After installing v2 as described in your install.txt file, and setting the disk cache to 99 days, I receive the following error message:

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:

<pre>[NullReferenceException: Object reference not set to an instance of an object.]
   Snapsis.DNN.PageBlaster.DNNFilterProvider.Write(String inputHtml) +99
   Snapsis.HttpModules.PageBlaster.PageReplacementsFilter.Write(Byte[] buffer, Int32 offset, Int32 count) +878
   System.Web.HttpWriter.Filter(Boolean finalFiltering) +282
   System.Web.HttpResponse.FilterOutput() +66
   System.Web.HttpApplication.ResumeSteps(Exception error) +331
   System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) +226
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +486
pre>


Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032 

 

Any help regarding next steps would be greatly appreciated.  I tried to search your forum, but am unable to locate a similar topic.

Thanks for your help,

Jim

 
John Mitchell
Posts:3084


01/22/2007 12:30 PM  

Hi Jim,
What version of DNN is this on? Did you use the newer version pof PageBlaster ( 2.1.1 ) that I sent you through e-mail?
James Bauer
<20 Posts
Posts:8


01/22/2007 5:01 PM  

John:

My DNN version is only 3.3.7, and I was using your 2.0.0 version.  Thanks for the 2.1.1 update.  I installed it and it seems to be working fine.  I will be testing it further over the next week. 

Regarding updates, am I entitled to them over the next year?  If so, what would be the best process to receive them, as your download site is only updated with 2.0.0.  If email will be the primary conduit, I'd like to give you another email address, which receives less spam.

Also, I plan to imlement this on about 10 other DNN sites (future thoughts).  Is there a bulk license I can purchase or a breakout of additional costs associated with multiple licenses?

 

Thanks again,

Jim

John Mitchell
Posts:3084


01/22/2007 5:11 PM  
Hi Jim,

Minor upgrades will be free. Major ones will be at a reduced price. I just wanted to get that release out to you right away, but when it is oficially released you will be able to download it from your origianl order.

If you are going to use it on 10 different DNN installs, I'll work out a special price for you and free upgrades for a year.

Reply directly to the notification to this post, or use my profile link.

John
James Bauer
<20 Posts
Posts:8


01/22/2007 5:54 PM  
Thanks John. I'm looking forward to the quote. FYI - Currently, I am using it on 1 site with expectations for use on 4 sites in the next month. Over the next 6-9 months, I hope to have 10 sites operational.

Just out of curiosity with the coding of your module, if the memory cache is set to 4 hours, and the disk cache is set to 99 days, when my server reboots or the worker process is restarted, will the memory cache load from the disk cache, or will it rebuild the page from scratch?

Thanks again for all your help.

Jim
John Mitchell
Posts:3084


01/22/2007 7:55 PM  

Yes, the disk caching works as a kind of "overflow" cache.
Whenever a page expires from memory (which happens to all pages on a restart of the application) the next request will load it from disk back into memory, if the disk copy happens to be expired then it will build it normally and put it back in memory and on disk.

This way your most used pages will always be in memory.

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > NullReferenceException: Object reference not set to an instance of an object



ActiveForums 3.7
Powered by: Snapsis Software