My Oracle Support Banner

After APEX Upgrade Getting Error:"Uncaught (in Promise) TypErros: $(...). SwitchClass Is Not A Function" (Doc ID 2885105.1)

Last updated on JULY 22, 2022

Applies to:

APEX Application Development - Version NA and later
Oracle Application Express (APEX) - Version 22.1 and later
Information in this document applies to any platform.

Symptoms

On : APEX Application Builder 22.1

When attempting to run an application that used to work fine in previous version
the following error occurs in the Browser Console.

ERROR
-----------------------
Uncaught (in promise) TypErros: $(...). switchClass is not a function


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Ran the application
2. Turn On the Browser Console to see the Error in a specific page


Changes

 APEX was upgraded to latest version available (22.1)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.