Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11436

sqlline is not working on Java 9+

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.7.5
    • Component/s: None
    • Labels:

      Description

      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.apache.ignite.internal.util.GridUnsafe$2 (file:/var/lib/teamcity/data/work/ead1d0aeaa1f7813/i2test/var/suite-client/art-gg-pro/libs/ignite-core-2.7.2-p1.jar) to field java.nio.Buffer.address
      WARNING: Please consider reporting this to the maintainers of org.apache.ignite.internal.util.GridUnsafe$2
      WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
      WARNING: All illegal access operations will be denied in a future release
      java.lang.NoClassDefFoundError: Could not initialize class org.apache.ignite.internal.util.IgniteUtils
      	at org.apache.ignite.internal.IgnitionEx.<clinit>(IgnitionEx.java:209)
      	at org.apache.ignite.internal.jdbc2.JdbcConnection.loadConfiguration(JdbcConnection.java:323)
      	at org.apache.ignite.internal.jdbc2.JdbcConnection.getIgnite(JdbcConnection.java:295)
      	at org.apache.ignite.internal.jdbc2.JdbcConnection.<init>(JdbcConnection.java:229)
      	at org.apache.ignite.IgniteJdbcDriver.connect(IgniteJdbcDriver.java:437)
      	at sqlline.DatabaseConnection.connect(DatabaseConnection.java:156)
      	at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:204)
      	at sqlline.Commands.connect(Commands.java:1095)
      	at sqlline.Commands.connect(Commands.java:1001)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      	at sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:38)
      	at sqlline.SqlLine.dispatch(SqlLine.java:791)
      	at sqlline.SqlLine.initArgs(SqlLine.java:566)
      	at sqlline.SqlLine.begin(SqlLine.java:643)
      	at sqlline.SqlLine.start(SqlLine.java:373)
      	at sqlline.SqlLine.main(SqlLine.java:265)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                antkr Anton Kurbanov
                Reporter:
                antkr Anton Kurbanov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: