[
https://issues.apache.org/jira/browse/FLINK-16924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17073317#comment-17073317
]
Jingsong Lee commented on FLINK-16924:
--------------------------------------
CC: [~zjffdu] [~godfreyhe]
Agree with [~twalthr] and [~ykt836], but we need update document and add a good
check. Now the exception message is strange, there is no clue whether it is a
bug of Flink itself.
> TableEnvironment#sqlUpdate throw NPE when called in async thread
> ----------------------------------------------------------------
>
> Key: FLINK-16924
> URL: https://issues.apache.org/jira/browse/FLINK-16924
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Affects Versions: 1.11.0
> Reporter: Terry Wang
> Priority: Major
> Attachments: 7871C046-4D67-49C8-AC8A-A4030A7981CC.png
>
>
> Now in the latest code of flink master branch, we encountered unexpected npe
> exception as the picture like attachments.
> It seems that I can reproduce this problem by creating tableEnv and doing
> some operations in main thread and then calling sqlQuery or sqlUpdate in
> another async thread.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)