fernandezpablo85/scribe-java — Issue #229: IndexOutOfBoundsException can be exist in Response.parseHeaders method
Author: cndoublehero
Created: 2012-02-28 14:53:19+00:00
State: open

the total exception is blow:
Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:571)
at java.util.ArrayList.get(ArrayList.java:349)
at org.scribe.model.Response.parseHeaders(Response.java:50)
at org.scribe.model.Response.(Response.java:29)
at org.scribe.model.Request.doSend(Request.java:110)
at org.scribe.model.Request.send(Request.java:62)

Please check the code.