apache / apache/seatunnel

java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.util.ArrayList at org.apache.seatunnel.core.starter.utils.ConfigShadeUtils.processConfig(ConfigShadeUtils.java:143)

Open
#9,587 3 comments 0 reactions 0 assignees View on GitHub
needs-info
Dominant language
Java
Stars
9.7k
Forks
2.4k
Avg merge
3d 13h
Merged PRs (30d)
203

Description

https://github.com/apache/seatunnel/blob/cf6e28916dbb7bf4bc2cb143cf2a2e5a5f37e37c/seatunnel-core/seatunnel-core-starter/src/main/java/org/apache/seatunnel/core/starter/utils/ConfigShadeUtils.java#L143

java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.util.ArrayList
at org.apache.seatunnel.core.starter.utils.ConfigShadeUtils.processConfig(ConfigShadeUtils.java:143)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at seatunnel-core/seatunnel-core-starter/src/main/java/org/apache/seatunnel/core/starter/utils/ConfigShadeUtils.java:143 and inspect the config shape reaching processConfig. Reproduce the reported ClassCastException with the relevant configuration, then verify that processing completes without attempting the invalid cast.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.