AnsweredAssumed Answered

Error al añadir un aspecto

Question asked by txakin on Oct 27, 2008
Latest reply on Oct 29, 2008 by ajv
Hola a todos,

Me he creado un nuevo wizard en mi Alfresco. El flujo de todas mis jsp es correcto y me carga todos los valores que yo le digo. Hasta aquí sin problemas.

El problema es que al intentar finalizar (en el summary.jsp) y salvar mi nuevo dato, siempre me da un error a la hora de añadir mi nuevo aspecto.

Os envio mi error :

17:50:31,765 ERROR [repo.action.AsynchronousActionExecutionQueueImpl] Failed to execute asynchronous action: Action[ id=c50d0622-4a6b-4da5-ae86-6e6b4a0a7357, node=workspace://SpacesStore/c50d0622-4a6b-4da5-ae86-6e6b4a0a7357 ]
org.alfresco.service.cmr.dictionary.InvalidAspectException: The aspect is invalid: {www.test.es}expConflictividad
   at org.alfresco.repo.node.db.DbNodeServiceImpl.addAspect(DbNodeServiceImpl.java:533)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
   at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invokeInternal(SingleEntryTransactionResourceInterceptor.java:163)
   at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invoke(SingleEntryTransactionResourceInterceptor.java:138)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
   at $Proxy3.addAspect(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)
   at $Proxy4.addAspect(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
   at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:241)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:241)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:160)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:160)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
   at $Proxy3.addAspect(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:245)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
   at $Proxy3.addAspect(Unknown Source)
   at org.alfresco.repo.action.executer.AddFeaturesActionExecuter.executeImpl(AddFeaturesActionExecuter.java:104)
   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:120)
   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:537)
   at org.alfresco.repo.action.executer.CompositeActionExecuter.executeImpl(CompositeActionExecuter.java:72)
   at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:120)
   at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:537)
   at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:472)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.execute(AsynchronousActionExecutionQueueImpl.java:258)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:294)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:209)
   at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:267)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

El caso es que le estoy dando mil vueltas a este error, porque en ningun sitio de configuracion me he creado la etiquta http://www.test.es
Si lo busco en todo mi alfresco, siempre me aparece esa etiqueta en un índece de lucene :

—————————————-
Find 'www.test.es' in 'C:\alfresco-enterprise-tomcat-2.2.1\alf_data\contentstore\2008\10\27\0\50\3943c35d-8e3d-4de9-b95b-becb48807566.bin' :
C:\alfresco-enterprise-tomcat-2.2.1\alf_data\contentstore\2008\10\27\0\50\3943c35d-8e3d-4de9-b95b-becb48807566.bin(4): org.alfresco.service.cmr.dictionary.InvalidAspectException: The aspect is invalid: {www.test.es}expConflictividad
Found 'www.test.es' 1 time(s).
—————————————-
Find 'www.test.es' in 'C:\alfresco-enterprise-tomcat-2.2.1\alf_data\lucene-indexes\archive\SpacesStore\a15ec152-6ade-4b83-95a9-79a3c5398519\_0.cfs' :
C:\alfresco-enterprise-tomcat-2.2.1\alf_data\lucene-indexes\archive\SpacesStore\a15ec152-6ade-4b83-95a9-79a3c5398519\_0.cfs(6296): http://www.alfresco.org/model/content/1.0}auditable+
Found 'www.test.es' 1 time(s).
—————————————-
Find 'www.test.es' in 'C:\alfresco-enterprise-tomcat-2.2.1\tomcat\temp\Alfresco\2008\10\27\0\50\3c840820-68ac-4a69-8393-cd76132cabca.bin' :
C:\alfresco-enterprise-tomcat-2.2.1\tomcat\temp\Alfresco\2008\10\27\0\50\3c840820-68ac-4a69-8393-cd76132cabca.bin(4): org.alfresco.service.cmr.dictionary.InvalidAspectException: The aspect is invalid: {www.test.es}expConflictividad
Found 'www.test.es' 1 time(s).
—————————————-
Find 'www.test.es' in 'C:\alfresco-enterprise-tomcat-2.2.1\tomcat\temp\Alfresco\2008\10\27\0\50\df8baf90-535f-4431-885d-16e1500ecc23.bin' :
C:\alfresco-enterprise-tomcat-2.2.1\tomcat\temp\Alfresco\2008\10\27\0\50\df8baf90-535f-4431-885d-16e1500ecc23.bin(4): org.alfresco.service.cmr.dictionary.InvalidAspectException: The aspect is invalid: {www.test.es}expConflictividad
Found 'www.test.es' 1 time(s).
—————————————-
Find 'www.test.es' in 'C:\alfresco-enterprise-tomcat-2.2.1\tomcat\temp\Alfresco\2008\10\27\17\31\08a796bf-8576-4102-b20a-24f7d3849c8d.bin' :
C:\alfresco-enterprise-tomcat-2.2.1\tomcat\temp\Alfresco\2008\10\27\17\31\08a796bf-8576-4102-b20a-24f7d3849c8d.bin(4): org.alfresco.service.cmr.dictionary.InvalidAspectException: The aspect is invalid: {www.test.es}expConflictividad
Found 'www.test.es' 1 time(s).
—————————————-
Find 'www.test.es' in 'C:\alfresco-enterprise-tomcat-2.2.1\tomcat\temp\Alfresco\2008\10\27\17\7\fc5ac98c-6f60-4be8-83ee-6a96eb84e505.bin' :
C:\alfresco-enterprise-tomcat-2.2.1\tomcat\temp\Alfresco\2008\10\27\17\7\fc5ac98c-6f60-4be8-83ee-6a96eb84e505.bin(4): org.alfresco.service.cmr.dictionary.InvalidAspectException: The aspect is invalid: {www.test.es}expConflictividad
Found 'www.test.es' 1 time(s).

Por lo que veo, debe ser algún problema de alguna cosa que hice hace tiempo y se ha quedado en los ficheros temporales o bin….

Puedo borrar dichos ficheros o cual sería la solución a tomar?

Muchas gracias a todos.

Outcomes