Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.1
-
None
Description
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.