java.lang.IndexOutOfBoundsException

Index: -1, Size: 3

Samebug tips1

Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range. Applications can subclass this class to indicate similar exceptions.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web4088

  • via Unknown by emorozovs,
  • via Unknown by emorozovs,
  • Stack trace

    • java.lang.IndexOutOfBoundsException: Index: -1, Size: 3 at java.util.ArrayList.get(ArrayList.java:352) at org.zkoss.zul.ListModelList.getElementAt(ListModelList.java:150) at org.zkoss.zul.Listbox.service(Listbox.java:3423) at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:708) at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1204) at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:601) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:483) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    slashslash
    2 times, last one
    SteVio1989SteVio1989
    19 times, last one
    Unknown UserUnknown User
    312 times, last one
    rocdayrocday
    Once,
    227 more bugmates