Why am I getting an error message that says "We can't create that blueprint right now"
Asked by sascha_thiel:

Hi,

If I try to create the Jira Report Change Log Report I'm getting the error "We can't create that blueprint right now". This happens since I updated Jira and Confluence to:

* Jira 7.6.0
* Confluence 6.5.0

Following the stack trace from the 500 server error response.  
java.lang.NoSuchMethodError: com.atlassian.confluence.extra.jira.JiraIssuesManager.retrieveXMLAsChannel(Ljava/lang/String;Ljava/util/List;Lcom/atlassian/applinks/api/ReadOnlyApplicationLink;ZZ)Lcom/atlassian/confluence/extra/jira/JiraIssuesManager$Channel;? at com.atlassian.confluence.plugins.jirareports.JiraIssuesHelper.getChannel(JiraIssuesHelper.java:180)? at com.atlassian.confluence.plugins.jirareports.ChangeLogSimpleDialogContextProvider.setupStaticContent(ChangeLogSimpleDialogContextProvider.java:53)? at com.atlassian.confluence.plugins.jirareports.ChangeLogSimpleDialogContextProvider.updateBlueprintContext(ChangeLogSimpleDialogContextProvider.java:35)? at com.atlassian.confluence.plugins.createcontent.api.contextproviders.AbstractBlueprintContextProvider.getContextMap(AbstractBlueprintContextProvider.java:40)? at com.atlassian.confluence.plugins.createcontent.actions.DefaultBlueprintContentGenerator.getContentTemplateContext(DefaultBlueprintContentGenerator.java:184)? at com.atlassian.confluence.plugins.createcontent.actions.DefaultBlueprintContentGenerator.generateBlueprintPageObject(DefaultBlueprintContentGenerator.java:103)? at com.atlassian.confluence.plugins.createcontent.actions.DefaultBlueprintContentGenerator.generateBlueprintPageObject(DefaultBlueprintContentGenerator.java:81)? at com.atlassian.confluence.plugins.createcontent.impl.DefaultContentBlueprintService.createContentDraft(DefaultContentBlueprintService.java:232)? at com.atlassian.confluence.plugins.createcontent.rest.ContentBlueprintResource.createDraft(ContentBlueprintResource.java:83)? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)? at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)? at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)? at java.lang.reflect.Method.invoke(Method.java:498)? at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$TypeOutInvoker$1.invoke(DispatchProviderHelper.java:169)? at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept(DispatchProviderHelper.java:83)? at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:53)? at com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept(ExpandInterceptor.java:34)? at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:53)? at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper.invokeMethodWithInterceptors(DispatchProviderHelper.java:110)? at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$TypeOutInvoker._dispatch(DispatchProviderHelper.java:167)? at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)? at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)? at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)? at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)? at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)? at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)? at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)? at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)? at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)? at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)? at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)? at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)? at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154)? at com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:795)? at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68)? at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)? at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)? at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:70)? at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:58)? at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:64)? at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:37)? at com.atlassian.plug...plicationFilterChain.java:240)? at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)? at com.atlassian.confluence.impl.vcache.VCacheRequestContextFilter.lambda$doFilter$3(VCacheRequestContextFilter.java:44)? at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:87)? at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:71)? at com.atlassian.confluence.impl.vcache.VCacheRequestContextFilter.doFilter(VCacheRequestContextFilter.java:43)? at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)? at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)? at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)? at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:33)? at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)? at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)? at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)? at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:65)? at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)? at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)? at com.github.kristofa.brave.servlet.BraveServletFilter.doFilter(BraveServletFilter.java:59)? at com.atlassian.confluence.web.filter.ZipkinTracingFilter.doFilter(ZipkinTracingFilter.java:52)? at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)? at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)? at com.atlassian.confluence.web.filter.ResponseOutputStreamFilter.doFilter(ResponseOutputStreamFilter.java:25)? at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)? at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)? at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)? at com.atlassian.confluence.impl.servlet.HoldingUntilStartedFilter.doFilter(HoldingUntilStartedFilter.java:88)? at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)? at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)? at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)? at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)? at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)? at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)? at com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:64)? at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)? at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)? at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:46)? at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)? at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)? at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)? at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)? at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)? at org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:206)? at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)? at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)? at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)? at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)? at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)? at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)? at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1539)? at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1495)? at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)? at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)? at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)? at java.lang.Thread.run(Thread.java:748)?

Thanks in advance.

Bests,  
Sascha


Answers:
author: somethingblue
body: Hi Sascha,

I took a look at the stack trace you're seeing and there is a Confluence bug that I believe matches this behavior at [CONFSERVER-54310](https://jira.atlassian.com/browse/CONFSERVER-54310). Take a look at [CONFSERVER-54310](https://jira.atlassian.com/browse/CONFSERVER-54310) and review the steps to reproduce. If that is an adequate description of what you're able to reproduce please follow the suggested workaround, vote on the issue and add any relevant comments to the ticket for the developers.

The suggested workaround is as follows:
> "switch to advanced" prior to hitting "create" works for some users

If that is not what you're experiencing let me know and we'll go from there.

Cheers,

Branden

comments: author: sascha_thiel
body: Hi Brandon,

It seems it is related to the bug you mentioned. The workaround works just fine for me.

Thanks a lot!

Bests,

Sascha


Tags: jira