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

NullPointerException in Data Migration when incorrect settings to S3 are detected

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Inactive
    • Affects Version/s: 6.1.1 CE GA2
    • Fix Version/s: None
    • Labels:
    • Environment:
      Liferay 6.1.1 CE GA2 bundled with Tomcat 7.0.27, CentOS 2.6.32-358.6.2.el6.x86_64

      Description

      During negative test for Data Migration to S3 NullPointerException has been thrown for com.liferay.portlet.documentlibrary.store.S3Store. Exception details are below.

      Steps to reproduce are provided in https://issues.liferay.com/browse/LPS-36105 .

      This bug has been reported separately in order to better distinguish among bugs.

      Thrown exception is:
      13:38:51,773 ERROR [liferay/convert_process-1][ConvertDocumentLibrary:188] Migration failed for 1
      java.lang.NullPointerException
      at com.liferay.portlet.documentlibrary.store.S3Store.addFile(S3Store.java:84)
      at com.liferay.portal.convert.ConvertDocumentLibrary.migrateFile(ConvertDocumentLibrary.java:180)
      at com.liferay.portal.convert.ConvertDocumentLibrary.migrateDLFileEntry(ConvertDocumentLibrary.java:167)
      at com.liferay.portal.convert.ConvertDocumentLibrary.migrateDL(ConvertDocumentLibrary.java:143)
      at com.liferay.portal.convert.ConvertDocumentLibrary.migratePortlets(ConvertDocumentLibrary.java:238)
      at com.liferay.portal.convert.ConvertDocumentLibrary.doConvert(ConvertDocumentLibrary.java:102)
      at com.liferay.portal.convert.ConvertProcess.convert(ConvertProcess.java:44)
      at com.liferay.portal.convert.messaging.ConvertProcessMessageListener.doReceive(ConvertProcessMessageListener.java:47)
      at com.liferay.portal.convert.messaging.ConvertProcessMessageListener.receive(ConvertProcessMessageListener.java:32)
      at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:63)
      at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:110)
      at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:671)
      at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:582)
      at java.lang.Thread.run(Thread.java:679)

        Attachments

          Activity

            People

            Assignee:
            michael.saechang Michael Saechang
            Reporter:
            jan.profiq Jan Hájovský (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 2 weeks ago

                Packages

                Version Package