I am getting the following error when trying to scan Esql code #147
Unanswered
tarekhammad1982
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I Am getting the following error when trying to scan Esql code
ERROR: Unable to analyse file: file:///C:/SourceCodeScan/esb-procure-to-pay-services-Develop@af9a8cdd2e8/InitiativeContractsInquiry/InitiativeContractsInquiry/InitiativeContractsInquiryRq.esql
java.lang.IllegalArgumentException: Overlapping symbol declaration and reference for symbol at Range[from [line=48, lineOffset=35] to [line=48, lineOffset=44]]
at org.sonar.api.utils.Preconditions.checkArgument(Preconditions.java:43)
at org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable$DefaultSymbol.newReference(DefaultSymbolTable.java:110)
at org.sonar.api.batch.sensor.symbol.internal.DefaultSymbolTable$DefaultSymbol.newReference(DefaultSymbolTable.java:104)
at com.exxeta.iss.sonar.esql.highlighter.HighlightSymbolTableBuilder.addReference(HighlightSymbolTableBuilder.java:58)
at com.exxeta.iss.sonar.esql.highlighter.HighlightSymbolTableBuilder.highlightSymbol(HighlightSymbolTableBuilder.java:51)
at com.exxeta.iss.sonar.esql.highlighter.HighlightSymbolTableBuilder.build(HighlightSymbolTableBuilder.java:39)
at com.exxeta.iss.sonar.esql.EsqlSensor.highlightSymbols(EsqlSensor.java:328)
at com.exxeta.iss.sonar.esql.EsqlSensor.scanFile(EsqlSensor.java:221)
while the line of code mentioned in the file is normal code for functions, which is
CREATE FUNCTION DecryptPassword(IN Encrypted CHAR)
RETURNS CHARACTER
LANGUAGE JAVA
EXTERNAL NAME "Password.decrypt";
Beta Was this translation helpful? Give feedback.
All reactions