1965745 2019-07-29 14:43 采纳率: 0%
浏览 217

alfresco调用创建站点接口报错。

2019-07-29 11:15:06,844 ERROR [org.alfresco.rest.framework.webscripts.ResourceWebScriptPost] [http-apr-8080-exec-6] 18029577-249f-4daf-9d0f-848952acce33 :
[org.alfresco.repo.content.AbstractContentReader.getContentString(AbstractContentReader.java:522),
org.alfresco.repo.preference.PreferenceServiceImpl.getPreferencesObject(PreferenceServiceImpl.java:174),
org.alfresco.repo.preference.PreferenceServiceImpl.getPreference(PreferenceServiceImpl.java:194),
sun.reflect.GeneratedMethodAccessor852.invoke(Unknown Source),
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43),
java.lang.reflect.Method.invoke(Method.java:498),
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317),
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183),
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150),
org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:41),
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172),
org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:53),
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172),
org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:166),
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172),
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96),
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260),
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94),
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172),
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204),
com.sun.proxy.$Proxy140.getPreference(Unknown Source),
org.alfresco.repo.favourites.FavouritesServiceImpl.getFavouriteSite(FavouritesServiceImpl.java:420),
org.alfresco.repo.favourites.FavouritesServiceImpl.addFavouriteSite(FavouritesServiceImpl.java:380),
org.alfresco.repo.favourites.FavouritesServiceImpl.addFavourite(FavouritesServiceImpl.java:796),
sun.reflect.GeneratedMethodAccessor851.invoke(Unknown Source),
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43),
java.lang.reflect.Method.invoke(Method.java:498),
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317),
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183),
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150),
org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:41),
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172),
org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:53),
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172),
org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:166),
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172),
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96),
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260),
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94),
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172),
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204),
com.sun.proxy.$Proxy166.addFavourite(Unknown Source),
org.alfresco.rest.api.impl.SitesImpl.createSite(SitesImpl.java:1159),
sun.reflect.GeneratedMethodAccessor838.invoke(Unknown Source),
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43),
java.lang.reflect.Method.invoke(Method.java:498),
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317),
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183),
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150),
org.alfresco.rest.api.impl.ExceptionInterceptor.invoke(ExceptionInterceptor.java:57),
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172),
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204),
com.sun.proxy.$Proxy171.createSite(Unknown Source),
org.alfresco.rest.api.sites.SiteEntityResource.create(SiteEntityResource.java:119),
org.alfresco.rest.framework.webscripts.ResourceWebScriptPost.executeAction(ResourceWebScriptPost.java:271),
org.alfresco.rest.framework.webscripts.AbstractResourceWebScript$2.execute(AbstractResourceWebScript.java:177),
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:464),
org.alfresco.rest.framework.webscripts.AbstractResourceWebScript.execute(AbstractResourceWebScript.java:170),
org.alfresco.rest.framework.webscripts.AbstractResourceWebScript.execute(AbstractResourceWebScript.java:107),
org.alfresco.rest.framework.webscripts.ApiWebScript.execute(ApiWebScript.java:113),
org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:467),
org.alfresco.rest.api.PublicApiRepositoryContainer.transactionedExecute(PublicApiRepositoryContainer.java:70),
org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:656),
org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:428),
org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:308),
org.alfresco.rest.api.PublicApiRepositoryContainer.access$001(PublicApiRepositoryContainer.java:51),
org.alfresco.rest.api.PublicApiRepositoryContainer$1.doWork(PublicApiRepositoryContainer.java:106),
org.alfresco.repo.tenant.TenantUtil.runAsWork(TenantUtil.java:126),
org.alfresco.repo.tenant.TenantUtil.runAsTenant(TenantUtil.java:95),
org.alfresco.rest.api.PublicApiRepositoryContainer.executeScript(PublicApiRepositoryContainer.java:102),
org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:399),
org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210),
org.alfresco.repo.web.scripts.TenantWebScriptServlet.service(TenantWebScriptServlet.java:82),
org.alfresco.rest.api.PublicApiWebScriptServlet.service(PublicApiWebScriptServlet.java:62),
javax.servlet.http.HttpServlet.service(HttpServlet.java:727),
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303),
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208),
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52),
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241),
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208),
org.alfresco.module.aosmodule.service.ContextRootFilter.doFilter(ContextRootFilter.java:93),
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241),
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208),
org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:75),
sun.reflect.GeneratedMethodAccessor884.invoke(Unknown Source),
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43),
java.lang.reflect.Method.invoke(Method.java:498),
org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:132),
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172),
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204),
com.sun.proxy.$Proxy222.doFilter(Unknown Source),
org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:89),
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241),
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208),
org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:68),
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241),
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208),
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220),
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122),
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504),
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170),
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103),
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116),
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421),
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074),
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611),
org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2403),
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142),
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617),
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61),
java.lang.Thread.run(Thread.java:745)]

  • 写回答

1条回答 默认 最新

  • 明初啥都能学会 2024-04-17 11:09
    关注

    这是一个错误日志,看起来是 Alfresco 应用中的一个异常。这个错误似乎与从 PreferenceServiceImpl 中获取首选项有关。在调用 PreferenceServiceImplgetPreference 方法时出现了异常。异常堆栈中显示了一系列的方法调用链,从中可以看到异常最初是由一个名为 ResourceWebScriptPost 的类触发的。

    这个错误日志提供了非常详细的堆栈跟踪,列出了所有相关的方法调用,这有助于定位问题的根源。可能的原因包括配置问题、权限问题、资源不可用等。要解决这个问题,可能需要深入分析日志以及检查 Alfresco 应用的配置和环境。

    评论

报告相同问题?

悬赏问题

  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?