AnsweredAssumed Answered

[Resolved] NoSuchMethodError : NodeService

Question asked by dranakan on Apr 7, 2009
Latest reply on Jun 16, 2009 by mrogers
Hello ;)

I have an action working on Alfresco Labs 3.0 Stable but not working with Alfresco Entreprise ( Current version 3.0.1 (303) schema 501 - Installed version 3.0.1 (303) schema 501, with Apache Tomcat/5.5.26, Ingres 2006,  JVM - v1.6.0_11-b03).

My problem appears when I'am lauching this code
nodeService.addProperties(node, contentProps);

I have this error :

13:32:04,502  ERROR [repo.action.AsynchronousActionExecutionQueueImpl] Failed to execute asynchronous action: Action[ id=66f136d2-327b-488c-a9e6-51258232e87a, node=workspace://SpacesStore/66f136d2-327b-488c-a9e6-51258232e87a ]
org.alfresco.service.cmr.action.ActionServiceException: The action failed to execute due to an error.
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:572)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImpl.java:369)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:227)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:378)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:437)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:381)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoSuchMethodError: org.alfresco.service.cmr.repository.NodeService.addProperties(Lorg/alfresco/service/cmr/repository/NodeRef;Ljava/util/Map;)V


The code works well on Windows XP Alfresco 3.0 Stable MySql and Red hat Alfresco 3.0 Stable Ingres 2006.


Please help :-)

Outcomes