[ https://issues.apache.org/jira/browse/FLINK-8851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
xuqianjin updated FLINK-8851: ----------------------------- Comment: was deleted (was: I verified in the 1.6 version that the same configuration file does have this bug, I will try to fix this bug.) > SQL Client fails if same file is used as default and env configuration > ---------------------------------------------------------------------- > > Key: FLINK-8851 > URL: https://issues.apache.org/jira/browse/FLINK-8851 > Project: Flink > Issue Type: Bug > Components: Table API & SQL > Affects Versions: 1.5.0 > Reporter: Fabian Hueske > Assignee: Timo Walther > Priority: Critical > Fix For: 1.5.5 > > > Specifying the same file as default and environment configuration yields the > following exception > {code:java} > Exception in thread "main" org.apache.flink.table.client.SqlClientException: > Unexpected exception. This is a bug. Please consider filing an issue. > at org.apache.flink.table.client.SqlClient.main(SqlClient.java:156) > Caused by: java.lang.UnsupportedOperationException > at java.util.AbstractMap.put(AbstractMap.java:209) > at java.util.AbstractMap.putAll(AbstractMap.java:281) > at > org.apache.flink.table.client.config.Environment.merge(Environment.java:107) > at > org.apache.flink.table.client.gateway.local.LocalExecutor.createEnvironment(LocalExecutor.java:461) > at > org.apache.flink.table.client.gateway.local.LocalExecutor.listTables(LocalExecutor.java:203) > at > org.apache.flink.table.client.cli.CliClient.callShowTables(CliClient.java:270) > at org.apache.flink.table.client.cli.CliClient.open(CliClient.java:198) > at org.apache.flink.table.client.SqlClient.start(SqlClient.java:97) > at org.apache.flink.table.client.SqlClient.main(SqlClient.java:146){code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)