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

[jira] [Created] (IOTDB-1990) Fix NPE when calling IReaderByTimestamp with empty data

Eric Pai created IOTDB-1990:
-------------------------------

             Summary: Fix NPE when calling IReaderByTimestamp with empty data
                 Key: IOTDB-1990
                 URL: https://issues.apache.org/jira/browse/IOTDB-1990
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Engine
            Reporter: Eric Pai
             Fix For: master branch, 0.12.3


The interface IReaderByTimestamp.getValuesInTimestamps() will return null if the data is empty. Some usages are lacking of null check, which may cause NPE.



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