IoTDB:插入记录时出现异常。 java.lang.ArrayIndexOutOfBoundsException
IoTDB:Exception occurred while inserting records. java.lang.ArrayIndexOutOfBoundsException
写入IoTDB 0.12.0时出现异常
2021-09-29 15:28:56,656 [pool-8-IoTDB-RPC-Client-14] WARN o.a.i.d.s.TSServiceImpl:1995 - [INTERNAL_SERVER_ERROR] Exception occurred while inserting records.
java.lang.ArrayIndexOutOfBoundsException: 98
at org.apache.iotdb.db.qp.physical.crud.InsertRowPlan.fillValues(InsertRowPlan.java:411)
at org.apache.iotdb.db.qp.physical.crud.InsertRowPlan.<init>(InsertRowPlan.java:105)
at org.apache.iotdb.db.service.TSServiceImpl.insertRecords(TSServiceImpl.java:1347)
at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$insertRecords.getResult(TSIService.java:2753)
at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$insertRecords.getResult(TSIService.java:2733)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
我应该如何解决这个问题?
此异常可能是客户端版本和服务端版本不一致导致的
如果您正在使用 IoTDB Session API,您应该在 pom.xml 中检查 IoTDB-Session 的版本(如果您的代码在 Java 中并由 maven 管理)和如有必要,请更改它。
写入IoTDB 0.12.0时出现异常
2021-09-29 15:28:56,656 [pool-8-IoTDB-RPC-Client-14] WARN o.a.i.d.s.TSServiceImpl:1995 - [INTERNAL_SERVER_ERROR] Exception occurred while inserting records.
java.lang.ArrayIndexOutOfBoundsException: 98
at org.apache.iotdb.db.qp.physical.crud.InsertRowPlan.fillValues(InsertRowPlan.java:411)
at org.apache.iotdb.db.qp.physical.crud.InsertRowPlan.<init>(InsertRowPlan.java:105)
at org.apache.iotdb.db.service.TSServiceImpl.insertRecords(TSServiceImpl.java:1347)
at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$insertRecords.getResult(TSIService.java:2753)
at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$insertRecords.getResult(TSIService.java:2733)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
我应该如何解决这个问题?
此异常可能是客户端版本和服务端版本不一致导致的
如果您正在使用 IoTDB Session API,您应该在 pom.xml 中检查 IoTDB-Session 的版本(如果您的代码在 Java 中并由 maven 管理)和如有必要,请更改它。