You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/08/30 17:24:52 UTC
[GitHub] [incubator-seatunnel] zhaomin1423 opened a new issue, #2570: [Bug] [ConsoleSinkWriter] java.lang.ClassCastException: [I cannot be cast to [Ljava.lang.Object
zhaomin1423 opened a new issue, #2570:
URL: https://github.com/apache/incubator-seatunnel/issues/2570
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
### What happened
java.lang.ClassCastException: [I cannot be cast to [Ljava.lang.Object
### SeaTunnel Version
2.1.3-SNAPSHOT
### SeaTunnel Config
```conf
none
```
### Running Command
```shell
run SeaTunnelApiExample
```
### Error Exception
```log
java.lang.ClassCastException: [I cannot be cast to [Ljava.lang.Object;
at org.apache.seatunnel.connectors.seatunnel.console.sink.ConsoleSinkWriter.fieldToString(ConsoleSinkWriter.java:63)
at org.apache.seatunnel.connectors.seatunnel.console.sink.ConsoleSinkWriter.write(ConsoleSinkWriter.java:49)
at org.apache.seatunnel.connectors.seatunnel.console.sink.ConsoleSinkWriter.write(ConsoleSinkWriter.java:31)
at org.apache.seatunnel.translation.spark.sink.SparkDataWriter.write(SparkDataWriter.java:58)
at org.apache.seatunnel.translation.spark.sink.SparkDataWriter.write(SparkDataWriter.java:37)
at org.apache.spark.sql.execution.datasources.v2.DataWritingSparkTask$$anonfun$run$3.apply(WriteToDataSourceV2Exec.scala:118)
at org.apache.spark.sql.execution.datasources.v2.DataWritingSparkTask$$anonfun$run$3.apply(WriteToDataSourceV2Exec.scala:116)
at org.apache.spark.util.Utils$.tryWithSafeFinallyAndFailureCallbacks(Utils.scala:1394)
at org.apache.spark.sql.execution.datasources.v2.DataWritingSparkTask$.run(WriteToDataSourceV2Exec.scala:146)
at org.apache.spark.sql.execution.datasources.v2.WriteToDataSourceV2Exec$$anonfun$doExecute$2.apply(WriteToDataSourceV2Exec.scala:67)
at org.apache.spark.sql.execution.datasources.v2.WriteToDataSourceV2Exec$$anonfun$doExecute$2.apply(WriteToDataSourceV2Exec.scala:66)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
```
### Flink or Spark Version
_No response_
### Java or Scala Version
_No response_
### Screenshots
<img width="1289" alt="image" src="https://user-images.githubusercontent.com/49054376/187503391-819516aa-0c4c-4a50-a8cb-cda0c1a858ee.png">
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-seatunnel] Hisoka-X closed issue #2570: [Bug] [ConsoleSinkWriter] java.lang.ClassCastException: [I cannot be cast to [Ljava.lang.Object
Posted by GitBox <gi...@apache.org>.
Hisoka-X closed issue #2570: [Bug] [ConsoleSinkWriter] java.lang.ClassCastException: [I cannot be cast to [Ljava.lang.Object
URL: https://github.com/apache/incubator-seatunnel/issues/2570
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-seatunnel] Hisoka-X commented on issue #2570: [Bug] [ConsoleSinkWriter] java.lang.ClassCastException: [I cannot be cast to [Ljava.lang.Object
Posted by GitBox <gi...@apache.org>.
Hisoka-X commented on issue #2570:
URL: https://github.com/apache/incubator-seatunnel/issues/2570#issuecomment-1254576884
Closed by #2545
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-seatunnel] laglangyue commented on issue #2570: [Bug] [ConsoleSinkWriter] java.lang.ClassCastException: [I cannot be cast to [Ljava.lang.Object
Posted by GitBox <gi...@apache.org>.
laglangyue commented on issue #2570:
URL: https://github.com/apache/incubator-seatunnel/issues/2570#issuecomment-1232997195
Please sync your forkļ¼this bug has be fixed in PR #2545,
and the PR has approval 10 hours ago.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org