You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2017/07/23 19:33:02 UTC

[jira] [Resolved] (FLINK-7225) Cutoff exception message in StateDescriptor

     [ https://issues.apache.org/jira/browse/FLINK-7225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Ewen resolved FLINK-7225.
---------------------------------
      Resolution: Fixed
        Assignee: Stephan Ewen
    Release Note: 
Fixed in
  - 1.4.0 via 3c756085375a003c7fbf8d477924f5b17efcb115
  - 1.3.2 via 618d544491664e9fb0e67d6e95596895cdc9d56d

> Cutoff exception message in StateDescriptor
> -------------------------------------------
>
>                 Key: FLINK-7225
>                 URL: https://issues.apache.org/jira/browse/FLINK-7225
>             Project: Flink
>          Issue Type: Bug
>          Components: State Backends, Checkpointing
>    Affects Versions: 1.4.0
>            Reporter: Chesnay Schepler
>            Assignee: Stephan Ewen
>             Fix For: 1.4.0, 1.3.2
>
>
> When the type extraction fails in the StateDescriptor constructor an exception is thrown, but the message is cutoff and doesn't contain any advice to remedy the situation.
> {code}
> try {
> 			this.typeInfo = TypeExtractor.createTypeInfo(type);
> 		} catch (Exception e) {
> 			throw new RuntimeException("Cannot create full type information based on the given class. If the type has generics, please", e);
> 		}
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)