java.lang.RuntimeException

Index: 0, Size: 0

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.


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

Solutions on the web3856

  • via Kuali JIRA by Bryan Hutchinson, 11 months ago
    Index: 0, Size: 0
  • java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  • via Stack Overflow by Unknown author, 1 year ago
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  • Stack trace

    • java.lang.RuntimeException: Index: 0, Size: 0 at org.kuali.kfs.kns.web.struts.form.pojo.PojoFormBase.populateForProperty(PojoFormBase.java:242) at org.kuali.kfs.kns.web.struts.form.pojo.PojoFormBase.populate(PojoFormBase.java:175) at org.kuali.kfs.kns.web.struts.form.KualiForm.populate(KualiForm.java:119) at org.kuali.kfs.kns.web.struts.form.KualiDocumentFormBase.populate(KualiDocumentFormBase.java:184) at org.kuali.kfs.kns.web.struts.form.KualiTransactionalDocumentFormBase.populate(KualiTransactionalDocumentFormBase.java:62) at org.kuali.kfs.sys.web.struts.KualiAccountingDocumentFormBase.populate(KualiAccountingDocumentFormBase.java:91) at org.kuali.kfs.fp.document.web.struts.DisbursementVoucherForm.populate(DisbursementVoucherForm.java:312) at org.kuali.kfs.kns.web.struts.action.KualiRequestProcessor.processPopulate(KualiRequestProcessor.java:289) at org.kuali.kfs.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:210) at org.kuali.kfs.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:204) at org.kuali.kfs.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:91) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.kuali.kfs.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:197) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kuali.kfs.sys.web.filter.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:48) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kuali.kfs.krad.web.filter.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.kfs.krad.web.filter.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kuali.kfs.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.kfs.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kuali.kfs.kns.web.filter.ParameterFilter.doFilter(ParameterFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kuali.kfs.sys.web.filter.DevelopmentLoginFilter.doFilter(DevelopmentLoginFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:203) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:181) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kuali.kfs.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:165) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at org.kuali.kfs.krad.document.DocumentBase.getNote(DocumentBase.java:619) at sun.reflect.GeneratedMethodAccessor805.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2155) at org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(PropertyUtilsBean.java:483) at org.kuali.kfs.kns.web.struts.form.pojo.PojoPropertyUtilsBean.getIndexedProperty(PojoPropertyUtilsBean.java:262) at org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(PropertyUtilsBean.java:408) at org.kuali.kfs.kns.web.struts.form.pojo.PojoPropertyUtilsBean.setNestedProperty(PojoPropertyUtilsBean.java:367) at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtils.java:828) at org.kuali.kfs.krad.util.ObjectUtils.setObjectProperty(ObjectUtils.java:471) at org.kuali.kfs.kns.web.struts.form.pojo.PojoFormBase.populateForProperty(PojoFormBase.java:215) ... 68 more

    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

    6 times, 3 days ago
    9 times, 3 days ago
    2 times, 6 days ago
    19 times, 1 week ago
    312 times, 1 week ago
    239 more bugmates