java.lang.ArrayIndexOutOfBoundsException: 0

Atlassian JIRA | Jeff Turner | 9 years ago
  1. 0

    Given a CSV file containing: type,summary,customfield+ Bug, "Hooray", TestValue If this is fed into the CSV mapping wizard, it breaks on step 2 of 5 (ConfigureCsvMapping.jspa) with a big uninformative error in the browser: HTTP Status 404 - Could not execute action [ConfigureCsvMapping]:null<p><small><small><pre>webwork.action.ResultException at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:55) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:52) at webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:125) at webwork.action.factory.ActionFactory.getAction(ActionFactory.java:63) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:120) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:209) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73) at ... and a more informative error in the logs: 2007-06-12 11:21:22,926 http-8080-Processor23 WARN [webwork.util.BeanUtil] Could not set parameter "field.customfield+" with value "[Ljava.lang.String;@14005e1" on class class com.atlassian.jira.web.action.util.csv.ConfigureCsvMapping:java.lang.ArrayIndexOutOfBoundsException: 0 java.lang.ArrayIndexOutOfBoundsException: 0 at webwork.util.Query.<init>(Query.java:67) at webwork.util.Query.getQuery(Query.java:34) at webwork.util.Query.<init>(Query.java:136) at webwork.util.Query.getQuery(Query.java:34) at webwork.util.BeanUtil.setProperty(BeanUtil.java:239) at webwork.util.BeanUtil.setProperties(BeanUtil.java:182) at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:53) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:52) at webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:125) at webwork.action.factory.ActionFactory.getAction(ActionFactory.java:63) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:120) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:209) It seems we're not escaping something from Webwork.

    Atlassian JIRA | 9 years ago | Jeff Turner
    java.lang.ArrayIndexOutOfBoundsException: 0
  2. 0

    Given a CSV file containing: type,summary,customfield+ Bug, "Hooray", TestValue If this is fed into the CSV mapping wizard, it breaks on step 2 of 5 (ConfigureCsvMapping.jspa) with a big uninformative error in the browser: HTTP Status 404 - Could not execute action [ConfigureCsvMapping]:null<p><small><small><pre>webwork.action.ResultException at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:55) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:52) at webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:125) at webwork.action.factory.ActionFactory.getAction(ActionFactory.java:63) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:120) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:209) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:73) at ... and a more informative error in the logs: 2007-06-12 11:21:22,926 http-8080-Processor23 WARN [webwork.util.BeanUtil] Could not set parameter "field.customfield+" with value "[Ljava.lang.String;@14005e1" on class class com.atlassian.jira.web.action.util.csv.ConfigureCsvMapping:java.lang.ArrayIndexOutOfBoundsException: 0 java.lang.ArrayIndexOutOfBoundsException: 0 at webwork.util.Query.<init>(Query.java:67) at webwork.util.Query.getQuery(Query.java:34) at webwork.util.Query.<init>(Query.java:136) at webwork.util.Query.getQuery(Query.java:34) at webwork.util.BeanUtil.setProperty(BeanUtil.java:239) at webwork.util.BeanUtil.setProperties(BeanUtil.java:182) at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:53) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:52) at webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:125) at webwork.action.factory.ActionFactory.getAction(ActionFactory.java:63) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:120) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:209) It seems we're not escaping something from Webwork.

    Atlassian JIRA | 9 years ago | Jeff Turner
    java.lang.ArrayIndexOutOfBoundsException: 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Cassandra ArrayIndexOutOfBoundsException

    Stack Overflow | 3 years ago | user3087110
    java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 0
  5. 0

    the same event rowDblselecti n nested dataTables

    Stack Overflow | 3 years ago | vonzdar
    java.lang.ArrayIndexOutOfBoundsException: 0

    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

      0

      at webwork.util.Query.<init>()
    2. webwork.util
      BeanUtil.setProperties
      1. webwork.util.Query.<init>(Query.java:67)
      2. webwork.util.Query.getQuery(Query.java:34)
      3. webwork.util.Query.<init>(Query.java:136)
      4. webwork.util.Query.getQuery(Query.java:34)
      5. webwork.util.BeanUtil.setProperty(BeanUtil.java:239)
      6. webwork.util.BeanUtil.setProperties(BeanUtil.java:182)
      6 frames
    3. webwork.action.factory
      ActionFactory.getAction
      1. webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:53)
      2. webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:52)
      3. webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:125)
      4. webwork.action.factory.ActionFactory.getAction(ActionFactory.java:63)
      4 frames
    4. webwork.dispatcher
      GenericDispatcher.executeAction
      1. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:120)
      1 frame
    5. com.atlassian.jira
      JiraServletDispatcher.service
      1. com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:209)
      1 frame