#18636·iotdb

org.apache.iotdb.commons.exception.IoTDBException: java.lang.IndexOutOfBoundsException: 页中第 186 个位置和长度 -139 不合法,页中共 47 个位置

作者: shenjy24创建于 2026年9月15日更新于 2026年9月15日

2026-09-15 10:12:30,278 [pool-57-IoTDB-ClientRPC-Processor-8] WARN o.a.i.d.u.ErrorHandlingUtils:127 - Status code: 301, Query Statement: "SELECT time, patient_id, device_id, session_id, frame_id, package_sequence, battery, rssi, resp_rate, heart_rate, pulse_rate, spo2, temperature, error_code, systolic_pressure, diastolic_pressure, mean_pressure, nurse_call, nasal_resp_rate, flow, o2_content, co2_content, gas_flow FROM ( SELECT time, patient_id, device_id, session_id, frame_id, package_sequence, battery, rssi, resp_rate, heart_rate, pulse_rate, spo2, temperature, error_code, systolic_pressure, diastolic_pressure, mean_pressure, nurse_call, nasal_resp_rate, flow, o2_content, co2_content, gas_flow, ROW_NUMBER() OVER ( PARTITION BY date_bin(1800s, time) ORDER BY time ASC ) AS replay_row_num FROM vital_sign WHERE patient_id = 'da9a4ea1b3e64b3b9834f85baf15a1c9' AND time >= 1789351946499 AND time < 1789438346499 ) replay_source WHERE replay_row_num = 1 OR error_code > 0 ORDER BY time ASC". executeStatement failed because Invalid position 186 and length -139 in page with 47 positions org.apache.iotdb.commons.exception.IoTDBException: java.lang.IndexOutOfBoundsException: Invalid position 186 and length -139 in page with 47 positions at org.apache.iotdb.db.queryengine.plan.execution.QueryExecution.dealWithException(QueryExecution.java:479) at org.apache.iotdb.db.queryengine.plan.execution.QueryExecution.getResult(QueryExecution.java:452) at org.apache.iotdb.db.queryengine.plan.execution.QueryExecution.getByteBufferBatchResult(QueryExecution.java:498) at org.apache.iotdb.db.utils.QueryDataSetUtils.convertQueryResultByFetchSize(QueryDataSetUtils.java:619) at org.apache.iotdb.db.protocol.thrift.impl.ClientRPCServiceImpl.lambda$static$0(ClientRPCServiceImpl.java:284) at org.apache.iotdb.db.protocol.thrift.impl.ClientRPCServiceImpl.executeStatementInternal(ClientRPCServiceImpl.java:430) at org.apache.iotdb.db.protocol.thrift.impl.ClientRPCServiceImpl.executeStatementV2(ClientRPCServiceImpl.java:923) at org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatementV2.getResult(IClientRPCService.java:4164) at org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatementV2.getResult(IClientRPCService.java:4144) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38) at org.apache.iotdb.db.protocol.thrift.ProcessorWithMetrics.process(ProcessorWithMetrics.java:64) at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:248) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) …