java.lang.ArrayIndexOutOfBoundsException: -1

Kuali JIRA | Mindi Balmer | 5 years ago
  1. 0

    Got a Stack Trace Error when trying to add a task to a Work Area. I was trying to add a task to an already existing Work Area. ******************Stack Trace-Only shown when not in production***************** java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.get(ArrayList.java:324) at org.kuali.hr.time.workarea.web.WorkAreaMaintenanceDocumentRule.processCustomAddCollectionLineBusinessRules(WorkAreaMaintenanceDocumentRule.java:161) at org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase.processAddCollectionLineBusinessRules(MaintenanceDocumentRuleBase.java:1515) at org.kuali.rice.kns.rule.event.KualiAddLineEvent.invokeRuleMethod(KualiAddLineEvent.java:40) at org.kuali.rice.kns.service.impl.KualiRuleServiceImpl.applyRules(KualiRuleServiceImpl.java:86) at org.kuali.rice.kns.web.struts.action.KualiMaintenanceDocumentAction.addLine(KualiMaintenanceDocumentAction.java:690) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:172) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:123) at org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.execute(KualiDocumentActionBase.java:158) at org.kuali.rice.kns.web.struts.action.KualiMaintenanceDocumentAction.execute(KualiMaintenanceDocumentAction.java:97) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:503) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:499) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:101) at org.kuali.hr.time.web.TKRequestProcessor.process(TKRequestProcessor.java:34) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) ...

    Kuali JIRA | 5 years ago | Mindi Balmer
    java.lang.ArrayIndexOutOfBoundsException: -1
  2. 0

    Got a Stack Trace Error when trying to add a task to a Work Area. I was trying to add a task to an already existing Work Area. ******************Stack Trace-Only shown when not in production***************** java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.get(ArrayList.java:324) at org.kuali.hr.time.workarea.web.WorkAreaMaintenanceDocumentRule.processCustomAddCollectionLineBusinessRules(WorkAreaMaintenanceDocumentRule.java:161) at org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase.processAddCollectionLineBusinessRules(MaintenanceDocumentRuleBase.java:1515) at org.kuali.rice.kns.rule.event.KualiAddLineEvent.invokeRuleMethod(KualiAddLineEvent.java:40) at org.kuali.rice.kns.service.impl.KualiRuleServiceImpl.applyRules(KualiRuleServiceImpl.java:86) at org.kuali.rice.kns.web.struts.action.KualiMaintenanceDocumentAction.addLine(KualiMaintenanceDocumentAction.java:690) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:172) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:123) at org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.execute(KualiDocumentActionBase.java:158) at org.kuali.rice.kns.web.struts.action.KualiMaintenanceDocumentAction.execute(KualiMaintenanceDocumentAction.java:97) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:503) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:499) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:101) at org.kuali.hr.time.web.TKRequestProcessor.process(TKRequestProcessor.java:34) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) ...

    Kuali JIRA | 5 years ago | Mindi Balmer
    java.lang.ArrayIndexOutOfBoundsException: -1
  3. 0

    Json Formatter in 1.1.3 giving Array Out of Bounds exception

    GitHub | 4 years ago | joshughes
    java.lang.ArrayIndexOutOfBoundsException: -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Named argument invocation fails when no arguments

    GitHub | 5 years ago | FroMage
    java.lang.ArrayIndexOutOfBoundsException: -1

  1. bmacedo 2 times, last 17 hours ago
  2. filpgame 9 times, last 4 days ago
  3. rube 24 times, last 2 months ago
  4. ajinkya_w 40 times, last 2 months ago
  5. maxxi 4 times, last 2 months ago
13 more registered users
16 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ArrayIndexOutOfBoundsException

    -1

    at java.util.ArrayList.get()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.get(ArrayList.java:324)
    1 frame
  3. org.kuali.hr
    WorkAreaMaintenanceDocumentRule.processCustomAddCollectionLineBusinessRules
    1. org.kuali.hr.time.workarea.web.WorkAreaMaintenanceDocumentRule.processCustomAddCollectionLineBusinessRules(WorkAreaMaintenanceDocumentRule.java:161)
    1 frame
  4. org.kuali.rice
    KualiMaintenanceDocumentAction.addLine
    1. org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase.processAddCollectionLineBusinessRules(MaintenanceDocumentRuleBase.java:1515)
    2. org.kuali.rice.kns.rule.event.KualiAddLineEvent.invokeRuleMethod(KualiAddLineEvent.java:40)
    3. org.kuali.rice.kns.service.impl.KualiRuleServiceImpl.applyRules(KualiRuleServiceImpl.java:86)
    4. org.kuali.rice.kns.web.struts.action.KualiMaintenanceDocumentAction.addLine(KualiMaintenanceDocumentAction.java:690)
    4 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  6. struts
    DispatchAction.dispatchMethod
    1. org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
    1 frame
  7. org.kuali.rice
    KualiRequestProcessor$1.doInTransaction
    1. org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:172)
    2. org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:123)
    3. org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase.execute(KualiDocumentActionBase.java:158)
    4. org.kuali.rice.kns.web.struts.action.KualiMaintenanceDocumentAction.execute(KualiMaintenanceDocumentAction.java:97)
    5. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:503)
    5 frames
  8. Spring Tx
    TransactionTemplate.execute
    1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
    1 frame
  9. org.kuali.rice
    KualiRequestProcessor.processActionPerform
    1. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:499)
    1 frame
  10. struts
    RequestProcessor.process
    1. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    1 frame
  11. org.kuali.rice
    KualiRequestProcessor.process
    1. org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:101)
    1 frame
  12. org.kuali.hr
    TKRequestProcessor.process
    1. org.kuali.hr.time.web.TKRequestProcessor.process(TKRequestProcessor.java:34)
    1 frame
  13. struts
    ActionServlet.doPost
    1. org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
    2. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
    2 frames
  14. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2 frames