-
Notifications
You must be signed in to change notification settings - Fork 50
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] TodoException: NewObjectExpression #1004
Comments
@efwalter Thanks for logging the bug and notifying us.
If you could provide us with a mockup of how these classes/objects are set up and which ones are sObjects, our investigation can be sped up some more. Thank you! |
|
Any news? I'm facing a really similar problem in another project: Describe the bug: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: NewObjectExpression{properties={FirstChild=false, BeginLine=97, Type=KWD_ZDM_Output.Customer, DefiningType_CaseSafe=kwd_authorizeapp, LastChild=true, DefiningType=KWD_AuthorizeApp, EndLine=97, childIdx=1, BeginColumn=29}}: com.salesforce.graph.symbols.PathScopeVisitor.updateInvocableWithParametersVertex(PathScopeVisitor.java:1365);com.salesforce.graph.symbols.PathScopeVisitor.afterVisit(PathScopeVisitor.java:1326);com.salesforce.graph.symbols.InnerScope.afterVisit(InnerScope.java:62);com.salesforce.graph.symbols.DefaultSymbolProviderVertexVisitor.afterVisit(DefaultSymbolProviderVertexVisitor.java:784);com.salesforce.graph.vertex.NewObjectExpressionVertex.afterVisit(NewObjectExpressionVertex.java:52);com.salesforce.graph.ops.expander.ApexPathExpander.performAfterVisit(ApexPathExpander.java:577) The line 97 in the KWD_AuthorizeApp: kwJson.KnowWho.Customer = new KWD_ZDM_Output.Customer(); Both classes are DTOs |
@efwalter , sorry, no updates at this time. I understand your frustration, but unfortunately the team's bandwidth is currently extremely limited, and we're having to make some difficult choices about where to invest our time. We'll do our best to provide you an update in a timely manner, but we just can't make any promises right now. |
Marking this as a duplicate of #1497 |
Describe the bug
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: NewObjectExpression{properties={FirstChild=false, BeginLine=245, Type=KWLEG_Bills_Search.ElasticSearch, DefiningType_CaseSafe=kwleg_lwcmethods, LastChild=true, DefiningType=KWLEG_LWCMethods, EndLine=245, childIdx=1, BeginColumn=65}}: com.salesforce.graph.symbols.PathScopeVisitor.updateInvocableWithParametersVertex(PathScopeVisitor.java:1365);com.salesforce.graph.symbols.PathScopeVisitor.afterVisit(PathScopeVisitor.java:1326);com.salesforce.graph.symbols.InnerScope.afterVisit(InnerScope.java:62);com.salesforce.graph.symbols.DefaultSymbolProviderVertexVisitor.afterVisit(DefaultSymbolProviderVertexVisitor.java:784);com.salesforce.graph.vertex.NewObjectExpressionVertex.afterVisit(NewObjectExpressionVertex.java:52);com.salesforce.graph.ops.expander.ApexPathExpander.visit(ApexPathExpander.java:705)
Screenshots
Desktop (please complete the following information):
Additional context
The line which is throwing the error is just a wrapper object
"Workaround":
"Urgency":
The text was updated successfully, but these errors were encountered: