This article covers an Apex list view error. When users create a list view for the Dynamic Apex Classes section on the Apex class setup page, they may encounter the following error messages:
An error has occurred in the following section: [Exception, DisjunctionsNotSupportedException].
An error has occurred in the following section: [Exception, DisjunctionsNotSupportedException_desc].
This article explains how to fix the Apex Classes setup page error caused by a Dynamic Apex Classes list view filter that uses an unsupported OR (disjunction) condition, and how to remove that filter when the setup page itself can no longer be opened.
The Dynamic Apex Classes list view does not support filter logic that combines two criteria with OR. Once such a filter is saved, navigating to the Apex Classes setup page triggers the error and the page can no longer be accessed normally.
Since the Apex Classes setup page itself is inaccessible, the filter must be removed by editing the list view directly through a URL rather than through the standard navigation.
Query the ListView object to find the ID of the affected list view:
SELECT CreatedById, CreatedDate, DeveloperName, Id, Name, SobjectType FROM ListView WHERE CreatedDate = LAST_N_DAYS:1
This query returns list views created in the last day. Add additional filters (for example, on DeveloperName) to narrow the results if needed.
Navigate to the following URL, replacing listviewID with the ID found in Step 1:
/ui/list/FilterEditPage?id=listviewID
This opens the filter edit page for that specific list view without going through the Apex Classes setup page.
On the filter edit page, remove the OR-based filter criteria causing the error, then save the list view. The Apex Classes setup page should now load normally.
To find other Salesforce errors you can search in Help!
004137494

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.