[ 
https://issues.apache.org/jira/browse/UIMA-813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Baessler closed UIMA-813.
---------------------------------

    Resolution: Fixed

Fixed with:

org.apache.uima.pear.tools.PackageInstallerException: The given pear package 
path "D:\temp\Test.pear" does not exist.
        at 
org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:111)
        at 
org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:67)
        at samples.PearInstallerTest.main(PearInstallerTest.java:52)


> improve PEAR error message for the installation of a non-existing PEAR package
> ------------------------------------------------------------------------------
>
>                 Key: UIMA-813
>                 URL: https://issues.apache.org/jira/browse/UIMA-813
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.2.1
>            Reporter: Michael Baessler
>            Assignee: Michael Baessler
>             Fix For: 2.2.2
>
>
> Currently the exception says:
> org.apache.uima.pear.tools.PackageInstallerException: Error while parsing 
> pear package descriptor for pear file D:\test\Test.pear.
>       at 
> org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:113)
>       at 
> org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:66)
>       at samples.PearInstallerTest.main(PearInstallerTest.java:52)
> Caused by: java.util.zip.ZipException: Bad file descriptor D:\test\Test.pear
>       at java.util.zip.ZipFile.open(Native Method)
>       at java.util.zip.ZipFile.<init>(ZipFile.java:238)
>       at java.util.jar.JarFile.<init>(JarFile.java:165)
>       at java.util.jar.JarFile.<init>(JarFile.java:130)
>       at 
> org.apache.uima.pear.tools.PackageInstaller.installPackage(PackageInstaller.java:102)
>       ... 2 more
> But better would be to say that the file does not exist.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to