Uploaded image for project: 'Zanata'
  1. ZNTA-850

org.zanata.async.AsyncTaskManager: Exception when executing an asynchronous task.

    Details

      Description

      Log session start time Sun Oct 18 22:18:26 UTC 2015

      Time: 2015-12-14T23:18:50Z
      req.remoteHost: 127.0.0.1
      req.userAgent: Java/1.7.0_85
      req.requestURI: /rest/async/projects/p/RHELOSP-Upgrading/iterations/i/7.0/r/chap-Introduction
      req.queryString: ext=gettext&ext=comment&copyTrans=false
      req.requestURL: http://translate.engineering.redhat.com/rest/async/projects/p/RHELOSP-Upgrading/iterations/i/7.0/r/chap-Introduction
      req.xForwardedFor: 10.64.0.250
      Time:5145789607
      Thread:pool-6-thread-9
      Level: ERROR
      Category: org.zanata.async.AsyncTaskManager
      Message: Exception when executing an asynchronous task.

      NDC:
      org.jboss.seam.security.AuthorizationException: Authorization check failed for permission[HProjectIteration(super=SlugEntityBase(super=HProjectIteration@cebe4c3c[id=749,versionNum=2], slug=7-Async), project=HProject(super=SlugEntityBase(super=HProject@79a8c9cc[id=319,versionNum=15], slug=RHELOSP-InstancesAndImagesGuide), name=RHELOSP Instances and Images Guide)),import-template]
      at org.jboss.seam.security.Identity.checkPermission(Identity.java:590)
      at org.zanata.service.impl.DocumentServiceImpl.saveDocument(DocumentServiceImpl.java:170)
      at org.zanata.service.impl.DocumentServiceImpl.saveDocument(DocumentServiceImpl.java:140)
      at org.zanata.service.impl.DocumentServiceImpl.saveDocumentAsync(DocumentServiceImpl.java:157)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
      at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
      at org.zanata.async.AsyncMethodInterceptor.aroundInvoke(AsyncMethodInterceptor.java:107)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:79)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:97)
      at org.jboss.seam.util.Work.workInTransaction(Work.java:61)
      at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:91)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
      at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
      at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
      at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:196)
      at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:114)
      at org.zanata.service.impl.DocumentServiceImpl_$$javassist_seam_102.saveDocumentAsync(DocumentServiceImpl$$_javassist_seam_102.java)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.zanata.async.AsyncMethodInterceptor$1.call(AsyncMethodInterceptor.java:84)
      at org.zanata.async.AsyncTaskManager$1.execute(AsyncTaskManager.java:100)
      at org.jboss.seam.security.Identity.runAs(Identity.java:743)
      at org.jboss.seam.security.RunAsOperation.run(RunAsOperation.java:75)
      at org.zanata.async.AsyncTaskManager$RunnableOperation.run(AsyncTaskManager.java:164)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)

        Attachments

          Activity

            People

            • Assignee:
              pahuang Patrick Huang
              Reporter:
              dchen Ding-Yi Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: