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

NoSuchMethodError is thrown when uploading a .xls file

    Details

      Description

      Steps to reproduce:

      1. Add Documents and Media portlet to the default page
      2. Add a .xls file via File Upload (Document_2.xls in this case)
        • NoSuchMethodError is thrown in the console
          2020-04-08 00:42:18.445 ERROR [http-nio-8080-exec-3][FileImpl:470] java.lang.NoSuchMethodError: org.apache.poi.hssf.record.common.UnicodeString.getExtendedRst()Lorg/apache/poi/hssf/record/common/UnicodeString$ExtRst;
          java.lang.NoSuchMethodError: org.apache.poi.hssf.record.common.UnicodeString.getExtendedRst()Lorg/apache/poi/hssf/record/common/UnicodeString$ExtRst;
          	at org.apache.tika.parser.microsoft.ExcelExtractor$TikaHSSFListener.internalProcessRecord(ExcelExtractor.java:434)
          
      3. Click on the title of the added file > Expand the info panel in the detail view

      Expected Result:
      Upload files without errors and the "Automatically Extracted Metadata" should be displayed after expanding info.

      Actual Result:
      NoSuchMethodError is thrown and the "Automatically Extracted Metadata" is not displayed after expanding info.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              beck.liu Beck Liu
              Reporter:
              beck.liu Beck Liu
              Participants of an Issue:
              Recent user:
              Tibor Lipusz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 5 weeks, 2 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP94
                  7.0.10.15 DXP SP15
                  7.0.X
                  7.1.10 DXP FP18
                  7.1.10.5 SP5
                  7.1.X
                  7.2.10 DXP FP6
                  7.2.X
                  7.3.10 DXP GA1
                  Master