org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.jira.projects.web.BrowseProjectVersion': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.projects.web.BrowseProjectVersion]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V

Atlassian JIRA | Nick Mason [Atlassian] | 11 months ago
  1. 0

    h3. Summary When clicking on a version from the "Versions" section of the sidebar in a Business project, you receive a 404 "Oops, you've found a dead link" instead of actually showing the details of the version. h3. Environment JIRA Cloud 7.1.0-OD-04-012 h3. Steps to Reproduce # Create a project using one of the Business templates (it doesn't matter which one). # Add a version to that project. # Go into "Versions" in the sidebar, select the version. h3. Expected Results JIRA displays the details of the version. h3. Actual Results JIRA returns a 404 page, and this stack trace is thrown in the JIRA logs: {code:none} 2016-01-16 04:21:40,283 http-nio-2990-exec-172 ERROR sysadmin 261x41521x1 19yd0ox 103.233.242.8,165.254.227.129,127.0.0.1 /browse/TESTBOM/fixforversion/11907 [c.a.j.config.webwork.JiraActionFactory] Error autowiring Action 'com.atlassian.jira.projects.web.BrowseProjectVersion'. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.jira.projects.web.BrowseProjectVersion': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.projects.web.BrowseProjectVersion]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1139) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:342) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.osgi.spring.DefaultSpringContainerAccessor.createBean(DefaultSpringContainerAccessor.java:97) at com.atlassian.jira.config.webwork.JiraActionFactory$JiraPluginActionFactory.getActionImpl(JiraActionFactory.java:389) at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:99) at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:59) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:60) at com.atlassian.jira.config.webwork.LookupAliasActionFactoryProxy.getActionImpl(LookupAliasActionFactoryProxy.java:61) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:60) at webwork.action.factory.ContextActionFactoryProxy.getActionImpl(ContextActionFactoryProxy.java:36) at webwork.action.factory.PrepareActionFactoryProxy.getActionImpl(PrepareActionFactoryProxy.java:37) at com.atlassian.jira.config.webwork.JiraActionFactory$SafeParameterSettingActionFactoryProxy.getActionImpl(JiraActionFactory.java:147) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:53) at com.atlassian.jira.config.webwork.JiraActionFactory.getActionImpl(JiraActionFactory.java:301) ... 2 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 11 filtered at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:37) ... 50 filtered at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) ... 23 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 36 filtered at com.atlassian.jira.projects.web.filter.BrowseProjectRedirectFilter.doFilter(BrowseProjectRedirectFilter.java:92) ... 4 filtered at com.atlassian.jira.projects.issuenavigator.ProjectIssueViewRewriteFilter.doFilter(ProjectIssueViewRewriteFilter.java:59) ... 4 filtered at com.atlassian.jira.projects.legacy.LegacyRedirectFilter.handleErrorExtractingUrlComponents(LegacyRedirectFilter.java:89) at com.atlassian.jira.projects.legacy.LegacyRedirectFilter.doFilter(LegacyRedirectFilter.java:61) ... 4 filtered at com.atlassian.jira.plugin.issuenav.IssueNavRewriteFilter.doFilter(IssueNavRewriteFilter.java:108) ... 4 filtered at com.atlassian.jira.plugin.devstatus.web.releasereport.FixForVersionRedirectionFilter.doFilter(FixForVersionRedirectionFilter.java:52) ... 9 filtered at com.atlassian.studio.jira.servlet.filter.BrowseProjectPageFilter.doFilter(BrowseProjectPageFilter.java:86) ... 19 filtered at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) ... 42 filtered at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:89) ... 15 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 28 filtered at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action.lambda$nextInFilterChain$12(CloudHomepageFilter.java:110) at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action$$Lambda$432/18697123.execute(Unknown Source) at com.atlassian.studio.jira.homepage.CloudHomepageFilter.doFilter(CloudHomepageFilter.java:68) ... 22 filtered at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:122) ... 3 filtered at com.atlassian.plugin.connect.plugin.auth.oauth.OAuth2LOFilter.doFilter(OAuth2LOFilter.java:82) ... 3 filtered at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:31) ... 54 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.projects.web.BrowseProjectVersion]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267) ... 377 more Caused by: java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V ... 2 filtered at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147) ... 379 more 2016-01-16 04:21:40,293 http-nio-2990-exec-172 ERROR sysadmin 261x41521x1 19yd0ox 103.233.242.8,165.254.227.129,127.0.0.1 /browse/TESTBOM/fixforversion/11907 [c.a.j.web.dispatcher.JiraWebworkActionDispatcher] Exception thrown from action 'BrowseProjectVersion', returning 404 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.jira.projects.web.BrowseProjectVersion': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.projects.web.BrowseProjectVersion]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1139) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:342) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.osgi.spring.DefaultSpringContainerAccessor.createBean(DefaultSpringContainerAccessor.java:97) at com.atlassian.jira.config.webwork.JiraActionFactory$JiraPluginActionFactory.getActionImpl(JiraActionFactory.java:389) at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:99) at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:59) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:60) at com.atlassian.jira.config.webwork.LookupAliasActionFactoryProxy.getActionImpl(LookupAliasActionFactoryProxy.java:61) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:60) at webwork.action.factory.ContextActionFactoryProxy.getActionImpl(ContextActionFactoryProxy.java:36) at webwork.action.factory.PrepareActionFactoryProxy.getActionImpl(PrepareActionFactoryProxy.java:37) at com.atlassian.jira.config.webwork.JiraActionFactory$SafeParameterSettingActionFactoryProxy.getActionImpl(JiraActionFactory.java:147) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:53) at com.atlassian.jira.config.webwork.JiraActionFactory.getActionImpl(JiraActionFactory.java:301) ... 2 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 11 filtered at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:37) ... 50 filtered at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) ... 23 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 36 filtered at com.atlassian.jira.projects.web.filter.BrowseProjectRedirectFilter.doFilter(BrowseProjectRedirectFilter.java:92) ... 4 filtered at com.atlassian.jira.projects.issuenavigator.ProjectIssueViewRewriteFilter.doFilter(ProjectIssueViewRewriteFilter.java:59) ... 4 filtered at com.atlassian.jira.projects.legacy.LegacyRedirectFilter.handleErrorExtractingUrlComponents(LegacyRedirectFilter.java:89) at com.atlassian.jira.projects.legacy.LegacyRedirectFilter.doFilter(LegacyRedirectFilter.java:61) ... 4 filtered at com.atlassian.jira.plugin.issuenav.IssueNavRewriteFilter.doFilter(IssueNavRewriteFilter.java:108) ... 4 filtered at com.atlassian.jira.plugin.devstatus.web.releasereport.FixForVersionRedirectionFilter.doFilter(FixForVersionRedirectionFilter.java:52) ... 9 filtered at com.atlassian.studio.jira.servlet.filter.BrowseProjectPageFilter.doFilter(BrowseProjectPageFilter.java:86) ... 19 filtered at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) ... 42 filtered at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:89) ... 15 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 28 filtered at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action.lambda$nextInFilterChain$12(CloudHomepageFilter.java:110) at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action$$Lambda$432/18697123.execute(Unknown Source) at com.atlassian.studio.jira.homepage.CloudHomepageFilter.doFilter(CloudHomepageFilter.java:68) ... 22 filtered at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:122) ... 3 filtered at com.atlassian.plugin.connect.plugin.auth.oauth.OAuth2LOFilter.doFilter(OAuth2LOFilter.java:82) ... 3 filtered at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:31) ... 54 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.projects.web.BrowseProjectVersion]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267) ... 377 more Caused by: java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V ... 2 filtered at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147) ... 379 more {code} h3. Workaround Convert the project to a Software type if possible.

    Atlassian JIRA | 11 months ago | Nick Mason
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.jira.projects.web.BrowseProjectVersion': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.projects.web.BrowseProjectVersion]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V
  2. 0

    h3. Summary When clicking on a version from the "Versions" section of the sidebar in a Business project, you receive a 404 "Oops, you've found a dead link" instead of actually showing the details of the version. h3. Environment JIRA Cloud 7.1.0-OD-04-012 h3. Steps to Reproduce # Create a project using one of the Business templates (it doesn't matter which one). # Add a version to that project. # Go into "Versions" in the sidebar, select the version. h3. Expected Results JIRA displays the details of the version. h3. Actual Results JIRA returns a 404 page, and this stack trace is thrown in the JIRA logs: {code:none} 2016-01-16 04:21:40,283 http-nio-2990-exec-172 ERROR sysadmin 261x41521x1 19yd0ox 103.233.242.8,165.254.227.129,127.0.0.1 /browse/TESTBOM/fixforversion/11907 [c.a.j.config.webwork.JiraActionFactory] Error autowiring Action 'com.atlassian.jira.projects.web.BrowseProjectVersion'. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.jira.projects.web.BrowseProjectVersion': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.projects.web.BrowseProjectVersion]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1139) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:342) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.osgi.spring.DefaultSpringContainerAccessor.createBean(DefaultSpringContainerAccessor.java:97) at com.atlassian.jira.config.webwork.JiraActionFactory$JiraPluginActionFactory.getActionImpl(JiraActionFactory.java:389) at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:99) at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:59) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:60) at com.atlassian.jira.config.webwork.LookupAliasActionFactoryProxy.getActionImpl(LookupAliasActionFactoryProxy.java:61) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:60) at webwork.action.factory.ContextActionFactoryProxy.getActionImpl(ContextActionFactoryProxy.java:36) at webwork.action.factory.PrepareActionFactoryProxy.getActionImpl(PrepareActionFactoryProxy.java:37) at com.atlassian.jira.config.webwork.JiraActionFactory$SafeParameterSettingActionFactoryProxy.getActionImpl(JiraActionFactory.java:147) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:53) at com.atlassian.jira.config.webwork.JiraActionFactory.getActionImpl(JiraActionFactory.java:301) ... 2 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 11 filtered at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:37) ... 50 filtered at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) ... 23 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 36 filtered at com.atlassian.jira.projects.web.filter.BrowseProjectRedirectFilter.doFilter(BrowseProjectRedirectFilter.java:92) ... 4 filtered at com.atlassian.jira.projects.issuenavigator.ProjectIssueViewRewriteFilter.doFilter(ProjectIssueViewRewriteFilter.java:59) ... 4 filtered at com.atlassian.jira.projects.legacy.LegacyRedirectFilter.handleErrorExtractingUrlComponents(LegacyRedirectFilter.java:89) at com.atlassian.jira.projects.legacy.LegacyRedirectFilter.doFilter(LegacyRedirectFilter.java:61) ... 4 filtered at com.atlassian.jira.plugin.issuenav.IssueNavRewriteFilter.doFilter(IssueNavRewriteFilter.java:108) ... 4 filtered at com.atlassian.jira.plugin.devstatus.web.releasereport.FixForVersionRedirectionFilter.doFilter(FixForVersionRedirectionFilter.java:52) ... 9 filtered at com.atlassian.studio.jira.servlet.filter.BrowseProjectPageFilter.doFilter(BrowseProjectPageFilter.java:86) ... 19 filtered at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) ... 42 filtered at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:89) ... 15 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 28 filtered at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action.lambda$nextInFilterChain$12(CloudHomepageFilter.java:110) at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action$$Lambda$432/18697123.execute(Unknown Source) at com.atlassian.studio.jira.homepage.CloudHomepageFilter.doFilter(CloudHomepageFilter.java:68) ... 22 filtered at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:122) ... 3 filtered at com.atlassian.plugin.connect.plugin.auth.oauth.OAuth2LOFilter.doFilter(OAuth2LOFilter.java:82) ... 3 filtered at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:31) ... 54 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.projects.web.BrowseProjectVersion]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267) ... 377 more Caused by: java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V ... 2 filtered at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147) ... 379 more 2016-01-16 04:21:40,293 http-nio-2990-exec-172 ERROR sysadmin 261x41521x1 19yd0ox 103.233.242.8,165.254.227.129,127.0.0.1 /browse/TESTBOM/fixforversion/11907 [c.a.j.web.dispatcher.JiraWebworkActionDispatcher] Exception thrown from action 'BrowseProjectVersion', returning 404 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.jira.projects.web.BrowseProjectVersion': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.projects.web.BrowseProjectVersion]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1139) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:342) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.atlassian.plugin.osgi.spring.DefaultSpringContainerAccessor.createBean(DefaultSpringContainerAccessor.java:97) at com.atlassian.jira.config.webwork.JiraActionFactory$JiraPluginActionFactory.getActionImpl(JiraActionFactory.java:389) at webwork.action.factory.PrefixActionFactoryProxy.getActionImpl(PrefixActionFactoryProxy.java:99) at webwork.action.factory.JspActionFactoryProxy.getActionImpl(JspActionFactoryProxy.java:59) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:60) at com.atlassian.jira.config.webwork.LookupAliasActionFactoryProxy.getActionImpl(LookupAliasActionFactoryProxy.java:61) at webwork.action.factory.CommandActionFactoryProxy.getActionImpl(CommandActionFactoryProxy.java:60) at webwork.action.factory.ContextActionFactoryProxy.getActionImpl(ContextActionFactoryProxy.java:36) at webwork.action.factory.PrepareActionFactoryProxy.getActionImpl(PrepareActionFactoryProxy.java:37) at com.atlassian.jira.config.webwork.JiraActionFactory$SafeParameterSettingActionFactoryProxy.getActionImpl(JiraActionFactory.java:147) at webwork.action.factory.ChainingActionFactoryProxy.getActionImpl(ChainingActionFactoryProxy.java:53) at com.atlassian.jira.config.webwork.JiraActionFactory.getActionImpl(JiraActionFactory.java:301) ... 2 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) ... 11 filtered at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:37) ... 50 filtered at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) ... 23 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 36 filtered at com.atlassian.jira.projects.web.filter.BrowseProjectRedirectFilter.doFilter(BrowseProjectRedirectFilter.java:92) ... 4 filtered at com.atlassian.jira.projects.issuenavigator.ProjectIssueViewRewriteFilter.doFilter(ProjectIssueViewRewriteFilter.java:59) ... 4 filtered at com.atlassian.jira.projects.legacy.LegacyRedirectFilter.handleErrorExtractingUrlComponents(LegacyRedirectFilter.java:89) at com.atlassian.jira.projects.legacy.LegacyRedirectFilter.doFilter(LegacyRedirectFilter.java:61) ... 4 filtered at com.atlassian.jira.plugin.issuenav.IssueNavRewriteFilter.doFilter(IssueNavRewriteFilter.java:108) ... 4 filtered at com.atlassian.jira.plugin.devstatus.web.releasereport.FixForVersionRedirectionFilter.doFilter(FixForVersionRedirectionFilter.java:52) ... 9 filtered at com.atlassian.studio.jira.servlet.filter.BrowseProjectPageFilter.doFilter(BrowseProjectPageFilter.java:86) ... 19 filtered at com.atlassian.jira.plugins.rest.HOT25715FixServletFilter.doFilter(HOT25715FixServletFilter.java:46) ... 42 filtered at com.atlassian.plugin.connect.plugin.auth.scope.ApiScopingFilter.doFilter(ApiScopingFilter.java:89) ... 15 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 28 filtered at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action.lambda$nextInFilterChain$12(CloudHomepageFilter.java:110) at com.atlassian.studio.jira.homepage.CloudHomepageFilter$Action$$Lambda$432/18697123.execute(Unknown Source) at com.atlassian.studio.jira.homepage.CloudHomepageFilter.doFilter(CloudHomepageFilter.java:68) ... 22 filtered at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:122) ... 3 filtered at com.atlassian.plugin.connect.plugin.auth.oauth.OAuth2LOFilter.doFilter(OAuth2LOFilter.java:82) ... 3 filtered at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:31) ... 54 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.projects.web.BrowseProjectVersion]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267) ... 377 more Caused by: java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V ... 2 filtered at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147) ... 379 more {code} h3. Workaround Convert the project to a Software type if possible.

    Atlassian JIRA | 11 months ago | Nick Mason [Atlassian]
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.jira.projects.web.BrowseProjectVersion': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.projects.web.BrowseProjectVersion]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V
  3. 0

    Could not autowire field + Injection of autowired dependencies failed

    Stack Overflow | 3 years ago | Mario
    org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.Ses sionFactory net.viralpatel.spring3.dao.ContactDAOImpl.sessionFactory; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionExcept ion: No matching bean of type [org.hibernate.SessionFactory] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I am getting "org.springframework.beans.BeanInstantiationException" due to "unresolved compilation problems"

    Stack Overflow | 2 years ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'urlMapping' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registerProfileController' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [default.controller.RegisterProfileController]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: The import org.springframework cannot be resolved The import org.springframework cannot be resolved The import org.springframework cannot be resolved The import org.springframework cannot be resolved SimpleFormController cannot be resolved to a type Errors cannot be resolved to a type ModelAndView cannot be resolved to a type BindException cannot be resolved to a type ModelAndView cannot be resolved to a type ModelAndView cannot be resolved to a type The method getFormView() is undefined for the type RegisterProfileController ...
  6. 0

    Could not autowire field + Injection of autowired dependencies failed

    baba.io | 8 months ago
    org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.Ses sionFactory net.viralpatel.spring3.dao.ContactDAOImpl.sessionFactory; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionExcept ion: No matching bean of type [org.hibernate.SessionFactory] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

  1. tfr 2 times, last 4 months ago
  2. linxiaolong 3 times, last 2 months ago
  3. qavid 24 times, last 5 months ago
7 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. org.springframework.beans.factory.BeanCreationException

    Error creating bean with name 'com.atlassian.jira.projects.web.BrowseProjectVersion': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.jira.projects.web.BrowseProjectVersion]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.atlassian.jira.web.action.AbstractPluggableTabPanelAction.setPersistenceKey(Ljava/lang/String;)V

    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor()
  2. Spring Beans
    AbstractAutowireCapableBeanFactory.createBean
    1. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1139)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:342)
    6 frames