[ https://issues.apache.org/jira/browse/SUBMARINE-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Liu Xun resolved SUBMARINE-284. ------------------------------- Fix Version/s: (was: 0.3.0) 0.4.0 Resolution: Fixed Issue resolved by pull request 85 [https://github.com/apache/submarine/pull/85] > Method invocation `SqlSession#close` may produce NPE in workbench REST API > -------------------------------------------------------------------------- > > Key: SUBMARINE-284 > URL: https://issues.apache.org/jira/browse/SUBMARINE-284 > Project: Apache Submarine > Issue Type: Bug > Components: Submarine Workbench > Reporter: Wanqiang Ji > Assignee: Ryan Lo > Priority: Major > Labels: newbie++, pull-request-available > Fix For: 0.4.0 > > Time Spent: 20m > Remaining Estimate: 0h > > {code:java} > SqlSession sqlSession = null; > try { > ... > } catch (Exception e) { > ... > } finally { > sqlSession.close(); > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)