java.lang.Exception: Called a web action as if it were non-web

Atlassian JIRA | Samuel R. Neff | 10 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    While running FogBugz import with thousands of cases, I have 24 instances of this error in our logs: 2007-07-26 08:58:40,531 Thread-31 INFO [imports.importer.impl.ImportLogger] Importing issue number 4 : Issue {summary=Need to list the multiple roles on the list page, type=Improvement} (42.985s) 2007-07-26 08:58:40,531 Thread-31 ERROR [action.admin.priorities.ViewPriorities] Called a web action as if it were non-web java.lang.Exception: Called a web action as if it were non-web at com.atlassian.jira.web.action.JiraWebActionSupport.getRedirect(JiraWebActionSupport.java:121) at com.atlassian.jira.web.action.admin.priorities.ViewPriorities.redirectToView(ViewPriorities.java:78) at com.atlassian.jira.web.action.admin.constants.AbstractViewConstants.doAddConstant(AbstractViewConstants.java:38) at com.atlassian.jira.web.action.admin.priorities.ViewPriorities.doAddPriority(ViewPriorities.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:52) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:417) at webwork.action.ActionSupport.execute(ActionSupport.java:146) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) at com.atlassian.core.action.DefaultActionDispatcher.execute(DefaultActionDispatcher.java:36) at com.atlassian.jira.external.ExternalUtils.addConstant(ExternalUtils.java:743) at com.atlassian.jira.external.ExternalUtils.addConstant(ExternalUtils.java:718) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:459) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:120) at com.atlassian.jira.imports.importer.impl.ImporterThread.run(ImporterThread.java:21)

    Atlassian JIRA | 10 years ago | Samuel R. Neff
    java.lang.Exception: Called a web action as if it were non-web
  2. 0

    While running FogBugz import with thousands of cases, I have 24 instances of this error in our logs: 2007-07-26 08:58:40,531 Thread-31 INFO [imports.importer.impl.ImportLogger] Importing issue number 4 : Issue {summary=Need to list the multiple roles on the list page, type=Improvement} (42.985s) 2007-07-26 08:58:40,531 Thread-31 ERROR [action.admin.priorities.ViewPriorities] Called a web action as if it were non-web java.lang.Exception: Called a web action as if it were non-web at com.atlassian.jira.web.action.JiraWebActionSupport.getRedirect(JiraWebActionSupport.java:121) at com.atlassian.jira.web.action.admin.priorities.ViewPriorities.redirectToView(ViewPriorities.java:78) at com.atlassian.jira.web.action.admin.constants.AbstractViewConstants.doAddConstant(AbstractViewConstants.java:38) at com.atlassian.jira.web.action.admin.priorities.ViewPriorities.doAddPriority(ViewPriorities.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:52) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:417) at webwork.action.ActionSupport.execute(ActionSupport.java:146) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132) at com.atlassian.core.action.DefaultActionDispatcher.execute(DefaultActionDispatcher.java:36) at com.atlassian.jira.external.ExternalUtils.addConstant(ExternalUtils.java:743) at com.atlassian.jira.external.ExternalUtils.addConstant(ExternalUtils.java:718) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:459) at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:120) at com.atlassian.jira.imports.importer.impl.ImporterThread.run(ImporterThread.java:21)

    Atlassian JIRA | 10 years ago | Samuel R. Neff
    java.lang.Exception: Called a web action as if it were non-web

    Root Cause Analysis

    1. java.lang.Exception

      Called a web action as if it were non-web

      at com.atlassian.jira.web.action.JiraWebActionSupport.getRedirect()
    2. com.atlassian.jira
      ViewPriorities.doAddPriority
      1. com.atlassian.jira.web.action.JiraWebActionSupport.getRedirect(JiraWebActionSupport.java:121)
      2. com.atlassian.jira.web.action.admin.priorities.ViewPriorities.redirectToView(ViewPriorities.java:78)
      3. com.atlassian.jira.web.action.admin.constants.AbstractViewConstants.doAddConstant(AbstractViewConstants.java:38)
      4. com.atlassian.jira.web.action.admin.priorities.ViewPriorities.doAddPriority(ViewPriorities.java:72)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. webwork.util
      InjectionUtils.invoke
      1. webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61)
      2. webwork.util.InjectionUtils.invoke(InjectionUtils.java:52)
      2 frames
    5. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.invokeCommand(ActionSupport.java:417)
      2. webwork.action.ActionSupport.execute(ActionSupport.java:146)
      2 frames
    6. com.atlassian.jira
      JiraActionSupport.execute
      1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54)
      1 frame
    7. webwork.dispatcher
      GenericDispatcher.executeAction
      1. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:132)
      1 frame
    8. com.atlassian.core
      DefaultActionDispatcher.execute
      1. com.atlassian.core.action.DefaultActionDispatcher.execute(DefaultActionDispatcher.java:36)
      1 frame
    9. com.atlassian.jira
      ImporterThread.run
      1. com.atlassian.jira.external.ExternalUtils.addConstant(ExternalUtils.java:743)
      2. com.atlassian.jira.external.ExternalUtils.addConstant(ExternalUtils.java:718)
      3. com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:459)
      4. com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:120)
      5. com.atlassian.jira.imports.importer.impl.ImporterThread.run(ImporterThread.java:21)
      5 frames