Skip to content

Instantly share code, notes, and snippets.

@brianmfear
Last active May 1, 2024 06:21
Show Gist options
  • Save brianmfear/87b31d3f032569d68ed6ce61af924878 to your computer and use it in GitHub Desktop.
Save brianmfear/87b31d3f032569d68ed6ce61af924878 to your computer and use it in GitHub Desktop.
Can anyone replicate this error?
45.0 APEX_CODE,FINEST;APEX_PROFILING,FINEST;CALLOUT,FINEST;DB,FINEST;NBA,INFO;SYSTEM,FINEST;VALIDATION,FINEST;VISUALFORCE,FINEST;WAVE,INFO;WORKFLOW,FINEST
Execute Anonymous: class kkkkkkk {
Execute Anonymous: void method1() { }
Execute Anonymous: }
Execute Anonymous: new kkkkkkk().method1();
00:25:56.1 (1554571)|USER_INFO|[EXTERNAL]|00550000000wTdS|<redacted>|(GMT-04:00) Eastern Daylight Time (America/Indiana/Indianapolis)|GMT-04:00
00:25:56.1 (1597258)|EXECUTION_STARTED
00:25:56.1 (1605985)|CODE_UNIT_STARTED|[EXTERNAL]|execute_anonymous_apex
00:25:56.1 (1913868)|HEAP_ALLOCATE|[72]|Bytes:3
00:25:56.1 (1984554)|HEAP_ALLOCATE|[77]|Bytes:152
00:25:56.1 (2000247)|HEAP_ALLOCATE|[342]|Bytes:408
00:25:56.1 (2014198)|HEAP_ALLOCATE|[355]|Bytes:408
00:25:56.1 (2026467)|HEAP_ALLOCATE|[467]|Bytes:48
00:25:56.1 (2054024)|HEAP_ALLOCATE|[139]|Bytes:6
00:25:56.1 (2086571)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:1
00:25:56.1 (2212903)|STATEMENT_EXECUTE|[1]
00:25:56.1 (2216401)|STATEMENT_EXECUTE|[4]
00:25:56.1 (2409057)|HEAP_ALLOCATE|[4]|Bytes:1
00:25:56.1 (2429325)|HEAP_ALLOCATE|[4]|Bytes:4
00:25:56.1 (2502108)|HEAP_ALLOCATE|[50]|Bytes:5
00:25:56.1 (2525634)|HEAP_ALLOCATE|[56]|Bytes:5
00:25:56.1 (2534098)|HEAP_ALLOCATE|[64]|Bytes:7
00:25:56.1 (2553841)|SYSTEM_MODE_ENTER|false
00:25:56.1 (2591621)|HEAP_ALLOCATE|[4]|Bytes:5
00:25:56.1 (2658887)|SYSTEM_CONSTRUCTOR_ENTRY|[4]|<init>()
00:25:56.1 (2713100)|VARIABLE_SCOPE_BEGIN|[1]|this|kkkkkkk|true|false
00:25:56.1 (2803297)|VARIABLE_ASSIGNMENT|[1]|this|{}|0x76f2b670
00:25:56.1 (2816117)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:6
00:25:56.1 (2867041)|STATEMENT_EXECUTE|[1]
00:25:56.1 (2893455)|SYSTEM_CONSTRUCTOR_EXIT|[4]|<init>()
00:25:56.1 (2914902)|SYSTEM_MODE_EXIT|false
00:25:56.1 (2941285)|SYSTEM_MODE_ENTER|false
00:25:56.1 (2966365)|HEAP_ALLOCATE|[4]|Bytes:5
00:25:56.1 (3194911)|SYSTEM_MODE_EXIT|false
00:25:56.1 (3258463)|FATAL_ERROR|Internal Salesforce.com Error
00:25:56.3 (3283342)|CUMULATIVE_LIMIT_USAGE
00:25:56.3 (3283342)|LIMIT_USAGE_FOR_NS|(default)|
Number of SOQL queries: 0 out of 100
Number of query rows: 0 out of 50000
Number of SOSL queries: 0 out of 20
Number of DML statements: 0 out of 150
Number of DML rows: 0 out of 10000
Maximum CPU time: 0 out of 10000
Maximum heap size: 0 out of 6000000
Number of callouts: 0 out of 100
Number of Email Invocations: 0 out of 10
Number of future calls: 0 out of 50
Number of queueable jobs added to the queue: 0 out of 50
Number of Mobile Apex push calls: 0 out of 10
00:25:56.3 (3283342)|TOTAL_EMAIL_RECIPIENTS_QUEUED|0
00:25:56.3 (3283342)|CUMULATIVE_LIMIT_USAGE_END
00:25:56.1 (3475447)|CODE_UNIT_FINISHED|execute_anonymous_apex
00:25:56.1 (4393343)|EXECUTION_FINISHED
00:25:56.17 (17372899)|CUMULATIVE_PROFILING_BEGIN
00:25:56.17 (17372899)|CUMULATIVE_PROFILING|No profiling information for SOQL operations
00:25:56.17 (17372899)|CUMULATIVE_PROFILING|No profiling information for SOSL operations
00:25:56.17 (17372899)|CUMULATIVE_PROFILING|No profiling information for DML operations
00:25:56.17 (17372899)|CUMULATIVE_PROFILING|method invocations|
External entry point: public static void execute(): executed 1 time in 1 ms
AnonymousBlock: line 4, column 1: global kkkkkkk(): executed 1 time in 1 ms
00:25:56.17 (17372899)|CUMULATIVE_PROFILING_END
public class kkkkkkk {
public void method1() {
}
}
new kkkkkkk().method1();
Any class name with 1-7 characters results in Internal Server Error. Any class name with 8 or more characters work correctly. Only occurs in one org. All other orgs I've tested so far run the code correctly with any class name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment