Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Thrown by the methods of the String class to indicate that an index is either negative, or greater than the size of the string itself. You are probably using the wrong index when accessing substring of the array.

  2. ,
    via GitHub by Omertron

    You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"

Solutions on the web

via Kuali JIRA by James Bennett, 2 years ago
LookupException: String index out of range: -30
via Kuali JIRA by James Bennett, 1 year ago
LookupException: String index out of range: -30
via Kuali JIRA by Ailish Byrne, 1 year ago
LookupException: Failed to locate a RemotableAttributeField for fieldName=displayType
java.lang.StringIndexOutOfBoundsException: String index out of range: -30	at java.lang.String.substring(String.java:1911)	at org.kuali.rice.core.framework.persistence.jdbc.sql.Criteria.fixWildcards(Criteria.java:248)	at org.kuali.rice.core.framework.persistence.jdbc.sql.Criteria.like(Criteria.java:205)	at org.kuali.rice.core.framework.persistence.jdbc.sql.SqlBuilder.addCriteria(SqlBuilder.java:140)	at org.kuali.rice.core.framework.persistence.jdbc.sql.SqlBuilder.createCriteria(SqlBuilder.java:81)	at org.kuali.rice.kew.impl.document.search.DocumentSearchGeneratorImpl.getDocumentIdSql(DocumentSearchGeneratorImpl.java:544)	at org.kuali.rice.kew.impl.document.search.DocumentSearchGeneratorImpl.generateSearchSql(DocumentSearchGeneratorImpl.java:440)	at org.kuali.rice.kew.docsearch.dao.impl.DocumentSearchDAOJdbcImpl$1.doInConnection(DocumentSearchDAOJdbcImpl.java:74)	at org.kuali.rice.kew.docsearch.dao.impl.DocumentSearchDAOJdbcImpl$1.doInConnection(DocumentSearchDAOJdbcImpl.java:63)	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:342)	at org.kuali.rice.kew.docsearch.dao.impl.DocumentSearchDAOJdbcImpl.findDocuments(DocumentSearchDAOJdbcImpl.java:63)	at org.kuali.rice.kew.docsearch.service.impl.DocumentSearchServiceImpl.lookupDocuments(DocumentSearchServiceImpl.java:201)	at sun.reflect.GeneratedMethodAccessor1037.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)	at com.sun.proxy.$Proxy173.lookupDocuments(Unknown Source)	at org.kuali.rice.kew.impl.document.search.DocumentSearchCriteriaBoLookupableHelperService.getSearchResultsHelper(DocumentSearchCriteriaBoLookupableHelperService.java:131)	at org.kuali.rice.kns.lookup.KualiLookupableHelperServiceImpl.getSearchResults(KualiLookupableHelperServiceImpl.java:61)	at org.kuali.rice.kns.lookup.AbstractLookupableHelperServiceImpl.performLookup(AbstractLookupableHelperServiceImpl.java:1104)	at org.kuali.rice.kew.impl.document.search.DocumentSearchCriteriaBoLookupableHelperService.performLookup(DocumentSearchCriteriaBoLookupableHelperService.java:307)	at org.kuali.rice.kns.lookup.KualiLookupableImpl.performLookup(KualiLookupableImpl.java:307)	at org.kuali.rice.kns.web.struts.action.KualiLookupAction.search(KualiLookupAction.java:209)	at sun.reflect.GeneratedMethodAccessor1035.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)	at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:171)	at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:129)	at org.kuali.rice.kns.web.struts.action.KualiLookupAction.execute(KualiLookupAction.java:159)	at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:496)	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)	at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:492)	at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:221)	at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:208)	at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:95)	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)	at org.kuali.rice.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:198)	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at edu.iu.uis.eden.web.IUUserAccessFilter.doFilter(IUUserAccessFilter.java:88)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78)	at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89)	at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77)	at edu.iu.uis.rice.web.IUUserLoginFilter.doFilter(IUUserLoginFilter.java:134)	at edu.iu.uis.rice.web.IUUserLoginFilter.doFilter(IUUserLoginFilter.java:74)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:327)	at edu.iu.uis.cas.filter.CASFilter.redirectOrForwardChain(CASFilter.java:455)	at edu.iu.uis.cas.filter.CASFilter.doFilterUnsynchronized(CASFilter.java:381)	at edu.iu.uis.cas.filter.CASFilter.doFilter(CASFilter.java:360)	at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:320)	at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:199)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:193)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at edu.iu.uis.rice.web.IUTransactionFilter.doFilter(IUTransactionFilter.java:58)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at edu.iu.uis.rice.web.WhitespaceFilter.doFilter(WhitespaceFilter.java:34)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at edu.iu.uis.rice.web.PortalPolicyFilter.doFilter(PortalPolicyFilter.java:30)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:219)	at org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:333)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193)	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:744)