You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Zhong Wang (Jira)" <ji...@apache.org> on 2021/09/06 07:08:00 UTC

[jira] [Created] (IOTDB-1629) NPE when using value fill in cluster mode

Zhong Wang created IOTDB-1629:
---------------------------------

             Summary: NPE when using value fill in cluster mode
                 Key: IOTDB-1629
                 URL: https://issues.apache.org/jira/browse/IOTDB-1629
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Cluster
            Reporter: Zhong Wang


In cluster mode, a valid raw data query will cause an NPE as long as it contains a value fill function.

 

To reproduce this issue:

```

create timeseries root.ln.wf01.wt01.temperature with datatype=FLOAT,encoding=RLE

insert into root.ln.wf01.wt01(timestamp,temperature) values(1609430400000, 34.1)

select timestamp from root.ln.wf01.wt01 where time=2021-01-01T00:00:00.000+08:00 fill(float[1.0])

```

The stack trace will be:

java.lang.NullPointerException: null
    at org.apache.iotdb.db.query.executor.FillQueryExecutor.execute(FillQueryExecutor.java:105)

 

I will fix this issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)