You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Yuan Tian (Jira)" <ji...@apache.org> on 2023/01/30 06:30:00 UTC

[jira] [Commented] (IOTDB-5438) [Session] NullPointerException when close result set

    [ https://issues.apache.org/jira/browse/IOTDB-5438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17681902#comment-17681902 ] 

Yuan Tian commented on IOTDB-5438:
----------------------------------

caused by user's codes.

!image-2023-01-30-14-28-32-801.png!

they should null check for wrapper in line 165.

> [Session] NullPointerException when close result set
> ----------------------------------------------------
>
>                 Key: IOTDB-5438
>                 URL: https://issues.apache.org/jira/browse/IOTDB-5438
>             Project: Apache IoTDB
>          Issue Type: Bug
>            Reporter: Hongyin Zhang
>            Assignee: Yuan Tian
>            Priority: Major
>             Fix For: 0.13.3
>
>         Attachments: image-2023-01-30-14-28-32-801.png
>
>
> Exception msg:
>  
> java.lang.NullPointerException at org.apache.iotdb.session.pool.SessionPool.closeResultSet(SessionPool.java:476) at com.platform.domain.service.impl.IoTDBService.executeQuery(IoTDBService.java:196) at com.platform.domain.service.impl.IoTDBService.executeSQL(IoTDBService.java:75) at com.platform.action.system.IoTdbAction.execute(IoTdbAction.java:33) at com.platform.domain.fastexecute.FastActionManager.process(FastActionManager.java:87) at com.platform.domain.fastexecute.task.FastActionTask.run(FastActionTask.java:75) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)