You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "zhangmeng (Jira)" <ji...@apache.org> on 2020/09/24 12:23:00 UTC
[jira] [Updated] (FLINK-19396) Fix properties type cast error
[ https://issues.apache.org/jira/browse/FLINK-19396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhangmeng updated FLINK-19396:
------------------------------
Affects Version/s: 1.10.0
1.10.1
1.11.0
1.10.2
> Fix properties type cast error
> ------------------------------
>
> Key: FLINK-19396
> URL: https://issues.apache.org/jira/browse/FLINK-19396
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Kafka
> Affects Versions: 1.10.0, 1.10.1, 1.11.0, 1.10.2, 1.11.2
> Reporter: zhangmeng
> Priority: Major
>
> Properties extends Hashtable<Object,Object> ,The key and value of the Properties class support object objects. If the user's value is a boolean type, this code "(String) k, (String) v" will occur an error.
> such as : java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
--
This message was sent by Atlassian Jira
(v8.3.4#803005)