Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

__zone_symbol__xhrScheduled error in IE/Edge #1072

Closed
DevInstinct opened this issue Apr 9, 2018 · 6 comments · Fixed by #1074
Closed

__zone_symbol__xhrScheduled error in IE/Edge #1072

DevInstinct opened this issue Apr 9, 2018 · 6 comments · Fixed by #1074

Comments

@DevInstinct
Copy link

I'm using an external library (oidc-client) and I am getting this error in IE/Edge, but otherwise it works fine in Chrome/Firefox.

I'd like to understand what could be the cause of this zone.js error. The app is an Angular 5 app.

SCRIPT5007: Unable to get property '__zone_symbol__xhrScheduled' of undefined or null reference
zone.js (2959,1)
ERROR TypeError: Unable to get property 'current' of undefined or null reference
SCRIPT5007: Unable to get property 'stackTraceLimit' of undefined or null referenceeval code (1466) (119,9)
SCRIPT5007: Unable to get property '__zone_symbol__xhrScheduled' of undefined or null referencezone.js (2959,1)
ERROR TypeError: Unable to get property 'current' of undefined or null reference
SCRIPT5007: Unable to get property 'stackTraceLimit' of undefined or null referenceeval code (1466) (119,9)
SCRIPT5007: Unable to get property '__zone_symbol__xhrScheduled' of undefined or null referencezone.js (2959,1)
ERROR TypeError: Unable to get property 'current' of undefined or null reference
SCRIPT5007: Unable to get property 'stackTraceLimit' of undefined or null referenceeval code (1466) (119,9)
SCRIPT5007: Unable to get property '__zone_symbol__xhrScheduled' of undefined or null referencezone.js (2959,1)
ERROR TypeError: Unable to get property 'current' of undefined or null reference
SCRIPT5007: Unable to get property 'stackTraceLimit' of undefined or null referenceeval code (1466) (119,9)
SCRIPT5007: Unable to get property '__zone_symbol__xhrScheduled' of undefined or null referencezone.js (2959,1)
SCRIPT5007: Object expectedzone.js (192,1)

Thanks for any help.

@DevInstinct DevInstinct changed the title __zone_symbol__xhrScheduled in IE/Edge __zone_symbol__xhrScheduled error in IE/Edge Apr 9, 2018
@JiaLiPassion
Copy link
Collaborator

@DevInstinct , please post a reproduce repo, thanks.

JiaLiPassion added a commit to JiaLiPassion/zone.js that referenced this issue Apr 10, 2018
@DevInstinct
Copy link
Author

DevInstinct commented Apr 10, 2018

Fix(xhr) seems to get rid of one error, but I continue to get these errors, which were also in the original trace:

image

@JiaLiPassion
Copy link
Collaborator

@DevInstinct, I still need a reproduce repo, maybe you use some 3rd party lib to make XMLHttpRequest changed.

@DevInstinct
Copy link
Author

DevInstinct commented Apr 11, 2018

Got the error using oidc-client and the silent renew feature in an Angular 5 app, in IE and Edge only.

Worked around it by getting rid of Angular for the silent renew callback; stopped getting the errors even without the fix. Thanks.

@nchetbani
Copy link

I get the same error as @DevInstinct when using oidc-client and the silent renew feature in an Angular 6 app. The problem occur when loading this page

<head>
    <title></title>
</head>
<body>
<script src="oidc-client.min.js"></script>
<script>
    new UserManager().signinSilentCallback().then(data => { })
      .catch((err) => {
            console.log('error');
            console.log(err);
        });
</script>
</body>

@DevInstinct
Copy link
Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants