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

Atlassian JIRA | Matt Doar [ServiceRocket] | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Importing from Bugzilla 3.4.5 I got an error 23:41:46] Importing component profile [23:41:46] FAILED: Unable to import component ExternalComponent@353d4e47[id=<null>,name=profile,projectId=<null>,lead=bwilliams@blurb.com,assigneeType=<null>,description=profile management] The error in the log file was {code} 2011-04-21 23:40:05,955 Thread-35 ERROR sysadmin 1411x62x1 17se8eq 192.168.3.3 /secure/admin/views/BugzillaImport2!import.jspa [action.admin.resolutions.ViewResolutions] Called a web action as if it were non-web java.lang.RuntimeException: Called a web action as if it were non-web at com.atlassian.jira.web.action.JiraWebActionSupport.getRedirect(JiraWebActionSupport.java:187) at com.atlassian.jira.web.action.admin.resolutions.ViewResolutions.redirectToView(ViewResolutions.java:60) at com.atlassian.jira.web.action.admin.constants.AbstractViewConstants.doAddConstant(AbstractViewConstants.java:50) 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 webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:139) at com.atlassian.core.action.DefaultActionDispatcher.execute(DefaultActionDispatcher.java:28) at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy346.execute(Unknown Source) at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:147) at $Proxy346.execute(Unknown Source) at com.atlassian.jira.plugins.importer.external.ExternalUtils.addConstant(ExternalUtils.java:720) at com.atlassian.jira.plugins.importer.external.ExternalUtils.addConstant(ExternalUtils.java:706) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.translateIssueConstants(DefaultJiraDataImporter.java:598) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:486) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:180) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterThread.run(ImporterThread.java:23) 2011-04-21 23:41:46,383 Thread-35 WARN sysadmin 1411x62x1 17se8eq 192.168.3.3 /secure/admin/views/BugzillaImport2!import.jspa [plugins.importer.external.ExternalUtils] Problems encoutered while creating Component ExternalComponent@353d4e47[id=<null>,name=profile,projectId=<null>,lead=bwilliams@blurb.com,assigneeType=<null>,description=profile management] {code} Maybe it's because the component is named profile and that clashes with something else?

    Ecosystem JIRA | 6 years ago | Peter Leschev
    java.lang.RuntimeException: Called a web action as if it were non-web
  2. 0

    Importing from Bugzilla 3.4.5 I got an error 23:41:46] Importing component profile [23:41:46] FAILED: Unable to import component ExternalComponent@353d4e47[id=<null>,name=profile,projectId=<null>,lead=bwilliams@blurb.com,assigneeType=<null>,description=profile management] The error in the log file was {code} 2011-04-21 23:40:05,955 Thread-35 ERROR sysadmin 1411x62x1 17se8eq 192.168.3.3 /secure/admin/views/BugzillaImport2!import.jspa [action.admin.resolutions.ViewResolutions] Called a web action as if it were non-web java.lang.RuntimeException: Called a web action as if it were non-web at com.atlassian.jira.web.action.JiraWebActionSupport.getRedirect(JiraWebActionSupport.java:187) at com.atlassian.jira.web.action.admin.resolutions.ViewResolutions.redirectToView(ViewResolutions.java:60) at com.atlassian.jira.web.action.admin.constants.AbstractViewConstants.doAddConstant(AbstractViewConstants.java:50) 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 webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:139) at com.atlassian.core.action.DefaultActionDispatcher.execute(DefaultActionDispatcher.java:28) at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy346.execute(Unknown Source) at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:147) at $Proxy346.execute(Unknown Source) at com.atlassian.jira.plugins.importer.external.ExternalUtils.addConstant(ExternalUtils.java:720) at com.atlassian.jira.plugins.importer.external.ExternalUtils.addConstant(ExternalUtils.java:706) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.translateIssueConstants(DefaultJiraDataImporter.java:598) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:486) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:180) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterThread.run(ImporterThread.java:23) 2011-04-21 23:41:46,383 Thread-35 WARN sysadmin 1411x62x1 17se8eq 192.168.3.3 /secure/admin/views/BugzillaImport2!import.jspa [plugins.importer.external.ExternalUtils] Problems encoutered while creating Component ExternalComponent@353d4e47[id=<null>,name=profile,projectId=<null>,lead=bwilliams@blurb.com,assigneeType=<null>,description=profile management] {code} Maybe it's because the component is named profile and that clashes with something else?

    Atlassian JIRA | 6 years ago | Matt Doar [ServiceRocket]
    java.lang.RuntimeException: Called a web action as if it were non-web
  3. 0

    Importing from Bugzilla 3.4.5 I got an error 23:41:46] Importing component profile [23:41:46] FAILED: Unable to import component ExternalComponent@353d4e47[id=<null>,name=profile,projectId=<null>,lead=bwilliams@blurb.com,assigneeType=<null>,description=profile management] The error in the log file was {code} 2011-04-21 23:40:05,955 Thread-35 ERROR sysadmin 1411x62x1 17se8eq 192.168.3.3 /secure/admin/views/BugzillaImport2!import.jspa [action.admin.resolutions.ViewResolutions] Called a web action as if it were non-web java.lang.RuntimeException: Called a web action as if it were non-web at com.atlassian.jira.web.action.JiraWebActionSupport.getRedirect(JiraWebActionSupport.java:187) at com.atlassian.jira.web.action.admin.resolutions.ViewResolutions.redirectToView(ViewResolutions.java:60) at com.atlassian.jira.web.action.admin.constants.AbstractViewConstants.doAddConstant(AbstractViewConstants.java:50) 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 webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:139) at com.atlassian.core.action.DefaultActionDispatcher.execute(DefaultActionDispatcher.java:28) at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) at $Proxy346.execute(Unknown Source) at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:147) at $Proxy346.execute(Unknown Source) at com.atlassian.jira.plugins.importer.external.ExternalUtils.addConstant(ExternalUtils.java:720) at com.atlassian.jira.plugins.importer.external.ExternalUtils.addConstant(ExternalUtils.java:706) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.translateIssueConstants(DefaultJiraDataImporter.java:598) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:486) at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:180) at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterThread.run(ImporterThread.java:23) 2011-04-21 23:41:46,383 Thread-35 WARN sysadmin 1411x62x1 17se8eq 192.168.3.3 /secure/admin/views/BugzillaImport2!import.jspa [plugins.importer.external.ExternalUtils] Problems encoutered while creating Component ExternalComponent@353d4e47[id=<null>,name=profile,projectId=<null>,lead=bwilliams@blurb.com,assigneeType=<null>,description=profile management] {code} Maybe it's because the component is named profile and that clashes with something else?

    Atlassian JIRA | 6 years ago | Matt Doar [ServiceRocket]
    java.lang.RuntimeException: Called a web action as if it were non-web
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Called a web action as if it were non-web

      at com.atlassian.jira.web.action.JiraWebActionSupport.getRedirect()
    2. com.atlassian.jira
      AbstractViewConstants.doAddConstant
      1. com.atlassian.jira.web.action.JiraWebActionSupport.getRedirect(JiraWebActionSupport.java:187)
      2. com.atlassian.jira.web.action.admin.resolutions.ViewResolutions.redirectToView(ViewResolutions.java:60)
      3. com.atlassian.jira.web.action.admin.constants.AbstractViewConstants.doAddConstant(AbstractViewConstants.java:50)
      3 frames
    3. 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
    4. webwork.util
      InjectionUtils.invoke
      1. webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)
      2. webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)
      2 frames
    5. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433)
      2. webwork.action.ActionSupport.execute(ActionSupport.java:157)
      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:139)
      1 frame
    8. com.atlassian.core
      DefaultActionDispatcher.execute
      1. com.atlassian.core.action.DefaultActionDispatcher.execute(DefaultActionDispatcher.java:28)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    10. com.atlassian.plugin
      DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke
      1. com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129)
      1 frame
    11. Unknown
      $Proxy346.execute
      1. $Proxy346.execute(Unknown Source)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    13. com.atlassian.plugin
      HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke
      1. com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:147)
      1 frame
    14. Unknown
      $Proxy346.execute
      1. $Proxy346.execute(Unknown Source)
      1 frame
    15. com.atlassian.jira
      ImporterThread.run
      1. com.atlassian.jira.plugins.importer.external.ExternalUtils.addConstant(ExternalUtils.java:720)
      2. com.atlassian.jira.plugins.importer.external.ExternalUtils.addConstant(ExternalUtils.java:706)
      3. com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.translateIssueConstants(DefaultJiraDataImporter.java:598)
      4. com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:486)
      5. com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:180)
      6. com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterThread.run(ImporterThread.java:23)
      6 frames