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

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

Chesnay Schepler created FLINK-7225:
---------------------------------------

             Summary: 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


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)