We got the following errors in our process migrating from EPP 5.1.1 to 5.2.1: 2012-07-03 06:49:46,587 ERROR [portal:UIPortalApplication] (http-10.7.13.54-8443-11) Error during the processAction phase java.lang.NoSuchMethodError: org.exoplatform.webui.exception.MessageException.getDetailMessage()Lorg/exoplatform/web/application/ApplicationMessage; at org.exoplatform.ecm.webui.utils.JCRExceptionManager.process(JCRExceptionManager.java:102) at org.exoplatform.ecm.webui.utils.JCRExceptionManager.process(JCRExceptionManager.java:121) at org.exoplatform.ecm.webui.form.UIDialogForm.executeScript(UIDialogForm.java:1828) at org.exoplatform.ecm.webui.form.UIDialogForm.executePreSaveEventInterceptor(UIDialogForm.java:1798) at org.exoplatform.ecm.webui.form.UIDialogForm.processAction(UIDialogForm.java:1588) ... This error comes from the customized PreNodeSaveInterceptor. I'm attaching this file for your reference too. We've found out that the root cause of this issue is that Site Publisher(ecms project) uses a version called 3.2.3-PLF to compile the code: <org.exoplatform.portal.version>3.2.3-PLF</org.exoplatform.portal.version> However, EPP 5.2.1 ships the verion 5.2.1-GA, and apparently there's discrepancy between these two versions. The MessageException.java packaged in EPP 5.2.1-GA has the definition: public AbstractApplicationMessage getDetailMessage() { return message; } The MessageException.java packaged in 3.2.3-PLF has the definition: public ApplicationMessage getDetailMessage() { return message; } }
Created attachment 607652 [details] PreNodeSaveInterceptor_obsolete.txt
Created attachment 607703 [details] PreNodeSaveInterceptor.groovy
To reproduce the issue: 1) use the attached PreNodeSaveInterceptor.groovy replace the one located at gatein-wcm-extension-5.2.1-exo-2.3.6-CP01.ear/ecm-wcm-extension.war/WEB-INF/conf/dms-extension/dms/artifacts/scripts/ecm-explorer/Interceptor 2) go to the content explorer and "Add Content". For example, add an "Article" and fill up the name/title/summary/content and click the "save&close" you should see the NoSuchMethodError in the log file.