You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Request AX attribute with count == 0
2. Get a ClassCastException
What is the expected output? What do you see instead?
It should return all values. Instead it crashes.
What version of the product are you using? On what operating system?
0.9.7
Please provide any additional information below.
From org.openid4java.message.ax.FetchResponse.createFetchResponse(FetchRequest,
Map):
Iterator values = ((List)value).iterator();
// only send up the the maximum requested number
int max = req.getCount(alias);
if (max == 0)
max = ((List)values).size(); // <-- this is the class cast exception
Last line should read:
max = ((List)value).size();
(value is a List, values is an Iterator).
Original issue reported on code.google.com by [email protected] on 15 Oct 2013 at 7:15
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 15 Oct 2013 at 7:15The text was updated successfully, but these errors were encountered: