SizeInBytes should be defined Long Type not Integer. #32064
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Bus
azure-sdk-for-java/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/administration/implementation/models/TopicDescription.java
Line 76 in 6253460
when call ServiceBusAdministrationClient.listTopics, it will throw exception. SizeInBytes is larger Integer.Max。 SizeInBytes should be defined Long Type。
com.fasterxml.jackson.databind.JsonMappingException: Numeric value (null) out of range of int
at [Source: (StringReader); line: 1, column: 54511] (through reference chain: com.azure.messaging.servicebus.administration.implementation.models.TopicDescriptionFeed["entry"]->java.util.ArrayList[23]->com.azure.messaging.servicebus.administration.implementation.models.TopicDescriptionEntry["content"]->com.azure.messaging.servicebus.administration.implementation.models.TopicDescriptionEntryContent["TopicDescription"]->com.azure.messaging.servicebus.administration.implementation.models.TopicDescription["SizeInBytes"])
The text was updated successfully, but these errors were encountered: