Back to work..

Today I’m mostly working through the emails that have built up while i’ve been on sick..

CTRL-A -> DEL…

🙂

That’s how you deal with those, now onto fun times.. First day back to work is always a good one to deal with technical issues, and I’ve got some technical issues with Alfresco; one is the changing of returned elements from the OpenSearch API and the other is my fault..

I was playing with the site replication and made a few sites which can’t be deleted no matter what I do, this then manifests itself when trying to do an empty search via the site-finder.

The json returned has a nasty error inside it, I’m going to have to dig deep.. I may be some while..

{
"code" : 500,
"name" : "Internal Error",
"description" : "An error inside the HTTP server which prevented it from fulfilling the request."
},

"message" : "00310054 Wrapped Exception (with status template): 00310309 Error during processing of the template 'Method public org.alfresco.service.cmr.site.SiteMemberInfo org.alfresco.repo.site.script.Site.getMembersRoleInfo(java.lang.String) threw an exception when invoked on org.alfresco.repo.site.script.Site@7ecda9ac'. Please contact your system administrator.",
"exception" : "org.springframework.extensions.webscripts.WebScriptException - 00310054 Wrapped Exception (with status template): 00310309 Error during processing of the template 'Method public org.alfresco.service.cmr.site.SiteMemberInfo org.alfresco.repo.site.script.Site.getMembersRoleInfo(java.lang.String) threw an exception when invoked on org.alfresco.repo.site.script.Site@7ecda9ac'. Please contact your system administrator.",

"callstack" :
[
"" ,"org.alfresco.repo.security.authority.UnknownAuthorityException: 00310308 An authority was not found for GROUP_site_replicate_SiteManager"
,"org.alfresco.repo.security.authority.AuthorityDAOImpl.getContainedAuthorities(AuthorityDAOImpl.java:771)"
,"org.alfresco.repo.security.authority.AuthorityServiceImpl.getContainedAuthorities(AuthorityServiceImpl.java:560)"
,"org.alfresco.repo.site.SiteServiceImpl.getMembersRoleInfo(SiteServiceImpl.java:2064)"
,"sun.reflect.GeneratedMethodAccessor1477.invoke(Unknown Source)"
,"sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
,"java.lang.reflect.Method.invoke(Method.java:606)"
,"org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)"
,"org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)"
,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)"
,"net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)"
,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
,"org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)"
,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
,"org.alfresco.repo.audit.AuditMethodInterceptor.proceed(AuditMethodInterceptor.java:196)"
,"org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:166)"
,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
,"org.alfresco.repo.transaction.CheckTransactionAdvice.invoke(CheckTransactionAdvice.java:47)"
,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
,"org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)"
,"com.sun.proxy.$Proxy99.getMembersRoleInfo(Unknown Source)"
,"org.alfresco.repo.site.script.Site.getMembersRoleInfo(Site.java:388)"
,"sun.reflect.GeneratedMethodAccessor1476.invoke(Unknown Source)"
,"sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
,"java.lang.reflect.Method.invoke(Method.java:606)"
,"freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:870)"
,"freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:106)"
,"freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93)"
,"freemarker.core.Expression.getAsTemplateModel(Expression.java:89)"
,"freemarker.core.BuiltIn$has_contentBI._getAsTemplateModel(BuiltIn.java:729)"
,"freemarker.core.BuiltIn$has_contentBI.isTrue(BuiltIn.java:741)"
,"freemarker.core.IfBlock.accept(IfBlock.java:80)"
,"freemarker.core.Environment.visit(Environment.java:221)"
,"freemarker.core.MixedContent.accept(MixedContent.java:92)"
,"freemarker.core.Environment.visit(Environment.java:221)"
,"freemarker.core.Environment.visit(Environment.java:406)"
,"freemarker.core.BodyInstruction.accept(BodyInstruction.java:93)"
,"freemarker.core.Environment.visit(Environment.java:221)"
,"freemarker.core.MixedContent.accept(MixedContent.java:92)"
,"freemarker.core.Environment.visit(Environment.java:221)"
,"freemarker.core.EscapeBlock.accept(EscapeBlock.java:84)"
,"freemarker.core.Environment.visit(Environment.java:221)"
,"freemarker.core.MixedContent.accept(MixedContent.java:92)"
,"freemarker.core.Environment.visit(Environment.java:221)"
,"freemarker.core.Macro$Context.runMacro(Macro.java:172)"
,"freemarker.core.Environment.visit(Environment.java:614)"
,"freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)"
,"freemarker.core.Environment.visit(Environment.java:221)"
,"freemarker.core.MixedContent.accept(MixedContent.java:92)"
,"freemarker.core.Environment.visit(Environment.java:221)"
,"freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:179)"
,"freemarker.core.Environment.visit(Environment.java:428)"
,"freemarker.core.IteratorBlock.accept(IteratorBlock.java:102)"
,"freemarker.core.Environment.visit(Environment.java:221)"
,"freemarker.core.MixedContent.accept(MixedContent.java:92)"
,"freemarker.core.Environment.visit(Environment.java:221)"
,"freemarker.core.Environment.process(Environment.java:199)"
,"org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:218)"
,"org.springframework.extensions.webscripts.AbstractWebScript.renderTemplate(AbstractWebScript.java:896)"
,"org.springframework.extensions.webscripts.DeclarativeWebScript.renderFormatTemplate(DeclarativeWebScript.java:267)"
,"org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:147)"
,"org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:422)"
,"org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:452)"
,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:491)"
,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:529)"
,"org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:341)"
,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)"
,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)"
,"org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)"
,"javax.servlet.http.HttpServlet.service(HttpServlet.java:717)"
,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)"
,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)"
,"org.alfresco.repo.webdav.auth.BaseSSOAuthenticationFilter.doFilter(BaseSSOAuthenticationFilter.java:137)"
,"sun.reflect.GeneratedMethodAccessor470.invoke(Unknown Source)"
,"sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
,"java.lang.reflect.Method.invoke(Method.java:606)"
,"org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:112)"
,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
,"org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)"
,"com.sun.proxy.$Proxy323.doFilter(Unknown Source)"
,"org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)"
,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)"
,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)"
,"org.alfresco.web.app.servlet.WebScriptSSOAuthenticationFilter.doFilter(WebScriptSSOAuthenticationFilter.java:114)"
,"sun.reflect.GeneratedMethodAccessor470.invoke(Unknown Source)"
,"sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
,"java.lang.reflect.Method.invoke(Method.java:606)"
,"org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:112)"
,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
,"org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)"
,"com.sun.proxy.$Proxy323.doFilter(Unknown Source)"
,"org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)"
,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)"
,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)"
,"org.alfresco.web.app.servlet.WebscriptCookieAuthenticationFilter.doFilter(WebscriptCookieAuthenticationFilter.java:61)"
,"sun.reflect.GeneratedMethodAccessor470.invoke(Unknown Source)"
,"sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
,"java.lang.reflect.Method.invoke(Method.java:606)"
,"org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:125)"
,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
,"org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)"
,"com.sun.proxy.$Proxy323.doFilter(Unknown Source)"
,"org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)"
,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)"
,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)"
,"org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)"
,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)"
,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)"
,"org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)"
,"org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)"
,"org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:465)"
,"org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)"
,"org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)"
,"org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)"
,"org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)"
,"org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)"
,"org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)"
,"org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)"
,"java.lang.Thread.run(Thread.java:744)"
,"freemarker.template.TemplateModelException: Method public org.alfresco.service.cmr.site.SiteMemberInfo org.alfresco.repo.site.script.Site.getMembersRoleInfo(java.lang.String) threw an exception when invoked on org.alfresco.repo.site.script.Site@7ecda9ac"
,"freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:130)"
,"org.alfresco.service.cmr.repository.TemplateException: 00310309 Error during processing of the template 'Method public org.alfresco.service.cmr.site.SiteMemberInfo org.alfresco.repo.site.script.Site.getMembersRoleInfo(java.lang.String) threw an exception when invoked on org.alfresco.repo.site.script.Site@7ecda9ac'. Please contact your system administrator."
,"org.alfresco.repo.template.FreeMarkerProcessor.process(FreeMarkerProcessor.java:222)"
,"org.springframework.extensions.webscripts.WebScriptException: 00310054 Wrapped Exception (with status template): 00310309 Error during processing of the template 'Method public org.alfresco.service.cmr.site.SiteMemberInfo org.alfresco.repo.site.script.Site.getMembersRoleInfo(java.lang.String) threw an exception when invoked on org.alfresco.repo.site.script.Site@7ecda9ac'. Please contact your system administrator."
,"org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1067)"

],

"server" : "Enterprise v4.2.0 (r57217-b28) schema 6,034",
"time" : "Jan 31, 2014 3:00:38 PM"
}

Leave a Reply

Your email address will not be published. Required fields are marked *