You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Youjun Yuan (Jira)" <ji...@apache.org> on 2025/04/28 08:42:00 UTC
[jira] [Created] (FLINK-37742) POJO type expected but was: GenericType when resume from savepoint
Youjun Yuan created FLINK-37742:
-----------------------------------
Summary: POJO type expected but was: GenericType when resume from savepoint
Key: FLINK-37742
URL: https://issues.apache.org/jira/browse/FLINK-37742
Project: Flink
Issue Type: Bug
Components: API / Type Serialization System
Affects Versions: 1.14.4
Reporter: Youjun Yuan
when resume from a savepoint, got below error:
*POJO type expected but was: GenericType<....MyPojoClass>*
*at org.apache.flink.api.common.typeinfo.Types.POJO(Types.java:284)*
but if start the job without resuming from savepoint, then everything went well. Also I ran a testCase, which does exactly what Type.POJO(MyPojoClass.class) does, it did returns a PojoTypeInfo, not a *GenericType*
--
This message was sent by Atlassian Jira
(v8.20.10#820010)