Start a conversation

Solution Definition Editor (SDE) Shows No Solutions After Org Refresh (Apex Heap Size Too Large / NullPointerException)

Contents

Overview

After a Salesforce org refresh, CloudSense Solution Definition Editor (SDE) may stop displaying solutions for all users and appear unresponsive, often with no visible on-screen error.

In affected orgs, the browser console may show an Apex remoting error (heap size) during initial SDE load, and in some cases a NullPointerException if Solution Definitions reference schema records that were deleted. This behavior is addressed in Solution Management 36.14.16, which reduces initial-load footprint and adds null-safe handling for missing linked schemas.

Solution

Issue

After a Salesforce org refresh, CloudSense Solution Definition Editor does not show any solutions and appears to do nothing for all users.

How to recognize this issue

  • No solutions are visible in SDE, or nothing happens when opening SDE and attempting to open a solution.
  • No UI popup error appears, but the browser console shows an Apex remoting failure such as:
Visualforce Remoting Exception: Apex heap size too large: 6151213

If schema cleanup was attempted, you may additionally see:

NullPointerException

Cause

In orgs with a high volume of Solution Definitions and/or large linked JSON schema payloads, the SDE landing page load can exceed Salesforce Apex heap/CPU limits because it pulls too much data in the first transaction.

A second, related failure can be introduced by deleting schema records without also removing or correcting the Solution Definitions that reference them, which can lead to a NullPointerException during load.

Affected version(s)

  • Observed in Solution Management 36.14.3.

Fix / Resolution

1) Upgrade to the fixed package version

Upgrade the managed package to:

  • Solution Management 36.14.16 (or later)

This update changes the editor’s initial load so it no longer loads every Solution Definition schema in the first transaction and adds null-safe handling for Solution Definitions missing linked schema records.

2) Validate in a sandbox first (recommended)

  1. Upgrade Solution Management in a sandbox environment (for example, a full sandbox).
  2. Start a fresh browser session (new window/profile where possible).
  3. Open Solution Definition Editor.
  4. Confirm:
    • Solutions are visible again.
    • The editor loads expected sections (for example, solution components/enrichments as applicable in your org).
    • The browser console no longer shows Apex heap size errors for the SDE controller.

3) Roll out to production

After sandbox validation passes:

  1. Upgrade Solution Management to the same fixed version in production using your normal change process.
  2. Repeat the same validation steps.

Important guidance (to avoid making the issue worse)

  • Avoid deleting schema records in production as a workaround without first confirming whether associated Solution Definition records (and downstream customer data) reference them.
  • If cleanup is required for long-term hygiene, perform it in a sandbox first and validate impact carefully (Solution Definitions may be referenced by customer data and upgrades/migrations).

Verification checklist

  • SDE loads and solutions are visible.
  • Browser console no longer shows:
    • Visualforce Remoting Exception: Apex heap size too large: <number>
    • NullPointerException during SDE load
  • Multiple users can reproduce successful SDE access (not just a single admin).

Frequently Asked Questions

1. How do I know this is the same problem?

You see SDE not showing solutions / doing nothing after an org refresh, and the browser console includes:

Visualforce Remoting Exception: Apex heap size too large: <number>

If schema records were deleted, you may also see a NullPointerException during SDE load.

2. Which package version contains the fix?
The fix is in Solution Management 36.14.16 (or later).
Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments