changxue created IOTDB-5067: ------------------------------- Summary: [udf]create udf with bad uri failed with 305 null: NPE Key: IOTDB-5067 URL: https://issues.apache.org/jira/browse/IOTDB-5067 Project: Apache IoTDB Issue Type: Bug Affects Versions: 0.14.0-SNAPSHOT Reporter: changxue Assignee: Yuan Tian
[udf]create udf with bad uri failed with 305 null: NPE environment: 3C3D cluster , Nov.28th master expect: 1. not NPE 2. not error log reproduction: {code:sql} create function my_compare2 as "com.timecho.udf.upload.TestObjectRow" using uri "/data/nginx/upload-udf-test-0.14-SNAPSHOT.jar" {code} datanode log: {code:java} 2022-11-28 11:44:06,666 [pool-4-IoTDB-timedQuerySqlCount-1] INFO o.a.i.d.s.b.QueryFrequencyRecorder:44 - Query count in current 1 minute 1 2022-11-28 11:44:08,711 [pool-26-IoTDB-ClientRPC-Processor-4$20221128_034408_00069_3] ERROR o.a.i.d.m.p.e.c.ConfigExecution:132 - Failures happened during running ConfigExecution. java.lang.NullPointerException: null at org.apache.iotdb.db.mpp.plan.execution.config.executor.ClusterConfigTaskExecutor.createFunction(ClusterConfigTaskExecutor.java:310) at org.apache.iotdb.db.mpp.plan.execution.config.metadata.CreateFunctionTask.execute(CreateFunctionTask.java:40) at org.apache.iotdb.db.mpp.plan.execution.config.ConfigExecution.start(ConfigExecution.java:107) at org.apache.iotdb.db.mpp.plan.Coordinator.execute(Coordinator.java:150) at org.apache.iotdb.db.service.thrift.impl.ClientRPCServiceImpl.executeStatementInternal(ClientRPCServiceImpl.java:215) at org.apache.iotdb.db.service.thrift.impl.ClientRPCServiceImpl.executeStatementV2(ClientRPCServiceImpl.java:390) at org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatementV2.getResult(IClientRPCService.java:3453) at org.apache.iotdb.service.rpc.thrift.IClientRPCService$Processor$executeStatementV2.getResult(IClientRPCService.java:3433) 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:748) {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)