Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-11326

AFT Failure Demo Widgets Breadcrumbs Sibling Breadcrumbs often fails with Incident Report JTA RollbackException

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Development, JPA
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-12013KRAD Library- Widgets - BreadCrumbs-Sibling BreadCrumbs broken
      KULRICE-14108AFT Failure LibraryClientResponsivenessProgressiveDisclosureAft Incident Report RollbackException
      KULRICE-10769KRAD Demo Library Breadcrumbs preView and PrePage Previous page Incident Report
      KULRICE-11532AFT Failure KRAD Library Client Responsiveness Progressive Disclosures often fails with Incident Report
      KULRICE-10489AFT Failure: KRAD Demo Lookup Sample often fails with Conditional Criteria ClassCastException on search
      KULRICE-10058Sibling breadcrumbs are transparent, dont show (IE8/9 only)
      KULRICE-11238Fill AFT Per-Screen Item Gap: KRAD Library: Breadcrumbs
      KULRICE-13257Widgets breadcrumb label doesn’t display correctly
      KULRICE-11773AFT Failure DemoWidgetsBreadcrumbsAft Expected "Page 2 Title" but saw "Page 1 Title" instead
      KULRICE-11881AFT Failure DemoWidgetsBreadcrumbsAft IllegalStateException: Another lifecycle is already active on this thread
    • Sprint:
      2.4.0-m4 Dev Sprint 4 (Real)
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required

      Description

      Demo Widgets Breadcrumbs Sibling Breadcrumbs Incident Report JTA RollbackException

      org.kuali.rice.krad.demo.uif.library.widgets.DemoWidgetsBreadcrumbsAft.testWidgetsBreadcrumbNav
      org.kuali.rice.krad.demo.uif.library.widgets.DemoWidgetsBreadcrumbsAft.testWidgetsBreadcrumbBookmark

      http://ci.rice.kuali.org/job/rice-2.4-smoke-test-krad-library-3/lastCompletedBuild/testReport/org.kuali.rice.krad.demo.uif.library.widgets/DemoWidgetsBreadcrumbsAft/testWidgetsBreadcrumbNav/
      http://ci.rice.kuali.org/job/rice-2.4-smoke-test-krad-library-3/lastCompletedBuild/testReport/org.kuali.rice.krad.demo.uif.library.widgets/DemoWidgetsBreadcrumbsAft/testWidgetsBreadcrumbBookmark/

      Suspect this log error is related it appears before the RollbackException:

      
      
      [EL Warning]: 2013-12-02 02:38:36.41--UnitOfWork(1663059139)--Exception [EclipseLink-5006] (Eclipse Persistence Services - 2.5.1.v20130918-f2b9fc5): org.eclipse.persistence.exceptions.OptimisticLockException
      Exception Description: The object [org.kuali.rice.kew.useroptions.UserOptions@4d30e74c] cannot be updated because it has changed or been deleted since it was last read. 
      Class> org.kuali.rice.kew.useroptions.UserOptions Primary Key> [[DocSearch.LastSearch.Holding4, admin]: -2136268387]
      2013-12-02 02:38:36,412 [http-8080-3] u:admin/d: INFO  org.objectweb.jotm - Rollback during beforeCompletion in SubCoordinator.commit_one_phase
      2013-12-02 02:38:36,418 [http-8080-3] u:admin/d: ERROR org.kuali.rice.krad.web.controller.UifHandlerExceptionResolver - The following error was caught by the UifHandlerExceptionResolver : 
      org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException
      	at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1014)
      
      
      
      
      
      Incident report Sibling Breadcrumbs expected true, but was false navigating to  : View Id:  Doc Id: 
      StackTrace: org.springframework.transaction.UnexpectedRollbackException: JTA transaction unexpectedly rolled back (maybe due to a timeout); nested exception is javax.transaction.RollbackException
      at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1014)
      at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:755)
      at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)
      at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:475)
      at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:270)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:631)
      at org.kuali.rice.krad.demo.uif.controller.KradSampleAppController$$EnhancerByCGLIB$$57f72cb3.initForm(<generated>)
      at sun.reflect.GeneratedMethodAccessor681.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)
      at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
      at org.springframework.web.method.annotation.ModelFactory.invokeModelAttributeMethods(ModelFactory.java:123)
      at org.springframework.web.method.annotation.ModelFactory.initModel(ModelFactory.java:97)
      at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:722)
      at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)
      at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
      at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
      at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
      at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
      at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
      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 org.kuali.rice.krad.web.filter.CharsetFilter.doFilter(CharsetFilter.java:58)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:89)
      at org.kuali.rice.krad.web.filter.UserLoginFilter.doFilter(UserLoginFilter.java:77)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:327)
      at org.kuali.rice.krad.web.filter.DummyLoginFilter.doFilter(DummyLoginFilter.java:82)
      at org.kuali.rice.krad.web.filter.DummyLoginFilter.doFilter(DummyLoginFilter.java:62)
      at org.kuali.rice.krad.web.filter.BootstrapFilterChain.doFilter(BootstrapFilter.java:320)
      at org.kuali.rice.krad.web.filter.BootstrapFilter.doFilter(BootstrapFilter.java:199)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.kuali.rice.krad.web.filter.UifSessionTimeoutFilter.doFilter(UifSessionTimeoutFilter.java:128)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:68)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:213)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      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.valves.AccessLogValve.invoke(AccessLogValve.java:615)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: javax.transaction.RollbackException
      at org.objectweb.jotm.TransactionImpl.commit(TransactionImpl.java:331)
      at org.objectweb.jotm.Current.commit(Current.java:474)
      at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.kuali.rice.core.framework.persistence.jta.UserTransactionFactoryBean$LazyInitializationHandler.invoke(UserTransactionFactoryBean.java:73)
      at com.sun.proxy.$Proxy14.commit(Unknown Source)
      at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:1011)
      ... 68 more
      
      
      

        Issue Links

          Activity

          Hide
          Erik Meade added a comment -

          Sometimes the test passes see DemoWidgetsBreadcrumbsAftSometimesPasses.png attachment.

          Show
          Erik Meade added a comment - Sometimes the test passes see DemoWidgetsBreadcrumbsAftSometimesPasses.png attachment.
          Hide
          Adam Campbell (Inactive) added a comment -

          [1/20/14, 8:42:07 PM] Adam Campbell: On this one - https://jira.kuali.org/browse/KULRICE-11326 - I just watched the video and it just sort of hung there... it failed, but no rollback exception
          [1/20/14, 8:43:30 PM] EGHM: I've noticed that sometimes the regex in the JiraAware hangs, I moved a bunch of those into the other type detection so it shouldn't happen as often, might have been that

          Show
          Adam Campbell (Inactive) added a comment - [1/20/14, 8:42:07 PM] Adam Campbell: On this one - https://jira.kuali.org/browse/KULRICE-11326 - I just watched the video and it just sort of hung there... it failed, but no rollback exception [1/20/14, 8:43:30 PM] EGHM: I've noticed that sometimes the regex in the JiraAware hangs, I moved a bunch of those into the other type detection so it shouldn't happen as often, might have been that

            People

            • Assignee:
              Kristina Taylor (Inactive)
              Reporter:
              Erik Meade
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour Time Not Required
                1h

                  Agile

                    Structure Helper Panel