cancel
Showing results for 
Search instead for 
Did you mean: 

[Resolved] NoSuchMethodError : NodeService

dranakan
Champ on-the-rise
Champ on-the-rise
Hello Smiley Wink

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 🙂
5 REPLIES 5

mrogers
Star Contributor
Star Contributor
Please call alfresco support.

dranakan
Champ on-the-rise
Champ on-the-rise
Hello,

Please call alfresco support.
For the moment, we have no support. We are evaluate Alfresco and are in discussion about the support….

My problem appears just on an installation Icebreaker3.0 (appliance Ingres). I have tested with Alfresco-Enterprise3.1 (on Windows/MySql) and all is ok.

I will wait to have support by Ingres-Alfresco to resolve this problem…

mrogers
Star Contributor
Star Contributor
The addProperties method is fairly new, it was added in Alfresco 3.1

In the 3.0 release there is only setProperties.

dranakan
Champ on-the-rise
Champ on-the-rise
Thank you mrogers Smiley Happy

I have not think there was a difference like this between Alfresco Labs 3.0 and Entreprise 3.0.

Thanks a lot !

mrogers
Star Contributor
Star Contributor
Another casualty of the previous broken and confusing naming scheme for labs.   Labs 3 Stable should have been called Labs 3.1.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.