Java stored procedure scan fails

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.

Hi @Shreedhar_Dhanawade

Indeed it looks like we don’t support cases like your. Unfortunately it’s pretty a rare case and it’s unlikely that we will fix it in the near future.

Still thanks for bringing it here