Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UNKNOWN; byte offset: #UNKNOWN #2321

Open
muzi939375821 opened this issue Apr 22, 2024 · 2 comments
Open

UNKNOWN; byte offset: #UNKNOWN #2321

muzi939375821 opened this issue Apr 22, 2024 · 2 comments

Comments

@muzi939375821
Copy link

com.fasterxmljackson,databind,JsonMappingExc
eption: Numeric value (5499906080) out of
range ofint (-2147483648-2147483647)at
[Source: UNKNOWN; byte offset: #UNKNOWN]
(through reference chain:
com.github.dockerjava.api.command.InspectCor
tainerResponse["SizeRootFs"])

@johnflavin-fw
Copy link

Seems that the SizeRootFs field in the docker API is a 64 bit integer (see moby/moby types.go)

SizeRootFs int64 `json:",omitempty"`

It is represented in docker-java by an Integer:

    @JsonProperty("SizeRootFs")
    private Integer sizeRootFs;

This is only capable of holding 32-bit values, i.e. between -2147483648 and 2147483647. Should be a Long.

@muzi939375821
Copy link
Author

muzi939375821 commented May 1, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants