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

NullPointerException in Data Migration when incorrect settings to S3 are detected

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.2.0 CE B1, 6.2.0 CE B3
    • Fix Version/s: 6.2.0 CE B1, 6.2.0 CE B3
    • Labels:
    • Environment:
      Tomcat 7 + MySQL 5. Portal 6.2.x GIT ID: ec77f5ae880599c1a977bd2f1f2990045d7f8ad5.
      Portal 6.2.0 CE B1 bundled with Tomcat 7.0.40, CentOS 2.6.32-358.6.2.el6.x86_64
    • Fix Priority:
      4

      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 http://issues.liferay.com/browse/LPS-37948 .

      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:
            roberto.diaz Roberto Díaz
            Reporter:
            jan.profiq Jan Hájovský (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              7 years, 25 weeks, 4 days ago

                Packages

                Version Package
                6.2.0 CE B1
                6.2.0 CE B3