You create an array reference of
TextView
s with no entries:
TextView[] textView = new TextView[0];
and you then try to refer to 114 of them, even though they do not exist.
for(int i=0;i<=113;i++) {
textView[i].setLayoutParams(new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,
You need to create the 114 TextViews in the array before you can refer to them.
TextView[] textView = new TextView[114];