Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8931867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:12:32+00:00 2026-06-15T09:12:32+00:00

my web site is made using Ext JS 4.1 framework and ASP .Net MVC

  • 0

my web site is made using Ext JS 4.1 framework and ASP .Net MVC v3. When new frame is rendered there are 19 separate AJAX requests for retrieving data in JSON-format. All requests are familiar and made by Ext.Ajax.request(). Example:

Ext.Ajax.request({
    url: getOrderLink,
    method: "GET",
    params: { recId: orderRecId },
    headers: {
        'Accept': 'application/json'
    },
    success: function (response) {
        var order = Ext.decode(response.responseText);
        ...
    }
});

In some cases there are errors in ext-all.js in

onStateChange : function(request) {
    if (request.xhr.readyState == 4) {
        this.clearTimeout(request);
        this.onComplete(request);
        this.cleanup(request);
    }
},

where request has no property xhr so that request.xhr.readyState throws exception “Cannot read property ‘readState’ of undefined”.
This errors appear not for all requests and don’t effect site work(responses are retrieved successfully). Some times this errors don’t appear at all. Timeout for all requests is set to 30s by default and they take about 1.5-2 seconds each.
I am using Google Chrome 21.
Could you please give me some idea why it’s happening.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T09:12:33+00:00Added an answer on June 15, 2026 at 9:12 am

    The problem seems to occur if and only if you have a breakpoint or a “debugger;” line in anything related to AJAX. For me it happened in Chrome, haven’t tried other browsers yet.

    In my case it happened when I had set a breakpoint in a load event handler for a store like code example below.

    But the error occurrs if you set a breakpoint inside the Ext onStateChange function in the framework itself as well.

    If disabling your breakpoints and debugger; calls removes the error you can safely ignore it!

    There is a similar thread on ExtJS forums. Sencha might add a fix.

    Ext.define('MyApp.controller.MyController', {
        extend: 'Ext.app.Controller',
    
        stores: ['Projects'],
    
        init: function () {
            this.getProjectsStore().addListener(
                "load",
                this.onProjectsStoreLoaded,
                this
            );
        },
    
        onProjectsStoreLoaded: function () {
            console.log('MyController: onProjectsStoreLoaded');
    
            debugger; // <- this causes the errors to appear in the console
    
            SomeOtherThingsIWantedToDebug();
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got an ASP.NET web application, that is essentially our intranet site. I made
When using PNG files (made with Paint.NET) as background images on my web site,
I've created a ASP.Net MVC 4 web site that has several custom routes which
I have a very big problem... I made a web site using the ajax
I have made a website using( Asp.net, c# ) and its content in English
We have an asp.net c# web site in team foundation server. Our project includes
I have an ASP.NET web site dedicated to reporting on PBX extension stats. It
I have an ASP.NET web site. I keep getting the error below in VS
I've made an iPhone application which replicates the web site. We're using Website Payment
I'm using ASP.NET Sitemaps with a custom Role Provider to generate a site Menu

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.