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

Atlassian JIRA | Matt Doar [ServiceRocket] | 6 years ago
  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

  5. 0

    Current code uses webwork actions to define new priorities, issue types and resolutions. There are not simple alternative for it (no manager or service). We should copy the code and make a nice component of it. {noformat} [INFO] [talledLocalContainer] 2010-12-14 13:11:55,205 Thread-29 ERROR admin 791x265x1 1qro1n0 0:0:0:0:0:0:0:1 /secure/admin/views/BugzillaImport2!import.jspa [action.admin.priorities.ViewPriorities] Called a web action as if it were non-web [INFO] [talledLocalContainer] java.lang.RuntimeException: Called a web action as if it were non-web [INFO] [talledLocalContainer] at com.atlassian.jira.web.action.JiraWebActionSupport.getRedirect(JiraWebActionSupport.java:177) [INFO] [talledLocalContainer] at com.atlassian.jira.web.action.admin.priorities.ViewPriorities.redirectToView(ViewPriorities.java:84) [INFO] [talledLocalContainer] at com.atlassian.jira.web.action.admin.constants.AbstractViewConstants.doAddConstant(AbstractViewConstants.java:50) [INFO] [talledLocalContainer] at com.atlassian.jira.web.action.admin.priorities.ViewPriorities.doAddPriority(ViewPriorities.java:78) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) [INFO] [talledLocalContainer] at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) [INFO] [talledLocalContainer] at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) [INFO] [talledLocalContainer] at webwork.action.ActionSupport.execute(ActionSupport.java:157) [INFO] [talledLocalContainer] at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:54) [INFO] [talledLocalContainer] at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:139) [INFO] [talledLocalContainer] at com.atlassian.core.action.DefaultActionDispatcher.execute(DefaultActionDispatcher.java:28) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) [INFO] [talledLocalContainer] at $Proxy388.execute(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:147) [INFO] [talledLocalContainer] at $Proxy388.execute(Unknown Source) [INFO] [talledLocalContainer] at com.atlassian.jira.plugins.importer.external.ExternalUtils.addConstant(ExternalUtils.java:757) [INFO] [talledLocalContainer] at com.atlassian.jira.plugins.importer.external.ExternalUtils.addConstant(ExternalUtils.java:741) [INFO] [talledLocalContainer] at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:498) [INFO] [talledLocalContainer] at com.atlassian.jira.plugins.importer.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:183) [INFO] [talledLocalContainer] at com.atlassian.jira.plugins.importer.imports.importer.impl.ImporterThread.run(ImporterThread.java:23) {noformat}

    Ecosystem JIRA | 6 years ago | Pawel Niewiadomski
    java.lang.RuntimeException: Called a web action as if it were non-web

    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.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