Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-67520

Publish Import Fails with NoSuchMethodException for DateOverrideIncrement class

    Details

      Description

      The setup is as follows:

      • Wildfly 10
      • Liferay 7.0.1GA2 Community Edition.
      • Jackrabbit with MySql Database as the Document Library

      Using publish to export all web content , documents, application templates and public pages and import (Mirroring) them into another server.

      The first import into a fresh DB is successful. Make add some more content and repeat the process. The import fails with the following exception:
      Caused by: com.liferay.portal.kernel.exception.SystemException: java.lang.NoSuchMethodException: com.liferay.portal.kernel.increment.DateOverrideIncrement.<init>(java.sql.Timestamp)
      at com.liferay.portal.kernel.increment.IncrementFactory.createIncrement(IncrementFactory.java:43)
      at com.liferay.portal.increment.BufferedIncrementAdvice.before(BufferedIncrementAdvice.java:103)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:44)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      at com.sun.proxy.$Proxy216.updateLastPostDate(Unknown Source)
      at com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl.addFileEntry(DLFileEntryLocalServiceImpl.java:256)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      at com.sun.proxy.$Proxy175.addFileEntry(Unknown Source)
      at com.liferay.portal.repository.liferayrepository.LiferayLocalRepository.addFileEntry(LiferayLocalRepository.java:137)
      at com.liferay.portal.repository.util.LocalRepositoryWrapper.addFileEntry(LocalRepositoryWrapper.java:61)
      at com.liferay.portal.repository.liferayrepository.ModelValidatorLocalRepositoryWrapper.addFileEntry(ModelValidatorLocalRepositoryWrapper.java:77)
      at com.liferay.portal.repository.util.LocalRepositoryWrapper.addFileEntry(LocalRepositoryWrapper.java:61)
      at com.liferay.portal.repository.liferayrepository.LiferayProcessorLocalRepositoryWrapper.addFileEntry(LiferayProcessorLocalRepositoryWrapper.java:66)
      at com.liferay.portal.repository.util.LocalRepositoryWrapper.addFileEntry(LocalRepositoryWrapper.java:61)
      at com.liferay.portal.repository.liferayrepository.LiferayWorkflowLocalRepositoryWrapper.addFileEntry(LiferayWorkflowLocalRepositoryWrapper.java:71)
      at com.liferay.portal.repository.capabilities.CapabilityLocalRepository.addFileEntry(CapabilityLocalRepository.java:79)
      at com.liferay.portlet.documentlibrary.service.impl.DLAppLocalServiceImpl.addFileEntry(DLAppLocalServiceImpl.java:291)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:153)
      at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:85)
      at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:40)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
      at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:127)
      at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:173)
      at com.sun.proxy.$Proxy179.addFileEntry(Unknown Source)
      at com.liferay.document.library.lar.FileEntryStagedModelDataHandler.doImportStagedModel(FileEntryStagedModelDataHandler.java:417)
      at com.liferay.document.library.lar.FileEntryStagedModelDataHandler.doImportStagedModel(FileEntryStagedModelDataHandler.java:84)
      at com.liferay.exportimport.kernel.lar.BaseStagedModelDataHandler.importStagedModel(BaseStagedModelDataHandler.java:364)

        Attachments

          Activity

            People

            Assignee:
            lu.liu Lu Liu
            Reporter:
            naci@eteration.com Naci Dai
            Participants of an Issue:
            Recent user:
            Marco Abbuonandi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              4 years, 12 weeks, 2 days ago

                Packages

                Version Package