As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Exception in thread "Thread-110" net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: Avalid SecureContext was not provided in the RequestContext at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:477) at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:355) at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:147) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy64.run(Unknown Source) at java.lang.Thread.run(Thread.java:619)
class ThumbnailGenerateThread extends Thread{ FileFolderService ffservice; NodeRef noderef; public ThumbnailGenerateThread(FileFolderService service, NodeRef node){ this.ffservice = service; this.noderef = node; } public void run(){ RunAsWork<Object> thumbGeneWork = new RunAsWork<Object>() { public Object doWork() throws Exception { System.out.println("before generation of ThumbnailGenerateThread"); ffservice.generaThumbnail(noderef); System.out.println("after generation of ThumbnailGenerateThread"); return null; } }; AuthenticationUtil.runAs(thumbGeneWork, AuthenticationUtil.SYSTEM_USER_NAME); } }
Exception in thread "Thread-103" org.springframework.transaction.UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:717) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:394) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:117) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy64.generaThumbnail(Unknown Source) at org.alfresco.web.bean.content.EditContentPropertiesDialog$ThumbnailGenerateWork.doWork(EditContentPropertiesDialog.java:360) at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:514) at org.alfresco.web.bean.content.EditContentPropertiesDialog$ThumbnailGenerateThread.run(EditContentPropertiesDialog.java:391)