Loading

Apex: Error 'DisjunctionsNotSupportedException' on the Apex Classes Setup Page After Creating a Dynamic List View

Fecha de publicación: Aug 18, 2026
Descripción

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].

Steps to Reproduce

  1. Open the Apex class setup page.
  2. Create a list view filter on the Dynamic Apex Classes section with 2 criteria joined by OR:
    1. Namespace Prefix not equal to 'X'
    2. Class Name equal to 'X'
  3. Save the list view filter — the error appears.
Solución

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.

Why This Happens

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.

How to Fix It

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.

Step 1: Find the List View ID

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.

Step 2: Edit the List View Filter Directly

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.

Step 3: Remove the Invalid Filter

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.

Recursos adicionales

To find other Salesforce errors you can search in Help! 

Número del artículo de conocimiento

004137494

 
Cargando
Salesforce Help | Article