Skip to content

[bug] ClickHouseRowBinaryProcessor.MappedFunctions#writeArray asArray strong turn indicates an error #1135

Closed

Description

@duhanmin
java.lang.ClassCastException: class [Ljava.lang.Integer; cannot be cast to class [I ([Ljava.lang.Integer; and [I are in module java.base of loader 'bootstrap')
	at com.clickhouse.client.data.ClickHouseRowBinaryProcessor$MappedFunctions.writeArray(ClickHouseRowBinaryProcessor.java:76)
	at com.clickhouse.client.data.ClickHouseRowBinaryProcessor$MappedFunctions.serialize(ClickHouseRowBinaryProcessor.java:491)
	at com.clickhouse.jdbc.internal.InputBasedPreparedStatement.addBatch(InputBasedPreparedStatement.java:333)

Activity

  1. zhicwu commented on Nov 25, 2022

    @zhicwu
    Contributor

    Hi @duhanmin, serialization was refactored in PR #1124 with breaking changes. Could you try nightly build at here and see if it will work for you case?

  2. added
    needs-info
    on Dec 13, 2022
  3. github-actions commented on Jan 8, 2025

    @github-actions

    This issue has been automatically marked as stale because it has not had activity in the last year. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!

  4. added
    data-types
    on Jan 10, 2025
  5. chernser commented on Nov 14, 2025

    @chernser
    Contributor

    Not enough information.
    Closing

  6. added
    jdbc
    legacy
    on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdata-typesjdbclegacyneeds-info

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions