osClient.searchMoviesOnImdb("one flew over the cuckoo's nest");
The parsing of the MovieInfo-response fails:
java.lang.NumberFormatException: For input string: "1989193839205"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:68)
at java.base/java.lang.Integer.parseInt(Integer.java:658)
at java.base/java.lang.Integer.parseInt(Integer.java:776)
at com.github.wtekiela.opensub4j.impl.ResponseParser$FieldBindingTask.parse(ResponseParser.java:217)
at com.github.wtekiela.opensub4j.impl.ResponseParser$FieldBindingTask.executePrimitiveFieldBinding(ResponseParser.java:143)
at com.github.wtekiela.opensub4j.impl.ResponseParser$FieldBindingTask.run(ResponseParser.java:131)
at com.github.wtekiela.opensub4j.impl.ResponseParser.bind(ResponseParser.java:85)
at com.github.wtekiela.opensub4j.impl.ResponseParser$FieldBindingTask.executeListFieldBinding(ResponseParser.java:158)
at com.github.wtekiela.opensub4j.impl.ResponseParser$FieldBindingTask.run(ResponseParser.java:133)
at com.github.wtekiela.opensub4j.impl.ResponseParser.bind(ResponseParser.java:74)
at com.github.wtekiela.opensub4j.impl.AbstractListOperation.execute(AbstractListOperation.java:25)
at com.github.wtekiela.opensub4j.impl.OpenSubtitlesClientImpl.searchMoviesOnImdb(OpenSubtitlesClientImpl.java:187)
I assume that MovieInfo#id field should be long instead of int? Couldn't find any xmlrpc-api documents in opensubtitles to confirm this.
Seen in release
0.4.1
When I execute a query like this:
The parsing of the
MovieInfo
-response fails:I assume that
MovieInfo#id
field should belong
instead ofint
? Couldn't find any xmlrpc-api documents in opensubtitles to confirm this.