flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-7225) Cutoff exception message in StateDescriptor
Date Wed, 19 Jul 2017 10:32:00 GMT
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.

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);

This message was sent by Atlassian JIRA

View raw message