Open kapoor-ritesh opened 6 months ago
Thanks for reporting this error. Can you explain when this error happened and give us clear instructions on how to reproduce this error?
@felix-seifert, thanks for having a look.
I believe this issue would be fixed by #180. I am successfully using a fork based on that commit personally to work around this issue.
Thanks for reporting this error. Can you explain when this error happened and give us clear instructions on how to reproduce this error?
You cannot force this to happen because it depends on an ID being too big to fit into an Integer which is sheer bad luck. The problem is obvious though: as time progresses Github needs more and more unique IDs and they have reached the point where an Integer is not enough to hold them. The solution is equally obvious: turn all ID's into Long instead of Integer.
Just for completeness: I just got a similar stacktrace in version 0.2.17 (redacted):
Caused by: com.fasterxml.jackson.core.exc.InputCoercionException: Numeric value (2151410763) out of range of int (-2147483648 - 2147483647)
at [Source: (String)"{"url":"https://api.github.com/repos/####/pulls/217","id":2151410763,"number":217,"state":"open","locked":false"[truncated 23720 chars]; line: 1, column: 90]
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportInputCoercion(ParserMinimalBase.java:638)
at com.fasterxml.jackson.core.base.ParserMinimalBase.reportOverflowInt(ParserMinimalBase.java:607)
at com.fasterxml.jackson.core.base.ParserBase.convertNumberToInt(ParserBase.java:1036)
at com.fasterxml.jackson.core.base.ParserBase._parseIntValue(ParserBase.java:960)
So #180 solves this for Issues but as can be seen, the problem also holds for pull requests.