AnsweredAssumed Answered

Erreur tag (URGENT )

Question asked by aragorn on Jul 8, 2010
Latest reply on Aug 2, 2010 by aragorn
Bonjour,
J'ai une erreur de recuperation des tag (Could not retrieve tags ) dans les pages document ,discussion.
comme information je viens de migre du 3.0 => 3.2r2 et je n 'ai pas eu probleme de patch des donnée.

Voici l'erreur qui s'affiche dans mon log:

17:51:55,070  ERROR [web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 06080008 Wrapped Exception (with status template): 06080007 Failed to execute script '/org/alfresco/repository/tagging/tagscope-tags.get.js (in classpath store file:/MIDDLE/PHT_predocks/SSL-preprod.docks.atosworldline.com-v32/docs/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': 06080006 Failed to open stream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2009/5/20/19/13/6a75d6e2-25ab-4b17-8847-a3b10da3d475.bin, mimetype=text/plain, size=0, encoding=UTF-8, locale=en_US]
org.alfresco.web.scripts.WebScriptException: 06080008 Wrapped Exception (with status template): 06080007 Failed to execute script '/org/alfresco/repository/tagging/tagscope-tags.get.js (in classpath store file:/MIDDLE/PHT_predocks/SSL-preprod.docks.atosworldline.com-v32/docs/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': 06080006 Failed to open stream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2009/5/20/19/13/6a75d6e2-25ab-4b17-8847-a3b10da3d475.bin, mimetype=text/plain, size=0, encoding=UTF-8, locale=en_US]
        at org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScript.java:613)
        at org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:165)
        at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:372)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:327)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:422)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:439)
        at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:303)
        at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:306)
        at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:183)
        at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        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:175)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.alfresco.scripts.ScriptException: 06080007 Failed to execute script '/org/alfresco/repository/tagging/tagscope-tags.get.js (in classpath store file:/MIDDLE/PHT_predocks/SSL-preprod.docks.atosworldline.com-v32/docs/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': 06080006 Failed to open stream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2009/5/20/19/13/6a75d6e2-25ab-4b17-8847-a3b10da3d475.bin, mimetype=text/plain, size=0, encoding=UTF-8, locale=en_US]
        at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:178)
        at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:274)
        at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:108)
        at org.alfresco.web.scripts.AbstractWebScript.executeScript(AbstractWebScript.java:819)
        at org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:90)
        … 22 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 06080006 Failed to open stream onto channel:
   accessor: ContentAccessor[ contentUrl=store://2009/5/20/19/13/6a75d6e2-25ab-4b17-8847-a3b10da3d475.bin, mimetype=text/plain, size=0, encoding=UTF-8, locale=en_US]
        at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:338)
        at org.alfresco.repo.tagging.TaggingServiceImpl.getTagDetails(TaggingServiceImpl.java:552)
        at org.alfresco.repo.tagging.TaggingServiceImpl.findTagScope(TaggingServiceImpl.java:533)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
        at org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.invoke(AlwaysProceedMethodInterceptor.java:40)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:147)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy68.findTagScope(Unknown Source)
        at org.alfresco.repo.jscript.ScriptNode.getTagScope(ScriptNode.java:2546)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
        at org.mozilla.javascript.JavaMembers.get(JavaMembers.java:118)
        at org.mozilla.javascript.NativeJavaObject.get(NativeJavaObject.java:113)
        at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:1617)
        at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1437)
        at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1423)
        at org.mozilla.javascript.gen.c6._c5(file:/MIDDLE/PHT_predocks/SSL-preprod.docks.atosworldline.com-v32/docs/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/tagging/tagscope-tags.get.js:149)
        at org.mozilla.javascript.gen.c6.call(file:/MIDDLE/PHT_predocks/SSL-preprod.docks.atosworldline.com-v32/docs/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/tagging/tagscope-tags.get.js)
        at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
        at org.mozilla.javascript.gen.c6._c0(file:/MIDDLE/PHT_predocks/SSL-preprod.docks.atosworldline.com-v32/docs/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/tagging/tagscope-tags.get.js:173)
        at org.mozilla.javascript.gen.c6.call(file:/MIDDLE/PHT_predocks/SSL-preprod.docks.atosworldline.com-v32/docs/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/tagging/tagscope-tags.get.js)
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
        at org.mozilla.javascript.gen.c6.call(file:/MIDDLE/PHT_predocks/SSL-preprod.docks.atosworldline.com-v32/docs/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/tagging/tagscope-tags.get.js)
        at org.mozilla.javascript.gen.c6.exec(file:/MIDDLE/PHT_predocks/SSL-preprod.docks.atosworldline.com-v32/docs/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/tagging/tagscope-tags.get.js)
        at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:457)
        at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:174)
        … 26 more
Caused by: java.lang.UnsupportedOperationException: The content never exists
        at org.alfresco.repo.content.EmptyContentReader.getDirectReadableChannel(EmptyContentReader.java:59)
        at org.alfresco.repo.content.AbstractContentReader.getReadableChannel(AbstractContentReader.java:227)
        at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:331)
        … 67 more



Si je n'ai pas bien explique mon problème ou si vous pensez a une piste n'hésiter pas a m'informer
merci d'avance


Mon environnement de travaille:
Linux kernel 2.6.24.4
JDK 1.6_0_16
apache-tomcat-6.0.16
Alfresco communitu 3.2r2

Outcomes