Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-847

JavaClient SDK 3.0.3 with JDK 11 throws error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • N1QL
    • Development
    • 1

    Description

      Issue - While executing a simple program with Java SDK 3.0.3 and JDK 11 the JVM throws an exception stating "Error occurred during initialization". Please refer the Exception_Screenshot.png.

      Analysis - This issue occurs because the JVM cannot find the module for core-io-2.0.4.jar. The cause of this exception is because the JVM cannot find the provider class for Hidden$NettyBlockHoundIntegration in the module. So within the core-io-2.0.4.jar there are service declarations (META-INF/services) which include reactor.blockhound.integration.BlockHoundIntegration as one of them. The service file here has to indicate the Provider class which is missing.

      Note  -  ** I have also included the sample project (CouchbaseClient.zip)which I used for this testing. FYI this is an eclipse project.

       

      Attachments

        1. Archive.zip
          15 kB
        2. CouchbaseClient.zip
          517 kB
        3. Exception_Screenshot.png
          Exception_Screenshot.png
          92 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            daschl Michael Nitschinger
            vijay.muthukrishna Vijay Krishna (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty