You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "changxue (Jira)" <ji...@apache.org> on 2023/07/17 02:59:00 UTC
[jira] [Commented] (IOTDB-5901) Load: load tsfile without data will throw NPE
[ https://issues.apache.org/jira/browse/IOTDB-5901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743604#comment-17743604 ]
changxue commented on IOTDB-5901:
---------------------------------
Verified at v1.1.2 rc1.
> Load: load tsfile without data will throw NPE
> ---------------------------------------------
>
> Key: IOTDB-5901
> URL: https://issues.apache.org/jira/browse/IOTDB-5901
> Project: Apache IoTDB
> Issue Type: Bug
> Reporter: yusicheng
> Assignee: yusicheng
> Priority: Major
>
> load a tsfile without data will throw NPE
> java.lang.NullPointerException: null
> at org.apache.iotdb.commons.partition.StorageExecutor.getDataNodeLocation(StorageExecutor.java:39)
> at org.apache.iotdb.db.mpp.plan.planner.plan.FragmentInstance.setExecutorAndHost(FragmentInstance.java:107)
> at org.apache.iotdb.db.mpp.plan.scheduler.load.LoadTsFileScheduler.loadLocally(LoadTsFileScheduler.java:319)
> at org.apache.iotdb.db.mpp.plan.scheduler.load.LoadTsFileScheduler.start(LoadTsFileScheduler.java:140)
> at org.apache.iotdb.db.mpp.plan.execution.QueryExecution.schedule(QueryExecution.java:305)
> at org.apache.iotdb.db.mpp.plan.execution.QueryExecution.start(QueryExecution.java:219)
> at org.apache.iotdb.db.mpp.plan.Coordinator.execute(Coordinator.java:161)
> at org.apache.iotdb.db.service.thrift.impl.ClientRPCServiceImpl.executeStatementInternal(ClientRPCServiceImpl.java:221)
> at org.apache.iotdb.db.service.thrift.impl.ClientRPCServiceImpl.executeStatementV2(ClientRPCServiceImpl.java:502)
> at org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatementV2.getResult(IClientRPCService.java:3689)
> at org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatementV2.getResult(IClientRPCService.java:3669)
> at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38)
> at org.apache.iotdb.db.service.thrift.ProcessorWithMetrics.process(ProcessorWithMetrics.java:64)
> at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:248)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:750)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)