[ 
https://issues.apache.org/jira/browse/IOTDB-1629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhong Wang reassigned IOTDB-1629:
---------------------------------

    Assignee: Zhong Wang

> 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
>            Assignee: Zhong Wang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.12.2
>
>
> 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:
> {code:java}
> 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])
> {code}
> The stack trace will be:
> {code:java}
> java.lang.NullPointerException: null
>      at 
> org.apache.iotdb.db.query.executor.FillQueryExecutor.execute(FillQueryExecutor.java:105)
> {code}
>  
> I will fix this issue.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to