Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
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.