Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-6225

unable to install a pear package into a directory containing special character like <,> or &

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.3SDK
    • 2.11.0SDK, 3.2.0SDK
    • None
    • None

    Description

      If I try to install the attached pear I got an PackageInstallerException (see under).

      The following workaround did not work :
      replacing the $main_root with the real path like '/usr/local/tomcat/shared/pipelines/pears/<' produces the same error.

       

       

      Caused by: org.apache.uima.pear.tools.PackageInstallerException: The following error occurred during the installation verification of component hello-world-pear-1.2.0: java.io.IOException: org.xml.sax.SAXParseException; systemId: file:/usr/local/tomcat/shared/pipelines/%3C/pears/hello-world-pear-1.2.0/metadata/install.xml; lineNumber: 14; columnNumber: 46; The element type "DESC" must be terminated by the matching end-tag "</DESC>".Caused by: org.apache.uima.pear.tools.PackageInstallerException: The following error occurred during the installation verification of component hello-world-pear-1.2.0: java.io.IOException: org.xml.sax.SAXParseException; systemId: file:/usr/local/tomcat/shared/pipelines/%3C/pears/hello-world-pear-1.2.0/metadata/install.xml; lineNumber: 14; columnNumber: 46; The element type "DESC" must be terminated by the matching end-tag "</DESC>". at org.apache.uima.pear.tools.PackageBrowser.getInstallationDescriptor(PackageBrowser.java:377) at org.apache.uima.pear.tools.InstallationController.verifyComponentInstallation(InstallationController.java:1092) at org.apache.uima.pear.tools.InstallationController.verifyComponent(InstallationController.java:1993) at org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:268) at org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:99)

      Attachments

        1. hello-world-pear-1.2.0.pear
          7 kB
          Serge Démoulin

        Issue Links

          Activity

            People

              rec Richard Eckart de Castilho
              serge712 Serge Démoulin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0.2h
                  0.2h
                  Remaining:
                  Remaining Estimate - 0.2h
                  0.2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified