Amrit Verma created OLTU-196: -------------------------------- Summary: Type cast error in JWTClaimsSetParser Key: OLTU-196 URL: https://issues.apache.org/jira/browse/OLTU-196 Project: Apache Oltu Issue Type: Bug Components: JWT Reporter: Amrit Verma
Generic type has been type casted to Integer \[1\] and then longValue has been called. When the value is already of type Long, casting to Integer throws exception. \[1\]: https://github.com/apache/oltu/blob/trunk/oauth-2.0/jwt/src/main/java/org/apache/oltu/oauth2/jwt/io/JWTClaimsSetParser.java#L37 Similar is the case in line 39 -- This message was sent by Atlassian JIRA (v6.3.4#6332)