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

[BUG] InternalExecutionError has been thrown when running sf scanner run dfa #1567

Open
ceterna-technical opened this issue Aug 9, 2024 · 1 comment
Labels
SFGE Issues related to the Salesforce Graph Engine

Comments

@ceterna-technical
Copy link

Have you tried to resolve this issue yourself first?

Yes

Bug Description

An InternalExecutionError error has been thrown during run sf scanner dfa.

Output / Logs

2024-08-09 14:14:07 INFO ThreadableRuleExecutor:117 - Future returned after 50 ms
2024-08-09 14:14:07 INFO ThreadableRuleExecutor:57 - Wait #6 finished, adding 0 new entries
2024-08-09 14:14:07 INFO ThreadableRuleExecutor:50 - Beginning wait #7
2024-08-09 14:14:07 e5878c53-da08-49bd-82af-dc7007795d9d WARN ApexPathExpanderUtil:233 - expand-Finished.
2024-08-09 14:14:07 e5878c53-da08-49bd-82af-dc7007795d9d WARN ApexPathExpanderUtil:233 - expand-Finished.
2024-08-09 14:14:07 e5878c53-da08-49bd-82af-dc7007795d9d WARN ApexPathExpanderUtil:233 - expand-Finished.
2024-08-09 14:14:07 e5878c53-da08-49bd-82af-dc7007795d9d WARN ApexPathExpanderUtil:233 - expand-Finished.
2024-08-09 14:14:07 b8357dbf-cc44-47d2-9209-46e7db6f9434 WARN ApexValueBuilder:444 - TODO: Choosing trueValue. ternaryVertex=TernaryExpression{properties={FirstChild=true, BeginLine=50, DefiningType_CaseSafe=aitoolmasterbuttonimpl, LastChild=true, DefiningType=AIToolMasterButtonImpl, EndLine=50, childIdx=0, BeginColumn=22}}, trueValue=VariableExpression{properties={FirstChild=false, BeginLine=51, DefiningType_CaseSafe=aitoolmasterbuttonimpl, LastChild=false, DefiningType=AIToolMasterButtonImpl, EndLine=51, Name_CaseSafe=name, childIdx=1, BeginColumn=36, Name=Name}}, falseValue=LiteralExpression{properties={FirstChild=false, BeginLine=52, DefiningType_CaseSafe=aitoolmasterbuttonimpl, LastChild=true, DefiningType=AIToolMasterButtonImpl, EndLine=52, Value=, childIdx=2, LiteralType=STRING, BeginColumn=15}}
2024-08-09 14:14:07 e5878c53-da08-49bd-82af-dc7007795d9d WARN ApexPathExpanderUtil:233 - expand-Finished.
2024-08-09 14:14:07 b8357dbf-cc44-47d2-9209-46e7db6f9434 WARN ApexValueBuilder:444 - TODO: Choosing trueValue. ternaryVertex=TernaryExpression{properties={FirstChild=true, BeginLine=44, DefiningType_CaseSafe=aitoolmasterbuttonimpl, LastChild=true, DefiningType=AIToolMasterButtonImpl, EndLine=44, childIdx=0, BeginColumn=22}}, trueValue=VariableExpression{properties={FirstChild=false, BeginLine=45, DefiningType_CaseSafe=aitoolmasterbuttonimpl, LastChild=false, DefiningType=AIToolMasterButtonImpl, EndLine=45, Name_CaseSafe=message_convert__c, childIdx=1, BeginColumn=36, Name=Message_Convert__c}}, falseValue=LiteralExpression{properties={FirstChild=false, BeginLine=46, DefiningType_CaseSafe=aitoolmasterbuttonimpl, LastChild=true, DefiningType=AIToolMasterButtonImpl, EndLine=46, Value=, childIdx=2, LiteralType=STRING, BeginColumn=15}}
2024-08-09 14:14:07 b8357dbf-cc44-47d2-9209-46e7db6f9434 ERROR ApexPathExpanderUtil:297 - Incomplete. Current ApexPathExpanders size=0
com.salesforce.exception.UnexpectedException: ArrayLoadExpression{properties={FirstChild=true, BeginLine=16, DefiningType_CaseSafe=aitoolmasterbuttonimpl, LastChild=false, DefiningType=AIToolMasterButtonImpl, EndLine=20, childIdx=0, BeginColumn=52}}
at com.salesforce.graph.symbols.PathScopeVisitor.afterVisit(PathScopeVisitor.java:761) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.symbols.DefaultSymbolProviderVertexVisitor.afterVisit(DefaultSymbolProviderVertexVisitor.java:737) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.vertex.ArrayLoadExpressionVertex.afterVisit(ArrayLoadExpressionVertex.java:58) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.performAfterVisit(ApexPathExpander.java:577) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:536) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:452) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.handleMethodCall(ApexPathExpander.java:676) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:532) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:452) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpanderUtil$ApexPathExpansionHandler.expand(ApexPathExpanderUtil.java:222) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpanderUtil$ApexPathExpansionHandler.expand(ApexPathExpanderUtil.java:160) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpanderUtil$ApexPathExpansionHandler._expand(ApexPathExpanderUtil.java:94) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpanderUtil.expand(ApexPathExpanderUtil.java:53) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.ApexPathUtil.getPaths(ApexPathUtil.java:201) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.ApexPathUtil.summarizeForwardPaths(ApexPathUtil.java:80) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.rules.PathBasedRuleRunner.getPathSummary(PathBasedRuleRunner.java:239) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.rules.PathBasedRuleRunner.runRules(PathBasedRuleRunner.java:80) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.rules.ThreadableRuleExecutor$CallableExecutor.runRules(ThreadableRuleExecutor.java:228) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.rules.ThreadableRuleExecutor$CallableExecutor.call(ThreadableRuleExecutor.java:165) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.rules.ThreadableRuleExecutor$CallableExecutor.call(ThreadableRuleExecutor.java:125) [sfge-1.0.1-pilot.jar:?]
at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1428) [?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:686) [?:?]
at java.util.concurrent.ForkJoinTask$AdaptedCallable.run(ForkJoinTask.java:1436) [?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) [?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?]
2024-08-09 14:14:07 b8357dbf-cc44-47d2-9209-46e7db6f9434 ERROR ApexPathExpanderUtil:98 - Incomplete. Current PathCollector size=0
com.salesforce.exception.UnexpectedException: ArrayLoadExpression{properties={FirstChild=true, BeginLine=16, DefiningType_CaseSafe=aitoolmasterbuttonimpl, LastChild=false, DefiningType=AIToolMasterButtonImpl, EndLine=20, childIdx=0, BeginColumn=52}}
at com.salesforce.graph.symbols.PathScopeVisitor.afterVisit(PathScopeVisitor.java:761) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.symbols.DefaultSymbolProviderVertexVisitor.afterVisit(DefaultSymbolProviderVertexVisitor.java:737) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.vertex.ArrayLoadExpressionVertex.afterVisit(ArrayLoadExpressionVertex.java:58) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.performAfterVisit(ApexPathExpander.java:577) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:536) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:452) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.handleMethodCall(ApexPathExpander.java:676) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:532) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:452) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpanderUtil$ApexPathExpansionHandler.expand(ApexPathExpanderUtil.java:222) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpanderUtil$ApexPathExpansionHandler.expand(ApexPathExpanderUtil.java:160) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpanderUtil$ApexPathExpansionHandler._expand(ApexPathExpanderUtil.java:94) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpanderUtil.expand(ApexPathExpanderUtil.java:53) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.ApexPathUtil.getPaths(ApexPathUtil.java:201) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.ApexPathUtil.summarizeForwardPaths(ApexPathUtil.java:80) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.rules.PathBasedRuleRunner.getPathSummary(PathBasedRuleRunner.java:239) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.rules.PathBasedRuleRunner.runRules(PathBasedRuleRunner.java:80) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.rules.ThreadableRuleExecutor$CallableExecutor.runRules(ThreadableRuleExecutor.java:228) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.rules.ThreadableRuleExecutor$CallableExecutor.call(ThreadableRuleExecutor.java:165) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.rules.ThreadableRuleExecutor$CallableExecutor.call(ThreadableRuleExecutor.java:125) [sfge-1.0.1-pilot.jar:?]
at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1428) [?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:686) [?:?]
at java.util.concurrent.ForkJoinTask$AdaptedCallable.run(ForkJoinTask.java:1436) [?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) [?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?]
2024-08-09 14:14:07 ERROR ThreadableRuleExecutor:206 - Internal Error executing rule. submission=RuleRunnerSubmission{pathEntry=Method{properties={FirstChild=false, BeginLine=72, DefiningType_CaseSafe=aichatcallout, LastChild=false, DefiningType=AIChatCallout, Constructor=false, EndLine=72, Name_CaseSafe=messageapi, childIdx=4, ReturnType=String, Name=messageApi, Arity=8, ReturnType_CaseSafe=string, BeginColumn=30}}, rules=[com.salesforce.rules.ApexFlsViolationRule@76121000, com.salesforce.rules.UseWithSharingOnDatabaseOperation@174b2721]}
com.salesforce.exception.UnexpectedException: ArrayLoadExpression{properties={FirstChild=true, BeginLine=16, DefiningType_CaseSafe=aitoolmasterbuttonimpl, LastChild=false, DefiningType=AIToolMasterButtonImpl, EndLine=20, childIdx=0, BeginColumn=52}}
at com.salesforce.graph.symbols.PathScopeVisitor.afterVisit(PathScopeVisitor.java:761) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.symbols.DefaultSymbolProviderVertexVisitor.afterVisit(DefaultSymbolProviderVertexVisitor.java:737) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.vertex.ArrayLoadExpressionVertex.afterVisit(ArrayLoadExpressionVertex.java:58) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.performAfterVisit(ApexPathExpander.java:577) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:536) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:452) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.handleMethodCall(ApexPathExpander.java:676) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:532) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:523) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:452) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpanderUtil$ApexPathExpansionHandler.expand(ApexPathExpanderUtil.java:222) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpanderUtil$ApexPathExpansionHandler.expand(ApexPathExpanderUtil.java:160) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpanderUtil$ApexPathExpansionHandler._expand(ApexPathExpanderUtil.java:94) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.expander.ApexPathExpanderUtil.expand(ApexPathExpanderUtil.java:53) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.ApexPathUtil.getPaths(ApexPathUtil.java:201) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.graph.ops.ApexPathUtil.summarizeForwardPaths(ApexPathUtil.java:80) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.rules.PathBasedRuleRunner.getPathSummary(PathBasedRuleRunner.java:239) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.rules.PathBasedRuleRunner.runRules(PathBasedRuleRunner.java:80) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.rules.ThreadableRuleExecutor$CallableExecutor.runRules(ThreadableRuleExecutor.java:228) ~[sfge-1.0.1-pilot.jar:?]
at com.salesforce.rules.ThreadableRuleExecutor$CallableExecutor.call(ThreadableRuleExecutor.java:165) [sfge-1.0.1-pilot.jar:?]
at com.salesforce.rules.ThreadableRuleExecutor$CallableExecutor.call(ThreadableRuleExecutor.java:125) [sfge-1.0.1-pilot.jar:?]
at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1428) [?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:686) [?:?]
at java.util.concurrent.ForkJoinTask$AdaptedCallable.run(ForkJoinTask.java:1436) [?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) [?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) [?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?]
2024-08-09 14:14:07 INFO ThreadableRuleExecutor:214 - Finished. method=AIChatCallout:messageApi:72
2024-08-09 14:14:07 INFO ThreadableRuleExecutor:117 - Future returned after 105 ms
2024-08-09 14:14:07 INFO ThreadableRuleExecutor:57 - Wait #7 finished, adding 0 new entries
2024-08-09 14:14:07 INFO ThreadableRuleExecutor:50 - Beginning wait #8
2024-08-09 14:14:07 e5878c53-da08-49bd-82af-dc7007795d9d WARN ApexPathExpanderUtil:233 - expand-Finished.
2024-08-09 14:14:07 e5878c53-da08-49bd-82af-dc7007795d9d WARN ApexValueBuilder:444 - TODO: Choosing trueValue. ternaryVertex=TernaryExpression{properties={FirstChild=true, BeginLine=9, DefiningType_CaseSafe=aichatutils, LastChild=true, DefiningType=AIChatUtils, EndLine=9, childIdx=0, BeginColumn=26}}, trueValue=ArrayLoadExpression{properties={FirstChild=false, BeginLine=9, DefiningType_CaseSafe=aichatutils, LastChild=false, DefiningType=AIChatUtils, EndLine=9, childIdx=1, BeginColumn=40}}, falseValue=LiteralExpression{properties={FirstChild=false, BeginLine=9, DefiningType_CaseSafe=aichatutils, LastChild=true, DefiningType=AIChatUtils, EndLine=9, Value=, childIdx=2, LiteralType=STRING, BeginColumn=51}}
2024-08-09 14:14:07 e5878c53-da08-49bd-82af-dc7007795d9d WARN ApexValueBuilder:757 - Mismatched status. result=ApexStringValue{ value=Optional.empty} ApexValue(ApexStringValue) {status=INDETERMINANT, declarationVertex=com.salesforce.graph.vertex.SyntheticTypedVertex@1cd9e415, valueVertex=null, resolvedValues={}, returnedFrom=null, invocableExpression=null, method=null}, this=ApexValueBuilder{status=INITIALIZED, positiveConstraints=[], negativeConstraints=[], returnedFrom=null, declarationVertex=null, valueVertex=ArrayLoadExpression{properties={FirstChild=false, BeginLine=9, DefiningType_CaseSafe=aichatutils, LastChild=false, DefiningType=AIChatUtils, EndLine=9, childIdx=1, BeginColumn=40}}, invocable=null, method=null, methodReturnType='String'}

Steps To Reproduce

Run the below command with sf scanner extension:
sf scanner run dfa --format=csv --outfile="./scanner/CodeAnalyzerDFA.csv" --target="./" --category="Security"

Expected Behavior

The result should show the code issue instead of the Internal Execution error.

Operating System

MacOS Sonoma version 14.5

Salesforce CLI Version

@salesforce/cli/2.50.6 darwin-arm64 node-v21.7.1

Code Analyzer Plugin (@salesforce/sfdx-scanner) Version

@salesforce/sfdx-scanner 4.3.0

Java Version

Java HotSpot(TM) 64-Bit Server VM (build 17.0.8+9-LTS-211, mixed mode, sharing)

Additional Context (Screenshots, Files, etc)

sfge.log

Workaround

No response

Urgency

Critical

@stephen-carter-at-sf stephen-carter-at-sf added the SFGE Issues related to the Salesforce Graph Engine label Aug 29, 2024
@jag-j
Copy link
Collaborator

jag-j commented Aug 29, 2024

@ceterna-technical: Thanks for reporting this error. Is it possible to share a code snippet that causes this? This closely resembles a known issue - #973 and I want to confirm if they are related. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SFGE Issues related to the Salesforce Graph Engine
Projects
None yet
Development

No branches or pull requests

3 participants