Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InternalExecutionError #1686

Closed
udayvadagamdhruv opened this issue Dec 2, 2024 · 1 comment
Closed

InternalExecutionError #1686

udayvadagamdhruv opened this issue Dec 2, 2024 · 1 comment

Comments

@udayvadagamdhruv
Copy link

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: TodoException: What should I do if ApexValue from StandardCondition is not an ApexBooleanValue, ApexCustomValue, ApexForLoopValue, or ApexSingleValue: ApexValue=ApexValue(ApexSoqlValue) {status=INITIALIZED, declarationVertex=null, valueVertex=SoqlExpression{properties={FirstChild=true, BeginLine=1928, DefiningType_CaseSafe=approvaljobtaskext, LastChild=false, Query=[select id,name,Schedule_Roles__c,Email__c from Approval_Job_Task__c where id=:Taskid WITH SECURITY_ENFORCED], DefiningType=ApprovalJobTaskExt, EndLine=1928, childIdx=0, BeginColumn=46}}, resolvedValues={}, returnedFrom=null, invocableExpression=null, method=null}, parent=Unknown{conditionType=UNKNOWN, properties={FirstChild=true, BeginLine=1937, DefiningType_CaseSafe=approvaljobtaskext, LastChild=false, DefiningType=ApprovalJobTaskExt, EndLine=1937, childIdx=0, BeginColumn=48}}, vertex=MethodCallExpressionVertex{fullMethodName=Jtask.Schedule_Roles__c.contains, referenceVertex=LazyVertex{result=ReferenceExpression{properties={FirstChild=true, Names=[Jtask, Schedule_Roles__c], BeginLine=1937, DefiningType_CaseSafe=approvaljobtaskext, LastChild=false, DefiningType=ApprovalJobTaskExt, EndLine=1937, Name_CaseSafe=jtask.schedule_roles__c, childIdx=0, BeginColumn=24, ReferenceType=METHOD, Name=Jtask.Schedule_Roles__c}}}, chainedNames=[Jtask, Schedule_Roles__c], properties={FirstChild=true, FullMethodName=Jtask.Schedule_Roles__c.contains, BeginLine=1937, FullMethodName_CaseSafe=jtask.schedule_roles__c.contains, DefiningType_CaseSafe=approvaljobtaskext, LastChild=true, DefiningType=ApprovalJobTaskExt, EndLine=1937, MethodName_CaseSafe=contains, childIdx=0, BeginColumn=48, MethodName=contains}}: com.salesforce.rules.fls.apex.operations.SchemaBasedValidationAnalyzer.getDerivedApexValue(SchemaBasedValidationAnalyzer.java:89);com.salesforce.rules.fls.apex.operations.SchemaBasedValidationAnalyzer.getDerivedApexValue(SchemaBasedValidationAnalyzer.java:117);com.salesforce.rules.fls.apex.operations.SchemaBasedValidationAnalyzer.checkForValidation(SchemaBasedValidationAnalyzer.java:74);com.salesforce.rules.fls.apex.operations.FlsValidationCentral.checkSchemaBasedFlsValidation(FlsValidationCentral.java:71);com.salesforce.rules.fls.apex.AbstractFlsVisitor.afterVisit(AbstractFlsVisitor.java:80);com.salesforce.graph.vertex.StandardConditionVertex$Positive.afterVisit(StandardConditionVertex.java:108)

@stephen-carter-at-sf
Copy link
Collaborator

Duplicate of #1497

@stephen-carter-at-sf stephen-carter-at-sf marked this as a duplicate of #1497 Dec 2, 2024
@stephen-carter-at-sf stephen-carter-at-sf closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants