You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Mukul Gupta (Jira)" <ji...@apache.org> on 2026/02/10 12:48:00 UTC
[jira] [Commented] (FLINK-37742) POJO type expected but was: GenericType when resume from savepoint
[ https://issues.apache.org/jira/browse/FLINK-37742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18057569#comment-18057569 ]
Mukul Gupta commented on FLINK-37742:
-------------------------------------
i am not able to reproduce this issue can you provide your job and setup details, if possible can you share pojo for which you are getting this issue. I tried on both Flink1.14.4 and Flink1.20.1.
> 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
> Priority: Major
>
> 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)