Java stored procedure scan fails

plsql

(Shreedhar Dhanawade) #1

Hi Team,

I am facing issue while scanning Java stored procedure, below is the error message I get. The java stored procedure file has ‘/’ at end of the file and it unable build statement from it.

P.S. I have SQL licensed plugins.

ERROR: Error during SonarQube Scanner execution
org.sonar.duplications.DuplicationsException: Unable to build statement from token : '/'[247,0]
           at org.sonar.duplications.statement.StatementChunker.chunk(StatementChunker.java:50)

Platform:
SonarQube: 6.7.5
SonarQube Scanner: 3.0.3.778
SonarPLSQL: 3.2
SonarTSSQL: 1.2

Please let me know what I am missing or doing wrong.