NullReferenceException with Telerik.Web.UI.WebResource.axd

6 posts, 0 answers
  1. Mohammed Imaduddin
    Mohammed Imaduddin avatar
    24 posts
    Member since:
    Jul 2009

    Posted 23 Mar 2010 Link to this post

    I have noticed that my Event Viewer is being filled up with the following warnings, complaining about NullReferenceException. Can someone tell me what could be causing this, and what can I do to fix them?

    Thanks,

    Event Type: Warning  
    Event Source:   ASP.NET 2.0.50727.0  
    Event Category: Web Event   
    Event ID:   1309  
    Date:       3/23/2010  
    Time:       9:45:05 AM  
    User:       N/A  
    Computer:   WEBPC  
    Description:  
    Event code: 3005   
    Event message: An unhandled exception has occurred.   
    Event time: 3/23/2010 9:45:05 AM   
    Event time (UTC): 3/23/2010 2:45:05 PM   
    Event ID: ac0df0b9829a4b0796ff2693875efb70   
    Event sequence: 261544   
    Event occurrence: 1492   
    Event detail code: 0   
       
    Application information:   
        Application domain: /LM/W3SVC/2/Root-1-129137505216865130   
        Trust level: Full   
        Application Virtual Path: /   
        Application Path: C:\Inetpub\wwwroot\WEBPC\WebSite\   
        Machine name: WEBPC   
       
    Process information:   
        Process ID: 7480   
        Process name: w3wp.exe   
        Account name: NT AUTHORITY\NETWORK SERVICE   
       
    Exception information:   
        Exception type: NullReferenceException   
        Exception message: Object reference not set to an instance of an object.   
       
    Request information:   
        Request URL: http://www.thegreensheet.com/Telerik.Web.UI.WebResource.axd?imgid=2b66498078e24ceab80cfe456aff0d17&type=rbi   
        Request path: /Telerik.Web.UI.WebResource.axd   
        User host address: 928.54.83.66   
        User: default\Anonymous   
        Is authenticated: False   
        Authentication Type:    
        Thread account name: NT AUTHORITY\NETWORK SERVICE   
       
    Thread information:   
        Thread ID: 7   
        Thread account name: NT AUTHORITY\NETWORK SERVICE   
        Is impersonating: False   
        Stack trace:    at Telerik.Web.UI.RadBinaryImageHandler.ProcessRequestInternal()  
       at Telerik.Web.UI.HandlerRouter.ProcessHandler(String handlerKey, HttpContext context)  
       at Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context)  
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 

  2. Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 26 Mar 2010 Link to this post

    Hello Mohammed,

    The error you are getting is most probably raised when the RadBinaryImage's data is accessed after it is removed from the server's cache. Usually this happens 5 minutes after  the image is shown and the client does not have browser cache enabled. Another possible reason can be if you are in load balancing environment such as web farm or web garden.

    Best wishes,
    Rosen
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. OL
    OL avatar
    20 posts
    Member since:
    Jan 2010

    Posted 13 Oct 2010 Link to this post

    Hello,
    I have exactly the same problem. It's a bit annoying because it is quite common in my application log (I log errors from my Global.asax's Application_Error). What can we do to solve this problem with the RadBinaryImage?
    Thank you.
  5. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 19 Oct 2010 Link to this post

    Hi OL,

    I am unable to reproduce any exception from RadBinaryImage's HTTP handler. If you can provide us with a sample project we can test locally and reproduce the exception in, we can take action accordingly. If you want to upload a project, please open a regular support ticket and send your attachment, referring to this forum thread.

    Alternatively, providing any further info about the exception may be of help.


    Veli
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Chanan Zass
    Chanan Zass avatar
    50 posts
    Member since:
    Aug 2012

    Posted 03 Jul 2011 Link to this post

    Errors are registered upon site crawling by such search engines as Google and Yahoo (which don't like sessions and cache.
    Can't think of a solution, except substituting RadBinaryImages.

  7. Chanan Zass
    Chanan Zass avatar
    50 posts
    Member since:
    Aug 2012

    Posted 03 Jul 2011 Link to this post

    Should add that this can become a grave problem if you set the application pool in IIS Manager to be disabled when reaching a certain number of failures.
    Not very nice as your site will become unavailable.


Back to Top
UI for ASP.NET Ajax is Ready for VS 2017