Closed felipebz closed 1 year ago
Hi,
Thank you for reporting this bug. I was able to reproduce the issue using the latest version of the plugin.
I've fixed the issue and the early-access release with the fix is available at https://github.com/felipebz/zpa/releases/tag/early-access
Another thing I noticed is that the stacktrace of the error you provided indicates that you're probably also using an older version of the plugin, because it shows:
at org.sonar.plsqlopen.checks.ToCharInOrderByCheck.visitNode(ToCharInOrderByCheck.kt:55)
I get this exact same error on ZPA 2.4.0, released 3 years ago. On newer versions, it shows:
at org.sonar.plsqlopen.checks.ToCharInOrderByCheck.visitNode(ToCharInOrderByCheck.kt:54)
So I also recommend that you update to the latest version to ensure that you have access to the latest features and bug fixes.
Again, thanks for your help in identifying this issue. Let me know if you have any more questions or feedback!
Originally from https://community.sonarsource.com/t/pl-sql-zpa-plugin-fails-during-scanning-code-with-sql-analytic-functions/85363