The first one is under Util.getContributionsFromString:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.nightonke.githubwidget, PID: 12513
java.lang.NumberFormatException: For input string: "="
at java.lang.Integer.parseInt(Integer.java:608)
at java.lang.Integer.valueOf(Integer.java:794)
at com.nightonke.githubwidget.Util.getContributionsFromString(Util.java:128)
at com.nightonke.githubwidget.Util.get2DBitmap(Util.java:358)
at com.nightonke.githubwidget.ContributionsTask.onPostExecute(ContributionsTask.java:197)
at com.nightonke.githubwidget.ContributionsTask.onPostExecute(ContributionsTask.java:21)
Second one is under Util.getContributionsColumnNumber:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.nightonke.githubwidget, PID: 12149
java.lang.StringIndexOutOfBoundsException: String index out of range: -634
at java.lang.String.substring(String.java:1975)
at com.nightonke.githubwidget.Util.getContributionsColumnNumber(Util.java:92)
at com.nightonke.githubwidget.Util.get2DBitmap(Util.java:359)
at com.nightonke.githubwidget.ContributionsTask.onPostExecute(ContributionsTask.java:197)
at com.nightonke.githubwidget.ContributionsTask.onPostExecute(ContributionsTask.java:21)
I found 2 issues:
The first one is under
Util.getContributionsFromString
:Second one is under
Util.getContributionsColumnNumber
: