Closed javierdiegof closed 3 years ago
I encounter the same error when running the BasicTableExample.java
with cloudsim
option. Equally, the driver says that the table does not exist, even though it was created earlier, and values where put and read from it.
Hi, Thanks for taking the time to debug the problem and post it here!
The version of the cloud simulator that is posted is quite old and we will be releasing a new one hopefully within a week that will fix this problem. There is no workaround short of ignoring the exception as the table will have been successfully dropped in this path. The issue does not exist in either the cloud service itself or the on-premise product.
Sorry for the confusion.
Regards, George
Hi George. Thanks for answering back, good to know. Will wait for the new version of the cloud simulator to be released then.
In case you haven't yet seen it there is a new cloud simulator version posted: https://www.oracle.com/downloads/cloud/nosql-cloud-sdk-downloads.html
Thanks, will have a look at it :)
Hi. Thanks again for your help.
Explanation
I'm trying to run the Quickstart snippet for the Cloud Simulator option and I'm encountering a problem. I'm creating a Maven Project and adding the
nosqldriver
dependency.I'm also creating the
Quickstart.java
file and running it as expressed in the code. The program successfully creates the table, puts the demo object and reads that same object, but the program breaks when executing thedrop table
statement.The stacktrace of the exception thrown is the following:
The code looks OK, so I'm not able to pinpoint the source of the problem. Any idea how to go about it?
Steps to reproduce the problem
I just created a new project on IntelliJ IDEA using Maven, set the Quickstart file as my main class and ran the code. I'm not adding the jar file to the classpath for executing since I'm using the Maven dependency. I'm using OpenJDK 16 on Oracle Linux 8, the code also fails in OpenJDK 11.
Are you able to reproduce the problem?
Thanks in advance 😊