PageIds are longs, not ints -> avoid unhandled NumberFormatException

Description

I m trying to create a very simple vote on our production without success.
I m getting this error when I m trying to vote:

2019-10-21 15:27:36,849 ERROR [http-nio-18209-exec-11] [common.error.jersey.ThrowableExceptionMapper] toResponse Uncaught exception thrown by REST service: For input string: "2215808667"
– referer: https://<hostname>.com/team/display/~xxxxxxxxxxx/Test+Multivote+macro | url: /team/rest/multivote/1.0/page/2215808667/table/XXXXXXXXX/item/2019-10-21T15:27:06.768-4 | traceId: 4d5ae18b90dab7dd | userName: xxxxxxxxxx
java.lang.NumberFormatException: For input string: "2215808667"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:583)
at java.lang.Integer.parseInt(Integer.java:615)
at com.tngtech.confluence.plugin.MultivoteRestService.voteInterested(MultivoteRestService.java:50)
at sun.reflect.GeneratedMethodAccessor4638.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

Could you please help me?

Environment

None

Status

Assignee

Unassigned

Reporter

Simon Tost

Labels

None

Affects versions

Priority

Major
Configure