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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)