You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/02/05 06:16:59 UTC

[GitHub] [iotdb] qiaojialin opened a new issue #2639: NullPointerException in endQuery

qiaojialin opened a new issue #2639:
URL: https://github.com/apache/iotdb/issues/2639


   May caused by:
   
   one thread closes the resultSet while another closes the session. Then two threads call endQuery() concurrently.
   
   ```
   2021-02-04 12:22:22,250 [pool-6-IoTDB-RPC-Client-thread-12] ERROR org.apache.iotdb.db.service.TSServiceImpl:1024 - IoTDB: Internal server error:  
   java.lang.NullPointerException: null
   	at org.apache.iotdb.db.query.control.QueryFileManager.removeUsedFilesForQuery(QueryFileManager.java:103)
   	at org.apache.iotdb.db.query.control.QueryResourceManager.endQuery(QueryResourceManager.java:209)
   	at org.apache.iotdb.db.service.TSServiceImpl.releaseQueryResource(TSServiceImpl.java:357)
   	at org.apache.iotdb.db.service.TSServiceImpl.fetchResults(TSServiceImpl.java:996)
   	at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$fetchResults.getResult(TSIService.java:2233)
   	at org.apache.iotdb.service.rpc.thrift.TSIService$Processor$fetchResults.getResult(TSIService.java:2213)
   	at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38)
   	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:38)
   	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:313)
   	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
   	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
   	at java.base/java.lang.Thread.run(Thread.java:830)
   ```


----------------------------------------------------------------
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.

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



[GitHub] [iotdb] qiaojialin closed issue #2639: NullPointerException in endQuery

Posted by GitBox <gi...@apache.org>.
qiaojialin closed issue #2639:
URL: https://github.com/apache/iotdb/issues/2639


   


----------------------------------------------------------------
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.

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