JS Exception while downgrading the confluence from v4.1.2 to v4.0.5

We have Confluence 4.1.2 running on one of our development box.Since some of important plugins like Adaptavist Community Bubble plugin are not working on Confluence v4.1.2 so we thought of downgrading the Confluence version to 4.0.5.

But after downgrading the Confluence version from 4.1.2 to 4.0.5 , we found that javascript are not working.During the startup we are getting the following exception

2012-05-01 08:42:36,275 INFO [main] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
2012-05-01 08:43:00,244 ERROR [scheduler_Worker-2] [confluence.search.lucene.ConfluenceSearcherInitialisation] initialise Error encountered while warming up searcher - The index has not been upgraded. Please reindex.
2012-05-01 08:43:26,870 ERROR [http-8090-3] [[Standalone].[localhost].[/].[file-server]] log Servlet.service() for servlet file-server threw exception
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.aui.javascript.ContextPathTransformer': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.aui.javascript.ContextPathTransformer]: Constructor threw exception; nested exception is java.lang.NullPointerException
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:300)
        at sun.reflect.GeneratedMethodAccessor107.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.spring.DefaultSpringContainerAccessor.createBean(DefaultSpringContainerAccessor.java:109)
        at com.atlassian.plugin.module.ClassPrefixModuleFactory.createModule(ClassPrefixModuleFactory.java:32)
        at com.atlassian.plugin.module.PrefixDelegatingModuleFactory.createModule(PrefixDelegatingModuleFactory.java:99)
        at com.atlassian.plugin.webresource.transformer.WebResourceTransformerModuleDescriptor.getModule(WebResourceTransformerModuleDescriptor.java:21)
        at com.atlassian.plugin.webresource.WebResourceTransformation.transformDownloadableResource(WebResourceTransformation.java:64)
        at com.atlassian.plugin.webresource.SingleDownloadableResourceBuilder.getDownloadablePluginResource(SingleDownloadableResourceBuilder.java:201)
        at com.atlassian.plugin.webresource.SingleDownloadableResourceBuilder.getResourceFromModule(SingleDownloadableResourceBuilder.java:134)
        at com.atlassian.plugin.webresource.SingleDownloadableResourceBuilder.locatePluginResource(SingleDownloadableResourceBuilder.java:81)
        at com.atlassian.plugin.webresource.SingleDownloadableResourceBuilder.find(SingleDownloadableResourceBuilder.java:68)
        at com.atlassian.plugin.webresource.AbstractBatchResourceBuilder$2.apply(AbstractBatchResourceBuilder.java:73)
        at com.atlassian.plugin.webresource.AbstractBatchResourceBuilder$2.apply(AbstractBatchResourceBuilder.java:70)
        at com.google.common.collect.Iterators$8.next(Iterators.java:730)
        at com.google.common.collect.Iterators$7.computeNext(Iterators.java:608)
        at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:137)
        at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:132)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
       at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Lists.newArrayList(Lists.java:135)
        at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:275)
        at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:231)
        at com.atlassian.plugin.webresource.BatchPluginResource.<init>(BatchPluginResource.java:99)
        at com.atlassian.plugin.webresource.BatchPluginResource.<init>(BatchPluginResource.java:81)
        at com.atlassian.plugin.webresource.SuperBatchPluginResource.<init>(SuperBatchPluginResource.java:56)
        at com.atlassian.plugin.webresource.SuperBatchPluginResource.<init>(SuperBatchPluginResource.java:50)
        at com.atlassian.plugin.webresource.SuperBatchDownloadableResourceBuilder.parse(SuperBatchDownloadableResourceBuilder.java:43)
        at com.atlassian.plugin.webresource.SuperBatchDownloadableResourceBuilder.parse(SuperBatchDownloadableResourceBuilder.java:19)
        at com.atlassian.plugin.webresource.PluginResourceLocatorImpl.getDownloadableResource(PluginResourceLocatorImpl.java:86)
        at com.atlassian.plugin.servlet.PluginResourceDownload.serveFile(PluginResourceDownload.java:55)
        at com.atlassian.plugin.servlet.AbstractFileServerServlet.doGet(AbstractFileServerServlet.java:33)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
        at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25)
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:19)
        at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
        at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:71)
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
        at org.tuckey.web.filters.urlrewrite.RewrittenUrl.doRewrite(RewrittenUrl.java:176)
        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.gzipfilter.GzipFilter.doFilterInternal(GzipFilter.java:80)
        at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:51)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter(AbstractCachingFilter.java:33)
        at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
        at com.atlassian.confluence.extra.webdav.servlet.filter.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:427)
        at com.atlassian.confluence.extra.webdav.servlet.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:34)
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter.doFilter(RequestParamValidationFilter.java:58)
        at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.confluence.plugin.servlet.filter.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:71)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.confluence.web.filter.LanguageExtractionFilter.doFilter(LanguageExtractionFilter.java:54)
        at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:41)
        at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:65)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.aui.javascript.ContextPathTransformer]: Constructor threw exception; nested exception is java.lang.NullPointerException
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
        ... 183 more
Caused by: java.lang.NullPointerException
        at com.atlassian.aui.javascript.ContextPathTransformer.stripTrailingSlash(ContextPathTransformer.java:43)
        at com.atlassian.aui.javascript.ContextPathTransformer.<init>(ContextPathTransformer.java:38)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
        ... 185 more
2012-05-01 08:43:26,873 ERROR [http-8090-3] [[Standalone].[localhost].[/].[noop]] log Servlet.service() for servlet noop threw exception
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.aui.javascript.ContextPathTransformer': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.aui.javascript.ContextPathTransformer]: Constructor threw exception; nested exception is java.lang.NullPointerException
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:300)
        at sun.reflect.GeneratedMethodAccessor107.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.spring.DefaultSpringContainerAccessor.createBean(DefaultSpringContainerAccessor.java:109)
        at com.atlassian.plugin.module.ClassPrefixModuleFactory.createModule(ClassPrefixModuleFactory.java:32)
        at com.atlassian.plugin.module.PrefixDelegatingModuleFactory.createModule(PrefixDelegatingModuleFactory.java:99)
        at com.atlassian.plugin.webresource.transformer.WebResourceTransformerModuleDescriptor.getModule(WebResourceTransformerModuleDescriptor.java:21)
        at com.atlassian.plugin.webresource.WebResourceTransformation.transformDownloadableResource(WebResourceTransformation.java:64)
        at com.atlassian.plugin.webresource.SingleDownloadableResourceBuilder.getDownloadablePluginResource(SingleDownloadableResourceBuilder.java:201)
        at com.atlassian.plugin.webresource.SingleDownloadableResourceBuilder.getResourceFromModule(SingleDownloadableResourceBuilder.java:134)
        at com.atlassian.plugin.webresource.SingleDownloadableResourceBuilder.locatePluginResource(SingleDownloadableResourceBuilder.java:81)
        at com.atlassian.plugin.webresource.SingleDownloadableResourceBuilder.find(SingleDownloadableResourceBuilder.java:68)
        at com.atlassian.plugin.webresource.AbstractBatchResourceBuilder$2.apply(AbstractBatchResourceBuilder.java:73)
        at com.atlassian.plugin.webresource.AbstractBatchResourceBuilder$2.apply(AbstractBatchResourceBuilder.java:70)
        at com.google.common.collect.Iterators$8.next(Iterators.java:730)
        at com.google.common.collect.Iterators$7.computeNext(Iterators.java:608)
        at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:137)
        at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:132)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Iterators$5.hasNext(Iterators.java:510)
        at com.google.common.collect.Lists.newArrayList(Lists.java:135)
        at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:275)
        at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:231)
        at com.atlassian.plugin.webresource.BatchPluginResource.<init>(BatchPluginResource.java:99)
        at com.atlassian.plugin.webresource.BatchPluginResource.<init>(BatchPluginResource.java:81)
        at com.atlassian.plugin.webresource.SuperBatchPluginResource.<init>(SuperBatchPluginResource.java:56)
        at com.atlassian.plugin.webresource.SuperBatchPluginResource.<init>(SuperBatchPluginResource.java:50)
        at com.atlassian.plugin.webresource.SuperBatchDownloadableResourceBuilder.parse(SuperBatchDownloadableResourceBuilder.java:43)
        at com.atlassian.plugin.webresource.SuperBatchDownloadableResourceBuilder.parse(SuperBatchDownloadableResourceBuilder.java:19)
        at com.atlassian.plugin.webresource.PluginResourceLocatorImpl.getDownloadableResource(PluginResourceLocatorImpl.java:86)
        at com.atlassian.plugin.servlet.PluginResourceDownload.serveFile(PluginResourceDownload.java:55)
        at com.atlassian.plugin.servlet.AbstractFileServerServlet.doGet(AbstractFileServerServlet.java:33)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
        at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25)
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:19)
        at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
       at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
        at com.atlassian.oauth.serviceprovider.internal.servlet.OAuthFilter.doFilter(OAuthFilter.java:71)
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
        at org.tuckey.web.filters.urlrewrite.RewrittenUrl.doRewrite(RewrittenUrl.java:176)
        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at com.atlassian.gzipfilter.GzipFilter.doFilterInternal(GzipFilter.java:80)
        at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:51)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter(AbstractCachingFilter.java:33)
        at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66)
        at com.atlassian.confluence.extra.webdav.servlet.filter.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:427)
        at com.atlassian.confluence.extra.webdav.servlet.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:34)
        at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74)
        at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)
        at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter.doFilter(RequestParamValidationFilter.java:58)
        at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.confluence.plugin.servlet.filter.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:71)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.confluence.web.filter.LanguageExtractionFilter.doFilter(LanguageExtractionFilter.java:54)
        at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:41)
        at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:65)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.aui.javascript.ContextPathTransformer]: Constructor threw exception; nested exception is java.lang.NullPointerException
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
        ... 183 more
Caused by: java.lang.NullPointerException
        at com.atlassian.aui.javascript.ContextPathTransformer.stripTrailingSlash(ContextPathTransformer.java:43)
        at com.atlassian.aui.javascript.ContextPathTransformer.<init>(ContextPathTransformer.java:38)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
        ... 185 more
2012-05-01 08:43:28,131 INFO [http-8090-3] [atlassian.confluence.status.SystemErrorInformationLogger] writeToLog
Request Unique ID : 6aaade55-5c3b-4d43-9af3-b9587d47999a
--------------------------
JVM Stats
--------------------------
allocatedHeap = 444334080
availablePermGen = 166309688
usedMemory = 342150736
totalMemory = 444334080
freeMemory = 102183344
maxPermGen = 268435456
usedPermGen = 102125768
freeMemoryInMegabytes = 97
freeAllocatedHeap = 102183344
availableHeap = 174862768
usedMemoryInMegabytes = 326
maxHeap = 517013504
usedHeap = 342150736
totalMemoryInMegabytes = 423
--------------------------
Request Information
--------------------------
URL: http://MyURL/500page.jsp
Scheme: http
Server: MyServer
Port: 8090
URI: /500page.jsp
Context Path:
Servlet Path: /500page.jsp
Path Info: null
Query String: null
--------------------------
Attributes
--------------------------
javax.servlet.forward.request_uri: /s/en_GB/3058/106/54/_/download/superbatch/js/batch.js
javax.servlet.forward.context_path:
javax.servlet.forward.servlet_path: /s
javax.servlet.forward.path_info: /500page.jsp
os_securityfilter_already_filtered: true
javax.servlet.error.message:
atlassian.core.seraph.original.url: /download/superbatch/js/batch.js
com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true
__cleanup_recursion_counter: 0
javax.servlet.error.status_code: 500
javax.servlet.error.servlet_name: noop
com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter_already_filtered: true
javax.servlet.error.exception: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.aui.javascript.ContextPathTransformer': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.aui.javascript.ContextPathTransformer]: Constructor threw exception; nested exception is java.lang.NullPointerException
com.atlassian.gzipfilter.GzipFilter_already_filtered: true
javax.servlet.error.request_uri: /s/en_GB/3058/106/54/_/download/superbatch/js/batch.js
loginfilter.already.filtered: true
--------------------------
Parameters
--------------------------
caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.aui.javascript.ContextPathTransformer': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.aui.javascript.ContextPathTransformer]: Constructor threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)
caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.aui.javascript.ContextPathTransformer]: Constructor threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
caused by: java.lang.NullPointerException
at com.atlassian.aui.javascript.ContextPathTransformer.stripTrailingSlash(ContextPathTransformer.java:43)

Is there anything missing in the confluence stck which we have downloaded
or is it because we are downgrading the confluence version


Regards

Amarendra Thakur

1 answer

1 accepted

1 vote
Accepted answer
Joe Clark Atlassian Team May 02, 2012

Hi Amarendra,


Unfortunately upgrading Confluence is a one-way street. We don't support downgrades and all bets are off if you try.

If you took a backup of your system before upgrading, you should restore from that to get your Confluence 4.0.5 instance back up and running again.

Alternatively, maybe someone from Adaptavist can provide some information on how long it will be until the community bubbles plugin is available for Confluence 4.1?

Thank you very much Joseph.This clears my doubt.I will try to restore confluence v4.0.5 with my backup.

Regards

Amarendra Thakur

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in United States

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

60 views 4 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you