You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am trying to execute the benchmark for TVStore and I am facing multiple issues:
The most important one is the following exception:
Exception in thread "0-appender" java.lang.NullPointerException: Cannot invoke "org.apache.iotdb.db.service.IoTDB.insertBatch(org.apache.iotdb.db.qp.physical.crud.BatchInsertPlan)" because "this.tvstore" is null
It seems that this variable is never initialized:
private IoTDB tvstore;
public TVStore(String directory) {
super(directory);
}
I have made the changes below:
public TVStore(String directory) {
super(directory);
this.tvstore = new IoTDB();
}
Which lead to the following error:
Exception in thread "0-appender" java.lang.NoClassDefFoundError: Could not initialize class org.apache.iotdb.db.engine.StorageEngine
Can you please provide guidance on how to execute the benchmark for TVStore?
The text was updated successfully, but these errors were encountered:
Hi, this was my mistake, thanks for pointing it out. I have fixed this bug and hope it will help you. The key point is that the initialization of TVStore should be:
public TVStore(String directory) {
super(directory);
this.tvstore = IoTDB.getInstance();
this.tvstore.active();
}
Hello, I am trying to execute the benchmark for TVStore and I am facing multiple issues:
The most important one is the following exception:
Exception in thread "0-appender" java.lang.NullPointerException: Cannot invoke "org.apache.iotdb.db.service.IoTDB.insertBatch(org.apache.iotdb.db.qp.physical.crud.BatchInsertPlan)" because "this.tvstore" is null
It seems that this variable is never initialized:
I have made the changes below:
Which lead to the following error:
Exception in thread "0-appender" java.lang.NoClassDefFoundError: Could not initialize class org.apache.iotdb.db.engine.StorageEngine
Can you please provide guidance on how to execute the benchmark for TVStore?
The text was updated successfully, but these errors were encountered: