Uploaded image for project: 'VEND'
  1. VEND
  2. VEND-16

Remove Apache POI classes from BIRT Runtime 4.2.2 jar

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: BIRT-4.2.2-NX01
    • Component/s: BIRT Runtime

      Description

      The classes embedded in org.eclipse.birt.runtime-4.2.2.jar conflicts with the Apache POI librairies provided by Nuxeo (under nxserver/lib/).

      So when the Birt addon is installed, indexing Word documents will fail with this exception:

      Caused by: java.lang.NoClassDefFoundError: org/apache/poi/hwpf/OldWordFileFormatException
              at org.nuxeo.ecm.core.convert.plugins.text.extractors.MSOffice2TextConverter.convert(MSOffice2TextConverter.java:48)
              at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:168)
              at org.nuxeo.ecm.core.convert.plugins.text.extractors.FullTextConverter.convert(FullTextConverter.java:73)
              at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:168)
              at org.nuxeo.ecm.diff.content.converters.AbstractContentDiffConverter.convert(AbstractContentDiffConverter.java:46)
              at org.nuxeo.ecm.diff.content.converters.ContentDiffTextConverter.convert(ContentDiffTextConverter.java:44)
              at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java:168)
              at org.nuxeo.ecm.diff.content.adapter.base.ConverterBasedContentDiffAdapter.getConvertedBlobHolder(ConverterBasedContentDiffAdapter.java:269)
              at org.nuxeo.ecm.diff.content.adapter.base.ConverterBasedContentDiffAdapter.getContentDiffBlobs(ConverterBasedContentDiffAdapter.java:140)
              at org.nuxeo.ecm.diff.content.adapter.base.AbstractContentDiffAdapter.getFileContentDiffBlobs(AbstractContentDiffAdapter.java:62)
              at org.nuxeo.ecm.diff.content.restlet.ContentDiffRestlet.initCachedContentDiffBlobs(ContentDiffRestlet.java:187)
              at org.nuxeo.ecm.diff.content.restlet.ContentDiffRestlet.handle(ContentDiffRestlet.java:142)
      

        Attachments

        1. MANIFEST.MF
          1.64 MB
        2. pom.xml
          2 kB

          Issue Links

            Activity

              People

              • Assignee:
                tmartins Thierry Martins
                Reporter:
                tmartins Thierry Martins
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: