Uploaded image for project: 'SonarPLSQL'
  1. SonarPLSQL
  2. SONARPLSQL-660

Can't read database dictionary with ojdbc6 driver

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5
    • Component/s: None
    • Labels:
      None

      Description

      16:39:51.916 ERROR: Error during SonarQube Scanner execution
      java.lang.IllegalStateException: SQLException occurred while loading the Data Dictionary.
      	at com.sonar.plsql.plugin.D.B(Unknown Source)
      	at com.sonar.plsql.plugin.D.<init>(Unknown Source)
      	at com.sonar.plsql.plugin.J.execute(Unknown Source)
      	at org.sonar.scanner.sensor.SensorWrapper.analyse(SensorWrapper.java:53)
      ...
      Caused by: java.sql.SQLException: Echec de conversion dans la représentation interne
      	at oracle.jdbc.driver.CharCommonAccessor.getBoolean(CharCommonAccessor.java:185)
      	at oracle.jdbc.driver.T4CVarcharAccessor.getBoolean(T4CVarcharAccessor.java:794)
      	at oracle.jdbc.driver.OracleResultSetImpl.getBoolean(OracleResultSetImpl.java:640)
      	at oracle.jdbc.driver.OracleResultSet.getBoolean(OracleResultSet.java:390)
      

      Investigation: "resultSet.getBoolean" that works with ojdbc7 and ojdbc8, does not works with ojdbc6.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              quentin.jaquier Quentin Jaquier
              Reporter:
              alban.auzeill Alban Auzeill
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: