cancel
Showing results for 
Search instead for 
Did you mean: 

[Solved] Error with single category to my custom doc

zomurn
Champ in-the-making
Champ in-the-making
Hello,

I'am using Alfresco Share 3.3.1 EE. I created a custom type and see well my custom metadata when changing the type of my added document.
I went to old web client to add categories and subcategories.
My custom aspect has 2 properties refering to a category (through aspect property like precised in the wiki).
When I edit the metadata of my custom document with custom type, I see the share form with the category picker, all is OK, I select one and submit the form.
But the problem occurs when Share has to display the category in the view (the pdf on the left and the "view" mode metadata on the right). The stack trace error is :

INFO: Server startup in 83875 ms
2010-07-16 18:18:38,234  ERROR [extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 06160002 Wrapped Exception (with status template): 06160015 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js': 06160013 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/bac8edff\-89b4\-4c75\-a6e0\-823d22f46c75
org.springframework.extensions.webscripts.WebScriptException: 06160002 Wrapped Exception (with status template): 06160015 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js': 06160013 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/bac8edff\-89b4\-4c75\-a6e0\-823d22f46c75
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:740)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:167)
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:367)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:325)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:417)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:434)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:298)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:319)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:177)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   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:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:619)
Caused by: org.alfresco.scripts.ScriptException: 06160015 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js': 06160013 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/bac8edff\-89b4\-4c75\-a6e0\-823d22f46c75
   at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:183)
   at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:268)
   at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)
   at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:971)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)
   … 21 more
Caused by: org.alfresco.error.AlfrescoRuntimeException: 06160013 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/bac8edff\-89b4\-4c75\-a6e0\-823d22f46c75
   at org.alfresco.repo.jscript.Search.query(Search.java:758)
   at org.alfresco.repo.jscript.Search.query(Search.java:720)
   at org.alfresco.repo.jscript.Search.query(Search.java:679)
   at org.alfresco.repo.jscript.Search.findNode(Search.java:130)
   at org.alfresco.repo.jscript.Search.findNode(Search.java:151)
   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:155)
   at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
   at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
   at org.mozilla.javascript.gen.c14._c3(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js:95)
   at org.mozilla.javascript.gen.c14.call(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
   at org.mozilla.javascript.gen.c14._c0(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js:122)
   at org.mozilla.javascript.gen.c14.call(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
   at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
   at org.mozilla.javascript.gen.c14.call(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.mozilla.javascript.gen.c14.exec(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:453)
   at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:179)
   … 25 more
Caused by: org.alfresco.repo.search.IndexerException: 06160012 Failed to transform a file into is canonical form
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getIndexInfo(IndexInfo.java:466)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.initialise(AbstractLuceneBase.java:100)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneSearcherImpl.getSearcher(ADMLuceneSearcherImpl.java:136)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerAndSearcherFactory.getSearcher(ADMLuceneIndexerAndSearcherFactory.java:113)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getSearcher(AbstractLuceneIndexerAndSearcherFactory.java:476)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getSearcher(AbstractLuceneIndexerAndSearcherFactory.java:84)
   at sun.reflect.GeneratedMethodAccessor344.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
   at $Proxy45.getSearcher(Unknown Source)
   at org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:77)
   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:307)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:43)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:135)
   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 $Proxy35.query(Unknown Source)
   at org.alfresco.repo.jscript.Search.query(Search.java:742)
   … 47 more
Caused by: java.io.IOException: Syntaxe du nom de fichier, de répertoire ou de volume incorrecte
   at java.io.WinNTFileSystem.canonicalize0(Native Method)
   at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
   at java.io.File.getCanonicalPath(File.java:559)
   at java.io.File.getCanonicalFile(File.java:583)
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getIndexInfo(IndexInfo.java:446)
   … 76 more
2010-07-16 18:18:38,234  ERROR [extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 06160001 Wrapped Exception (with status template): 06160014 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js': 06160011 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/df22326c\-3184\-4392\-9f47\-457dcc0079be
org.springframework.extensions.webscripts.WebScriptException: 06160001 Wrapped Exception (with status template): 06160014 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js': 06160011 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/df22326c\-3184\-4392\-9f47\-457dcc0079be
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:740)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:167)
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:367)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:325)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:417)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:434)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:298)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:319)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:177)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   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:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:619)
Caused by: org.alfresco.scripts.ScriptException: 06160014 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js': 06160011 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/df22326c\-3184\-4392\-9f47\-457dcc0079be
   at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:183)
   at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:268)
   at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)
   at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:971)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)
   … 21 more
Caused by: org.alfresco.error.AlfrescoRuntimeException: 06160011 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/df22326c\-3184\-4392\-9f47\-457dcc0079be
   at org.alfresco.repo.jscript.Search.query(Search.java:758)
   at org.alfresco.repo.jscript.Search.query(Search.java:720)
   at org.alfresco.repo.jscript.Search.query(Search.java:679)
   at org.alfresco.repo.jscript.Search.findNode(Search.java:130)
   at org.alfresco.repo.jscript.Search.findNode(Search.java:151)
   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:155)
   at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
   at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
   at org.mozilla.javascript.gen.c14._c3(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js:95)
   at org.mozilla.javascript.gen.c14.call(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
   at org.mozilla.javascript.gen.c14._c0(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js:122)
   at org.mozilla.javascript.gen.c14.call(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
   at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
   at org.mozilla.javascript.gen.c14.call(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.mozilla.javascript.gen.c14.exec(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:453)
   at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:179)
   … 25 more
Caused by: org.alfresco.repo.search.IndexerException: 06160010 Failed to transform a file into is canonical form
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getIndexInfo(IndexInfo.java:466)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.initialise(AbstractLuceneBase.java:100)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneSearcherImpl.getSearcher(ADMLuceneSearcherImpl.java:136)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerAndSearcherFactory.getSearcher(ADMLuceneIndexerAndSearcherFactory.java:113)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getSearcher(AbstractLuceneIndexerAndSearcherFactory.java:476)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getSearcher(AbstractLuceneIndexerAndSearcherFactory.java:84)
   at sun.reflect.GeneratedMethodAccessor344.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
   at $Proxy45.getSearcher(Unknown Source)
   at org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:77)
   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:307)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:43)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:135)
   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 $Proxy35.query(Unknown Source)
   at org.alfresco.repo.jscript.Search.query(Search.java:742)
   … 47 more
Caused by: java.io.IOException: Bad pathname
   at java.io.WinNTFileSystem.canonicalize0(Native Method)
   at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
   at java.io.File.getCanonicalPath(File.java:559)
   at java.io.File.getCanonicalFile(File.java:583)
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getIndexInfo(IndexInfo.java:446)
   … 76 more
2010-07-16 18:18:41,156  ERROR [extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 06160003 Wrapped Exception (with status template): 06160018 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js': 06160017 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/bac8edff\-89b4\-4c75\-a6e0\-823d22f46c75
org.springframework.extensions.webscripts.WebScriptException: 06160003 Wrapped Exception (with status template): 06160018 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js': 06160017 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/bac8edff\-89b4\-4c75\-a6e0\-823d22f46c75
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:740)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:167)
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:367)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:325)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:417)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:434)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:298)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:319)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:177)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   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:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:619)
Caused by: org.alfresco.scripts.ScriptException: 06160018 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js': 06160017 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/bac8edff\-89b4\-4c75\-a6e0\-823d22f46c75
   at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:183)
   at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:268)
   at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)
   at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:971)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)
   … 21 more
Caused by: org.alfresco.error.AlfrescoRuntimeException: 06160017 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/bac8edff\-89b4\-4c75\-a6e0\-823d22f46c75
   at org.alfresco.repo.jscript.Search.query(Search.java:758)
   at org.alfresco.repo.jscript.Search.query(Search.java:720)
   at org.alfresco.repo.jscript.Search.query(Search.java:679)
   at org.alfresco.repo.jscript.Search.findNode(Search.java:130)
   at org.alfresco.repo.jscript.Search.findNode(Search.java:151)
   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:155)
   at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
   at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
   at org.mozilla.javascript.gen.c14._c3(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js:95)
   at org.mozilla.javascript.gen.c14.call(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
   at org.mozilla.javascript.gen.c14._c0(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js:122)
   at org.mozilla.javascript.gen.c14.call(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
   at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
   at org.mozilla.javascript.gen.c14.call(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.mozilla.javascript.gen.c14.exec(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:453)
   at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:179)
   … 25 more
Caused by: org.alfresco.repo.search.IndexerException: 06160016 Failed to transform a file into is canonical form
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getIndexInfo(IndexInfo.java:466)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.initialise(AbstractLuceneBase.java:100)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneSearcherImpl.getSearcher(ADMLuceneSearcherImpl.java:136)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerAndSearcherFactory.getSearcher(ADMLuceneIndexerAndSearcherFactory.java:113)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getSearcher(AbstractLuceneIndexerAndSearcherFactory.java:476)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getSearcher(AbstractLuceneIndexerAndSearcherFactory.java:84)
   at sun.reflect.GeneratedMethodAccessor344.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
   at $Proxy45.getSearcher(Unknown Source)
   at org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:77)
   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:307)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:43)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:135)
   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 $Proxy35.query(Unknown Source)
   at org.alfresco.repo.jscript.Search.query(Search.java:742)
   … 47 more
Caused by: java.io.IOException: Syntaxe du nom de fichier, de répertoire ou de volume incorrecte
   at java.io.WinNTFileSystem.canonicalize0(Native Method)
   at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
   at java.io.File.getCanonicalPath(File.java:559)
   at java.io.File.getCanonicalFile(File.java:583)
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getIndexInfo(IndexInfo.java:446)
   … 76 more
2010-07-16 18:18:41,250  ERROR [extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 06160004 Wrapped Exception (with status template): 06160021 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js': 06160020 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/df22326c\-3184\-4392\-9f47\-457dcc0079be
org.springframework.extensions.webscripts.WebScriptException: 06160004 Wrapped Exception (with status template): 06160021 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js': 06160020 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/df22326c\-3184\-4392\-9f47\-457dcc0079be
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:740)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:167)
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:367)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:325)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:417)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:434)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:298)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:319)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:177)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   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:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:619)
Caused by: org.alfresco.scripts.ScriptException: 06160021 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js': 06160020 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/df22326c\-3184\-4392\-9f47\-457dcc0079be
   at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:183)
   at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:268)
   at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)
   at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:971)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)
   … 21 more
Caused by: org.alfresco.error.AlfrescoRuntimeException: 06160020 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/df22326c\-3184\-4392\-9f47\-457dcc0079be
   at org.alfresco.repo.jscript.Search.query(Search.java:758)
   at org.alfresco.repo.jscript.Search.query(Search.java:720)
   at org.alfresco.repo.jscript.Search.query(Search.java:679)
   at org.alfresco.repo.jscript.Search.findNode(Search.java:130)
   at org.alfresco.repo.jscript.Search.findNode(Search.java:151)
   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:155)
   at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
   at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
   at org.mozilla.javascript.gen.c14._c3(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js:95)
   at org.mozilla.javascript.gen.c14.call(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
   at org.mozilla.javascript.gen.c14._c0(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js:122)
   at org.mozilla.javascript.gen.c14.call(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
   at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
   at org.mozilla.javascript.gen.c14.call(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.mozilla.javascript.gen.c14.exec(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:453)
   at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:179)
   … 25 more
Caused by: org.alfresco.repo.search.IndexerException: 06160019 Failed to transform a file into is canonical form
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getIndexInfo(IndexInfo.java:466)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.initialise(AbstractLuceneBase.java:100)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneSearcherImpl.getSearcher(ADMLuceneSearcherImpl.java:136)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerAndSearcherFactory.getSearcher(ADMLuceneIndexerAndSearcherFactory.java:113)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getSearcher(AbstractLuceneIndexerAndSearcherFactory.java:476)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getSearcher(AbstractLuceneIndexerAndSearcherFactory.java:84)
   at sun.reflect.GeneratedMethodAccessor344.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
   at $Proxy45.getSearcher(Unknown Source)
   at org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:77)
   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:307)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:43)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:135)
   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 $Proxy35.query(Unknown Source)
   at org.alfresco.repo.jscript.Search.query(Search.java:742)
   … 47 more
Caused by: java.io.IOException: Syntaxe du nom de fichier, de répertoire ou de volume incorrecte
   at java.io.WinNTFileSystem.canonicalize0(Native Method)
   at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
   at java.io.File.getCanonicalPath(File.java:559)
   at java.io.File.getCanonicalFile(File.java:583)
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getIndexInfo(IndexInfo.java:446)
   … 76 more
2010-07-16 18:18:50,734  ERROR [extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 06160005 Wrapped Exception (with status template): 06160024 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js': 06160023 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/dbfc42d9\-c822\-4963\-8ef9\-09fb2c47139e
org.springframework.extensions.webscripts.WebScriptException: 06160005 Wrapped Exception (with status template): 06160024 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js': 06160023 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/dbfc42d9\-c822\-4963\-8ef9\-09fb2c47139e
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:740)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:167)
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:367)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:325)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:417)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:434)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:298)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:319)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:177)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   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:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:619)
Caused by: org.alfresco.scripts.ScriptException: 06160024 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js': 06160023 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/dbfc42d9\-c822\-4963\-8ef9\-09fb2c47139e
   at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:183)
   at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:268)
   at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)
   at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:971)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)
   … 21 more
Caused by: org.alfresco.error.AlfrescoRuntimeException: 06160023 Failed to execute search: ID:Node Type\: \{http\://www.alfresco.org/model/content/1.0\}category   Node Ref\: workspace\://SpacesStore/dbfc42d9\-c822\-4963\-8ef9\-09fb2c47139e
   at org.alfresco.repo.jscript.Search.query(Search.java:758)
   at org.alfresco.repo.jscript.Search.query(Search.java:720)
   at org.alfresco.repo.jscript.Search.query(Search.java:679)
   at org.alfresco.repo.jscript.Search.findNode(Search.java:130)
   at org.alfresco.repo.jscript.Search.findNode(Search.java:151)
   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:155)
   at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
   at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
   at org.mozilla.javascript.gen.c14._c3(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js:95)
   at org.mozilla.javascript.gen.c14.call(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
   at org.mozilla.javascript.gen.c14._c0(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js:122)
   at org.mozilla.javascript.gen.c14.call(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
   at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
   at org.mozilla.javascript.gen.c14.call(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.mozilla.javascript.gen.c14.exec(file:/D:/alfresco-enterprise-tomcat-3.3.1-fds/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts/org/alfresco/repository/forms/pickeritems.post.json.js)
   at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:453)
   at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:179)
   … 25 more
Caused by: org.alfresco.repo.search.IndexerException: 06160022 Failed to transform a file into is canonical form
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getIndexInfo(IndexInfo.java:466)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.initialise(AbstractLuceneBase.java:100)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneSearcherImpl.getSearcher(ADMLuceneSearcherImpl.java:136)
   at org.alfresco.repo.search.impl.lucene.ADMLuceneIndexerAndSearcherFactory.getSearcher(ADMLuceneIndexerAndSearcherFactory.java:113)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getSearcher(AbstractLuceneIndexerAndSearcherFactory.java:476)
   at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.getSearcher(AbstractLuceneIndexerAndSearcherFactory.java:84)
   at sun.reflect.GeneratedMethodAccessor344.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
   at $Proxy45.getSearcher(Unknown Source)
   at org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:77)
   at sun.reflect.GeneratedMethodAccessor533.invoke(Unknown Source)
   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:307)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:43)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:135)
   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 $Proxy35.query(Unknown Source)
   at org.alfresco.repo.jscript.Search.query(Search.java:742)
   … 47 more
Caused by: java.io.IOException: Bad pathname
   at java.io.WinNTFileSystem.canonicalize0(Native Method)
   at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
   at java.io.File.getCanonicalPath(File.java:559)
   at java.io.File.getCanonicalFile(File.java:583)
   at org.alfresco.repo.search.impl.lucene.index.IndexInfo.getIndexInfo(IndexInfo.java:446)
   … 75 more

And when I navigate through node browser, the category was well set on the document. That's only the display in the view of it which doesn't work (cf. stacktrace).

Thanks for your help.
6 REPLIES 6

zomurn
Champ in-the-making
Champ in-the-making
I just have a look at my model and the node browser and all seems to be ok !
Here the model :

<aspects>
      <aspect name="fds:cat_familles">
         <title>Catégories familles</title>
         <parent>cm:classifiable</parent>
         <properties>
            <property name="fds:famille">
               <title>Famille</title>
               <type>d:category</type>
               <mandatory enforced="false">true</mandatory>
               <multiple>false</multiple>
               <!– <default>workspace://SpacesStore/8a1f7635-45fc-43d0-bfb4-4f53319b1413</default> –>
               <index enabled="true">
                  <atomic>true</atomic>
                  <stored>false</stored>
                  <tokenised>false</tokenised>
               </index>
            </property>
         </properties>
         
      </aspect>

<types>
<type>
….
<properties>
….
</properties>
<mandatory-aspects>
               <aspect>fds:cat_familles</aspect>
         </mandatory-aspects>
</type>
</types>

My node browser reveal that the category was well applied on my nodeRef :

{http://www.mit.com/fds/model/0.0.1}famille   ,
workspace://SpacesStore/dbfc42d9-c822-4963-8ef9-09fb2c47139e ,
   {http://www.alfresco.org/model/dictionary/1.0}category    ,
   false

zomurn
Champ in-the-making
Champ in-the-making
Any idea ?
I suppose it is a common scenario, is it an "unsupported feature" for the moment ? I really don't see what is wrong…

mikeh
Star Contributor
Star Contributor
Did you update the forms config to match your custom model?

If so, please post it here. If not please see http://wiki.alfresco.com/wiki/Forms

Thanks,
Mike

zomurn
Champ in-the-making
Champ in-the-making
Yes I update the form config :

<config evaluator="node-type" condition="fds:document">
      <forms>
         <form>
            <field-visibility>
               <hide id="cm:name" />
               <hide id="cm:title"  />
               <hide id="cm:description"  />
               <hide id="mimetype" />
               <hide id="cm:author" force="true" />
               <hide id="size" for-mode="view" />
               <show id="cm:creator" for-mode="view" />
               <show id="cm:created" for-mode="view" />
               <show id="cm:modifier" for-mode="view" />
               <show id="cm:modified" for-mode="view" />
              
               <!– document FDS –>
               <show id="fds:site" for-mode="view" />
               <show id="fds:atelier" for-mode="view" />
               <show id="fds:secteur" for-mode="view" />
               <show id="fds:ilot" for-mode="view" />
               <show id="fds:type_document" for-mode="view" />
               <show id="fds:famille" for-mode="view" />
               <show id="fds:poste" for-mode="view" />
               <show id="fds:statut" for-mode="view" />
               <show id="fds:fournisseur" for-mode="view" />
               <show id="fds:langue" for-mode="view" />
               <show id="fds:nom_produit" for-mode="view" />
               <show id="fds:classification" for-mode="view" />
               <show id="fds:phrases_r" for-mode="view" />
              
               <show id="fds:site" for-mode="edit" />
               <show id="fds:atelier" for-mode="edit" />
               <show id="fds:secteur" for-mode="edit" />
               <show id="fds:ilot" for-mode="edit" />
               <show id="fds:type_document" for-mode="edit" />
               <show id="fds:famille" for-mode="edit" />
               <show id="fds:poste" for-mode="edit" />
               <show id="fds:statut" for-mode="edit" />
               <show id="fds:fournisseur" for-mode="edit" />
               <show id="fds:langue" for-mode="edit" />
               <show id="fds:nom_produit" for-mode="edit" />
               <show id="fds:classification" for-mode="edit" />
               <show id="fds:phrases_r" for-mode="edit" />
              
               <!– tags and categories –>
               <hide id="cm:taggable" for-mode="edit" />
               <hide id="cm:categories" />
              
               <!– cm:dublincore aspect –>
               <hide id="cm:publisher"/>
               <hide id="cm:contributor"/>
               <hide id="cm:type"/>
               <hide id="cm:identifier"/>
               <hide id="cm:dcsource"/>
               <hide id="cm:coverage"/>
               <hide id="cm:rights"/>
               <hide id="cm:subject"/>
              
               <!– cm:complianceable aspect –>
               <hide id="cm:removeAfter" />
              
               <!– cm:effectivity aspect –>
               <hide id="cm:from"/>
               <hide id="cm:to"/>
              
               <!–  cm:summarizable aspect –>
               <hide id="cm:summary" />
              
               <!– cm:translatable aspect –>
               <hide id="cm:translations" />
              
               <!– cm:localizable aspect –>
               <hide id="cm:locale" />
              
               <!– cm:ownable aspect –>
               <hide id="cm:owner" />
              
               <!– cm:attachable aspect –>
               <hide id="cm:attachments" />
              
               <!– cm:emailed aspect –>
               <hide id="cm:originator" />
               <hide id="cm:addressee" />
               <hide id="cm:addressees" />
               <hide id="cm:sentdate" />
               <hide id="cm:subjectline" />
            </field-visibility>
            <appearance>
               <field id="cm:title">
                  <control template="/org/alfresco/components/form/controls/textfield.ftl" />
               </field>
               <field id="cm:description">
                  <control>
                     <control-param name="activateLinks">true</control-param>
                  </control>
               </field>
               <field id="mimetype">
                  <control template="/org/alfresco/components/form/controls/mimetype.ftl" />
               </field>
               <field id="size">
                  <control template="/org/alfresco/components/form/controls/size.ftl" />
               </field>
               <field id="cm:taggable">
                  <control>
                     <control-param name="compactMode">true</control-param>
                     <control-param name="params">aspect=cm:taggable</control-param>
                     <control-param name="createNewItemUri">/api/tag/workspace/SpacesStore</control-param>
                     <control-param name="createNewItemIcon">tag</control-param>
                  </control>
               </field>
               <field id="cm:categories">
                  <control>
                     <control-param name="compactMode">true</control-param>
                  </control>
               </field>
               <field id="cm:originator" read-only="true" />
               <field id="cm:addressee" read-only="true" />
               <field id="cm:addressees" read-only="true" />
               <field id="cm:sentdate" read-only="true" />
               <field id="cm:subjectline" read-only="true" />
            </appearance>
         </form>
        
        

         <!– Document Library pop-up Edit Metadata form –>
         <form id="doclib-simple-metadata">
            <field-visibility>
               <hide id="cm:name" />
               <hide id="cm:title" force="true" />
               <hide id="cm:description" force="true" />
               <!– tags and categories –>
               <hide id="cm:taggable" for-mode="edit" force="true" />
               <hide id="cm:categories" />
            </field-visibility>
            <edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl" />
            <appearance>
               <field id="cm:title">
                  <control template="/org/alfresco/components/form/controls/textfield.ftl" />
               </field>
               <field id="cm:description">
                  <control>
                     <control-param name="activateLinks">true</control-param>
                  </control>
               </field>
               <field id="cm:taggable">
                  <control>
                     <control-param name="compactMode">true</control-param>
                     <control-param name="params">aspect=cm:taggable</control-param>
                     <control-param name="createNewItemUri">/api/tag/workspace/SpacesStore</control-param>
                     <control-param name="createNewItemIcon">tag</control-param>
                  </control>
               </field>
               <field id="cm:categories">
                  <control>
                     <control-param name="compactMode">true</control-param>
                  </control>
               </field>
            </appearance>
         </form>
        
         <!– Document Library Inline Edit form –>
         <form id="doclib-inline-edit">
            <field-visibility>
               <show id="cm:name" />
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="cm:content" force="true" />
            </field-visibility>
            <appearance>
               <field id="cm:title">
                  <control template="/org/alfresco/components/form/controls/textfield.ftl" />
               </field>
               <field id="cm:content">
                  <control>
                     <control-param name="editorAppearance">explorer</control-param>
                     <control-param name="forceEditor">true</control-param>
                  </control>
               </field>
            </appearance>
         </form>
      </forms>
   </config>

I thought that this file is not critical since it concerns only display.
In fact, you may have not understood well my problem. I reexplain.
The form concerning my custom model is looking well ; as well for the edit mode as the view mode (I see all the metadata).
The "only" display bug is that I affected a category to my document (here for example fds:famille category) in the edit mode. In the node browser, all is OK, the category is assigned to the metadata. But in the view mode in Share, I read the metadata like this : "Famille : <blank>" . Why blank ? I put something in the edit mode. And then the error causes in logs are the above one.
I suppose there is a "big" error somewhere but I don't see where.
Thanks you.

zomurn
Champ in-the-making
Champ in-the-making
I found the Alfresco Share bug (or unsupported feature at the moment) : the tag :

<multiple>false</multiple>

= metadata value is NodeRef as String

All this horrible error stack trace just meant that "single category select" is unsupported by alfresco Share when displaying the custom document in view details form. We must set


<multiple>true</multiple>

= metadata value is Collection<String>

mikeh
Star Contributor
Star Contributor
Thanks for the follow-up. If you'd like to raise a JIRA ticket you'll get notified when the feature is added / bug fixed (I'm not sure which it is either at the moment).

Thanks,
Mike