bossenti opened a new issue, #12473:
URL: https://github.com/apache/iotdb/issues/12473

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and 
found nothing similar.
   
   
   ### Version
   
   1.3.0 (Java API)
   
   ### Describe the bug and provide the minimal reproduce step
   
   Deleting a time series via the Java API yields to a NullPointerExecption.
   
   ```Java
   sessionPool.executeQueryStatement(DELETE timeseries root.*)
   ```
   leads to:
   
   ```text
   at org.apache.iotdb.rpc.IoTDBRpcDataSet.<init>(IoTDBRpcDataSet.java:104)
   at org.apache.iotdb.isession.SessionDataSet.<init>(SessionDataSet.java:121)
   at 
org.apache.iotdb.session.SessionConnection.executeQueryStatement(SessionConnection.java:399)
   at 
org.apache.iotdb.session.Session.executeStatementMayRedirect(Session.java:791)
   at org.apache.iotdb.session.Session.executeQueryStatement(Session.java:763)
   ```
   
   Nevertheless, the time series is deleted so the query is executed 
successfully but there seems to be an issue when creating the response object.
   
   ### What did you expect to see?
   
   Executing the query without an exception
   
   ### What did you see instead?
   
   The stack trace as shown above.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@iotdb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to