Foros de discusión
Index out of bound exception
sasmita swain, modificado hace 11 años.
Index out of bound exception
Regular Member Mensajes: 183 Fecha de incorporación: 24/02/12 Mensajes recientes
Hi
I am working on LR6.1..i have two radio buttons..when i am clicking on one radio button it should save in database and it is retreive ata time..
my code is:
<aui:input inlineLabel="right" name="gender" type="radio" value="Male" label="basicinfo.male" checked="${basicInformations.get(0).getGender().equalsIgnoreCase('Male')?true:false}" />
</td>
<td>
<aui:input inlineLabel="right" name="gender" type="radio" value="Female" label="basicinfo.female" checked="${basicInformations.get(0).getGender().equalsIgnoreCase('Female')?true:false}" />
</td>
i am getting error like
05:35:59,681 ERROR [render_portlet_jsp:154] javax.el.ELException: java.lang.IndexOutOfBoundsException: Index: 0
for non user it is showing temporarily unavailable
Thanks
Sasmita
I am working on LR6.1..i have two radio buttons..when i am clicking on one radio button it should save in database and it is retreive ata time..
my code is:
<aui:input inlineLabel="right" name="gender" type="radio" value="Male" label="basicinfo.male" checked="${basicInformations.get(0).getGender().equalsIgnoreCase('Male')?true:false}" />
</td>
<td>
<aui:input inlineLabel="right" name="gender" type="radio" value="Female" label="basicinfo.female" checked="${basicInformations.get(0).getGender().equalsIgnoreCase('Female')?true:false}" />
</td>
i am getting error like
05:35:59,681 ERROR [render_portlet_jsp:154] javax.el.ELException: java.lang.IndexOutOfBoundsException: Index: 0
for non user it is showing temporarily unavailable
Thanks
Sasmita
Sampsa Sohlman, modificado hace 11 años.
RE: Index out of bound exception
Regular Member Mensajes: 230 Fecha de incorporación: 27/09/07 Mensajes recientes
Hi Sasmita,
At your code basicInformations does not any have values inside. That's why you are getting that kind of error. It is empty array. Try to debug from there.
At your code basicInformations does not any have values inside. That's why you are getting that kind of error. It is empty array. Try to debug from there.