Skip to content

Instantly share code, notes, and snippets.

@thesunlover
Created October 3, 2023 15:01
Show Gist options
  • Save thesunlover/6cf1e5bab1acc98b8c1777fcc9cab031 to your computer and use it in GitHub Desktop.
Save thesunlover/6cf1e5bab1acc98b8c1777fcc9cab031 to your computer and use it in GitHub Desktop.
InternalExecutionError
Problem Severity Source File Source Line Source Column Source Type Source Method Sink File Sink Line Sink Column Rule Description URL Category Engine
1 3 <hidden>\force-app\main\default\classes\AdapterController.cls 79 26 AdapterController createRecord InternalExecutionError Graph Engine identified your source and sink, but you must manually verify that you have a sanitizer in this path. Then, add an engine directive to skip the path. Next, create a Github issue for the Code Analyzer team that includes the error and stack trace. After we fix this issue, check the Code Analyzer release notes for more info. Error and stacktrace: NoSuchElementException: No value present: java.base/java.util.Optional.get(Optional.java:148);com.salesforce.rules.fls.apex.operations.ObjectBasedCheckUtil.isCrudCheckExpected(ObjectBasedCheckUtil.java:67);com.salesforce.rules.fls.apex.operations.SchemaBasedValidationAnalyzer.isCheckLevelValid(SchemaBasedValidationAnalyzer.java:199);com.salesforce.rules.fls.apex.operations.SchemaBasedValidationAnalyzer.convert(SchemaBasedValidationAnalyzer.java:174);com.salesforce.rules.fls.apex.operations.SchemaBasedValidationAnalyzer.checkForValidation(SchemaBasedValidationAnalyzer.java:77);com.salesforce.rules.fls.apex.operations.FlsValidationCentral.checkSchemaBasedFlsValidation(FlsValidationCentral.java:69) https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/rules/#ApexFlsViolationRule InternalExecutionError sfge
2 3 <hidden>\force-app\main\default\classes\AdapterController.cls 69 26 AdapterController updateRecord InternalExecutionError Graph Engine identified your source and sink, but you must manually verify that you have a sanitizer in this path. Then, add an engine directive to skip the path. Next, create a Github issue for the Code Analyzer team that includes the error and stack trace. After we fix this issue, check the Code Analyzer release notes for more info. Error and stacktrace: NoSuchElementException: No value present: java.base/java.util.Optional.get(Optional.java:148);com.salesforce.rules.fls.apex.operations.ObjectBasedCheckUtil.isCrudCheckExpected(ObjectBasedCheckUtil.java:67);com.salesforce.rules.fls.apex.operations.SchemaBasedValidationAnalyzer.isCheckLevelValid(SchemaBasedValidationAnalyzer.java:199);com.salesforce.rules.fls.apex.operations.SchemaBasedValidationAnalyzer.convert(SchemaBasedValidationAnalyzer.java:174);com.salesforce.rules.fls.apex.operations.SchemaBasedValidationAnalyzer.checkForValidation(SchemaBasedValidationAnalyzer.java:77);com.salesforce.rules.fls.apex.operations.FlsValidationCentral.checkSchemaBasedFlsValidation(FlsValidationCentral.java:69) https://forcedotcom.github.io/sfdx-scanner/en/v3.x/salesforce-graph-engine/rules/#ApexFlsViolationRule InternalExecutionError sfge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment