aliyun / aliyun/alibabacloud-java-sdk

iot20180120 6.0.0 版本 com.aliyun.tea.TeaModel : [com.aliyun.iot20180120.models.PubResponseBody.messageId] There are some cast events happening. expect: java.lang.String, but: java.lang.Long, value: 1894186889322557440.

Open
#39 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
101
Forks
65
PR merge metrics
No merged PRs in 30d

Description

使用 物联网平台 的sdk

<dependency>
     <groupId>com.aliyun</groupId>
     <artifactId>iot20180120</artifactId>
     <version>6.0.0</version>
</dependency>

一直报这个错误
2025-02-25T08:45:21.386+08:00 INFO 1 --- [data-bridge] [rabbit-simple-18] com.aliyun.tea.TeaModel : [com.aliyun.iot20180120.models.PubResponseBody.messageId] There are some cast events happening. expect: java.lang.String, but: java.lang.Long, value: 1894186889322557440.

Image

Image

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the iot20180120 6.0.0 dependency and the TeaModel warning, then trace the PubResponseBody.messageId value and declared type. Reproduce the report using the supplied error details; done means the SDK no longer reports a String-versus-Long mismatch for this response.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.