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

ClassCastException using batch export exporting BlogPostings

    Details

      Description

      Exporting the blog postings using batch export generates a ClassCastException in the code

      java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long
      	at com.liferay.headless.delivery.internal.resource.v1_0.BaseBlogPostingResourceImpl.read(BaseBlogPostingResourceImpl.java:627) ~[?:?]
      	at com.liferay.portal.vulcan.internal.batch.engine.VulcanBatchEngineTaskItemDelegateAdaptor.read(VulcanBatchEngineTaskItemDelegateAdaptor.java:101) ~[?:?]
      	at com.liferay.batch.engine.internal.item.BatchEngineTaskItemDelegateExecutor.getItems(BatchEngineTaskItemDelegateExecutor.java:77) ~[?:?]
      	at com.liferay.batch.engine.internal.BatchEngineExportTaskExecutorImpl._exportItems(BatchEngineExportTaskExecutorImpl.java:155) ~[?:?]
      	at com.liferay.batch.engine.internal.BatchEngineExportTaskExecutorImpl.lambda$execute$0(BatchEngineExportTaskExecutorImpl.java:78) ~[?:?]
      	at com.liferay.batch.engine.internal.BatchEngineTaskExecutorUtil.execute(BatchEngineTaskExecutorUtil.java:44) ~[?:?]
      	at com.liferay.batch.engine.internal.BatchEngineExportTaskExecutorImpl.execute(BatchEngineExportTaskExecutorImpl.java:77) ~[?:?]
      	at com.liferay.headless.batch.engine.internal.resource.v1_0.ExportTaskResourceImpl.lambda$postExportTask$1(ExportTaskResourceImpl.java:119) ~[?:?]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_212]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_212]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
      	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
      

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            javier.dearcos Javier de Arcos Velilla
            Participants of an Issue:
            Recent user:
            Clarissa Velazquez
            Engineering Assignee:
            Javier de Arcos Velilla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              24 weeks, 1 day ago

                Packages

                Version Package
                7.1.10 DXP FP23
                7.1.10.6 SP6
                7.1.X
                7.2.10 DXP FP13
                7.2.X
                7.3.7 CE GA8
                7.3.10 DXP FP2
                7.3.X
                7.4.0 CE GA1 DXP 7,4
                7.4.1 CE GA2 DXP 7,4
                Master