java.lang.Exception

Atlassian JIRA | Alain Moran [adaptavist.com] | 8 years ago
  1. 0

    The default theme manager in 2.9.1 does not apppear to be using transactions ... this means that when it is called from outside of a hibernate session it chimps .. hard! {code} 2008-09-30 13:41:01,371 WARN [http-8180-Processor17] [atlassian.confluence.cache.TransactionalCacheFactory] before Transactional cache update outside transaction. All updates to this cache should be performed from a thread with a valid transaction context. -- url: /wiki/plugins/servlet/builder/dwr/call/plaincall/ThemeAdminDWR.setValue.dwr | userName: persverr java.lang.Exception at com.atlassian.confluence.cache.WarnBeforeMethodAdvice.before(WarnBeforeMethodAdvice.java:29) at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:49) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy76.put(Unknown Source) at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.store(ConfluenceCachingBandanaPersister.java:90) at com.atlassian.bandana.DefaultBandanaManager.setValue(DefaultBandanaManager.java:74) at com.atlassian.confluence.themes.DefaultThemeManager.setSpaceTheme(DefaultThemeManager.java:100) at com.adaptavist.confluence.builder.themeadmin.ThemeAdminDWR.setSpaceValue(ThemeAdminDWR.java:256) {code} Should be a pretty simple one to fix. ;)

    Atlassian JIRA | 8 years ago | Alain Moran [adaptavist.com]
    java.lang.Exception
  2. 0

    The default theme manager in 2.9.1 does not apppear to be using transactions ... this means that when it is called from outside of a hibernate session it chimps .. hard! {code} 2008-09-30 13:41:01,371 WARN [http-8180-Processor17] [atlassian.confluence.cache.TransactionalCacheFactory] before Transactional cache update outside transaction. All updates to this cache should be performed from a thread with a valid transaction context. -- url: /wiki/plugins/servlet/builder/dwr/call/plaincall/ThemeAdminDWR.setValue.dwr | userName: persverr java.lang.Exception at com.atlassian.confluence.cache.WarnBeforeMethodAdvice.before(WarnBeforeMethodAdvice.java:29) at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:49) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy76.put(Unknown Source) at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.store(ConfluenceCachingBandanaPersister.java:90) at com.atlassian.bandana.DefaultBandanaManager.setValue(DefaultBandanaManager.java:74) at com.atlassian.confluence.themes.DefaultThemeManager.setSpaceTheme(DefaultThemeManager.java:100) at com.adaptavist.confluence.builder.themeadmin.ThemeAdminDWR.setSpaceValue(ThemeAdminDWR.java:256) {code} Should be a pretty simple one to fix. ;)

    Atlassian JIRA | 8 years ago | Alain Moran [adaptavist.com]
    java.lang.Exception
  3. 0

    Hello, I am getting warnings that storing data using BandanaManager is happening out of transaction. Is there a way to configure automatic transactions for servlet calls? 2008-02-07 19:30:10,703 ERROR [http-1990-Processor21] [atlassian.studio.servlet.ApplinksServlet] doDelete Applinks servlet: DELETE /wiki/plugins/servlet/applinks/instance?null -- url: /wiki/plugins/servlet/applinks/instance | userName: anonymous 2008-02-07 19:30:10,703 WARN [http-1990-Processor21] [atlassian.confluence.cache.TransactionalCacheFactory] before Transactional cache update outside transaction -- url: /wiki/plugins/servlet/applinks/instance | userName: anonymous java.lang.Exception at com.atlassian.confluence.cache.WarnBeforeMethodAdvice.before(WarnBeforeMethodAdvice.java:29) at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:49) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy66.put(Unknown Source) at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.store(ConfluenceCachingBandanaPersister.java:88) at com.atlassian.bandana.DefaultBandanaManager.setValue(DefaultBandanaManager.java:74) at com.atlassian.studio.aal.confluence.ConfluencePluginSettings.put(ConfluencePluginSettings.java:20) at com.atlassian.studio.applinks.ApplicationInstances.store(ApplicationInstances.java:129) at com.atlassian.studio.applinks.ApplicationInstances.remove(ApplicationInstances.java:82) at com.atlassian.studio.applinks.remote.DefaultApplicationLinker.removeApplication(DefaultApplicationLinker.java:49) at com.atlassian.studio.servlet.InstanceResourceHandler.doDelete(InstanceResourceHandler.java:139) at com.atlassian.studio.servlet.ApplinksServlet.doDelete(ApplinksServlet.java:55) at javax.servlet.http.HttpServlet.service(HttpServlet.java:716) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

    Atlassian JIRA | 9 years ago | Dusan Hornik [Atlassian]
    java.lang.Exception
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Every time I try to write to bandana as a result of a DWR request I get the following exception ------------ 2007-02-08 18:56:09,734 WARN [http-8080-Processor20] [atlassian.confluence.cache.TransactionalCacheFactory] before Transactional cache update outside transaction java.lang.Exception at com.atlassian.confluence.cache.WarnBeforeMethodAdvice.before(WarnBeforeMethodAdvice.java:29) at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) at $Proxy60.put(Unknown Source) at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.store(ConfluenceCachingBandanaPersister.java:118) at com.atlassian.bandana.DefaultBandanaManager.setValue(DefaultBandanaManager.java:74) at com.adaptavist.confluence.builder.layouts.LayoutManager.writeSpaceDefaults(LayoutManager.java:123) at com.adaptavist.confluence.builder.layouts.LayoutManager.setSpaceLayoutLock(LayoutManager.java:319) at com.adaptavist.confluence.builder.adminlayouts.AdminLayoutsDWR.setValue(AdminLayoutsDWR.java:94) 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:585) at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34) at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:411) at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:414) at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:273) at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52) at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:104) at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at com.atlassian.plugin.descriptors.servlet.ServletModuleContainerServlet.service(ServletModuleContainerServlet.java:38) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:159) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:172) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:122) at com.atlassian.core.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:27) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) ----------- I am attempting to write the following bean : ----------- package com.adaptavist.confluence.builder.layouts.model; public class SpaceDefault { private String layoutId; private boolean locked; public SpaceDefault() { } public SpaceDefault(String layoutId, boolean locked) { this.layoutId = layoutId; this.locked = locked; } public String getLayoutId() { return layoutId; } public void setLayoutId(String layoutId) { this.layoutId = layoutId; } public boolean isLocked() { return locked; } public void setLocked(boolean locked) { this.locked = locked; } } ----------- Where layoutId == 'test1' and locked == 'true' (or false, happens either way), I am using the following code to call for the write: ---------- private static final String SPACE_DEFAULTS = "com.adaptavist.confluence.builder.themes.spaceDefaults"; private TreeMap spaceDefaults; private void writeSpaceDefaults() { bandanaManager.setValue( new ConfluenceBandanaContext(), SPACE_DEFAULTS, xStream.toXML(spaceDefaults) ); } public void setSpaceLayoutLock (String spacekey, boolean locked) throws BuilderException { initData(); if (spacekey==null) { spacekey = GLOBAL_SPACE; } SpaceDefault spaceDefault = (SpaceDefault) spaceDefaults.get(spacekey); if (spaceDefault==null) { spaceDefault = new SpaceDefault(DEFAULT_LAYOUT_ID,locked); } else { spaceDefault.setLocked(locked); } spaceDefaults.put(spacekey,spaceDefault); writeSpaceDefaults(); } ---------- To be honest .. this also happens with every other write I have ever attempted to make to bandana in 2.3 when called through DWR, however with the other writes the data was actually getting written away so I have left it as something that could be resolved later (when 2.3 is a bit more stable) ... however for this write the data is NOT getting written away, hence this is causing me major problems in my development work.

    Atlassian JIRA | 10 years ago | Alain Moran [adaptavist.com]
    java.lang.Exception
  6. 0

    A warning message is issued everytime the MailCleanerJob updates the bandana cache. The MailCleanerJob is run every minute. {noformat}2008-06-09 09:30:00,012 WARN [DefaultQuartzScheduler_Worker-5] [atlassian.confluence.cache.TransactionalCacheFactory] before Transactional cache update outside transaction java.lang.Exception at com.atlassian.confluence.cache.WarnBeforeMethodAdvice.before(WarnBeforeMethodAdvice.java:29) at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:49) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy96.put(Unknown Source) at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.store(ConfluenceCachingBandanaPersister.java:88) at com.atlassian.bandana.DefaultBandanaManager.setValue(DefaultBandanaManager.java:74) at com.psa.confluence.plugins.MailCleanerJob.doExecute(MailCleanerJob.java:106) at com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:87) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520){noformat} https://support.atlassian.com/browse/CSP-19696

    Atlassian JIRA | 8 years ago | Ulrich Kuhnhardt [Atlassian]
    java.lang.Exception

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

      No message provided

      at com.atlassian.confluence.cache.WarnBeforeMethodAdvice.before()
    2. com.atlassian.confluence
      WarnBeforeMethodAdvice.before
      1. com.atlassian.confluence.cache.WarnBeforeMethodAdvice.before(WarnBeforeMethodAdvice.java:29)
      1 frame
    3. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:49)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      3. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      3 frames
    4. Unknown
      $Proxy76.put
      1. $Proxy76.put(Unknown Source)
      1 frame
    5. com.atlassian.confluence
      ConfluenceCachingBandanaPersister.store
      1. com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.store(ConfluenceCachingBandanaPersister.java:90)
      1 frame
    6. com.atlassian.bandana
      DefaultBandanaManager.setValue
      1. com.atlassian.bandana.DefaultBandanaManager.setValue(DefaultBandanaManager.java:74)
      1 frame
    7. com.atlassian.confluence
      DefaultThemeManager.setSpaceTheme
      1. com.atlassian.confluence.themes.DefaultThemeManager.setSpaceTheme(DefaultThemeManager.java:100)
      1 frame
    8. com.adaptavist.confluence
      ThemeAdminDWR.setSpaceValue
      1. com.adaptavist.confluence.builder.themeadmin.ThemeAdminDWR.setSpaceValue(ThemeAdminDWR.java:256)
      1 frame