-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
7
-
x86
-
windows_xp
FULL PRODUCT VERSION :
F:\tejasoft\work\>java -version
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b66)
Java HotSpot(TM) Client VM (build 16.0-b06, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Windows XP, Ant, JDK
EXTRA RELEVANT SYSTEM CONFIGURATION :
Ant 1.7.1, Liferay binaries
A DESCRIPTION OF THE PROBLEM :
When trying to unzip large files using ant 1.7.1 <unzip> task and with jdk 1.7 it throughs the error
instLFTomcat:
[unzip] Expanding: E:\Downloads\Softwares\java\portals\liferay\5.x\liferay-p
ortal-tomcat-6.0-5.2.3.zip into d:\Apps\java\portals\lf
BUILD FAILED
java.lang.IllegalArgumentException: invalid entry crc-32
at java.util.zip.ZipEntry.setCrc(ZipEntry.java:186)
at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.jav
a:300)
at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:152)
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:137)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Where the same thing works with jdk 1.6 update 14.
We tried to unzip the file liferay-portal-tomcat-6.0-5.2.3 of liferay.com (it was dowloaded locally and tried to unzip using local dir path).
The size of this file is 138 mb.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
use <unzip> with this file using ant, it would fail
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
It is supposed to unzip as the zip file is a valid zip file and works fine in jdk 1.6 update 14 and also using winzip.
ACTUAL -
fails with exception
instLFTomcat:
[unzip] Expanding: E:\Downloads\Softwares\java\portals\liferay\5.x\liferay-p
ortal-tomcat-6.0-5.2.3.zip into d:\Apps\java\portals\lf
BUILD FAILED
java.lang.IllegalArgumentException: invalid entry crc-32
at java.util.zip.ZipEntry.setCrc(ZipEntry.java:186)
at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.jav
a:300)
at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:152)
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:137)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
ERROR MESSAGES/STACK TRACES THAT OCCUR :
instLFTomcat:
[unzip] Expanding: E:\Downloads\Softwares\java\portals\liferay\5.x\liferay-p
ortal-tomcat-6.0-5.2.3.zip into d:\Apps\java\portals\lf
BUILD FAILED
java.lang.IllegalArgumentException: invalid entry crc-32
at java.util.zip.ZipEntry.setCrc(ZipEntry.java:186)
at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.jav
a:300)
at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:152)
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:137)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Use jdk 1.6 update 14
Release Regression From : 6u14
The above release value was the last known release where this
bug was not reproducible. Since then there has been a regression.
Release Regression From : 6u14
The above release value was the last known release where this
bug was not reproducible. Since then there has been a regression.
F:\tejasoft\work\>java -version
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b66)
Java HotSpot(TM) Client VM (build 16.0-b06, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Windows XP, Ant, JDK
EXTRA RELEVANT SYSTEM CONFIGURATION :
Ant 1.7.1, Liferay binaries
A DESCRIPTION OF THE PROBLEM :
When trying to unzip large files using ant 1.7.1 <unzip> task and with jdk 1.7 it throughs the error
instLFTomcat:
[unzip] Expanding: E:\Downloads\Softwares\java\portals\liferay\5.x\liferay-p
ortal-tomcat-6.0-5.2.3.zip into d:\Apps\java\portals\lf
BUILD FAILED
java.lang.IllegalArgumentException: invalid entry crc-32
at java.util.zip.ZipEntry.setCrc(ZipEntry.java:186)
at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.jav
a:300)
at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:152)
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:137)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Where the same thing works with jdk 1.6 update 14.
We tried to unzip the file liferay-portal-tomcat-6.0-5.2.3 of liferay.com (it was dowloaded locally and tried to unzip using local dir path).
The size of this file is 138 mb.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
use <unzip> with this file using ant, it would fail
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
It is supposed to unzip as the zip file is a valid zip file and works fine in jdk 1.6 update 14 and also using winzip.
ACTUAL -
fails with exception
instLFTomcat:
[unzip] Expanding: E:\Downloads\Softwares\java\portals\liferay\5.x\liferay-p
ortal-tomcat-6.0-5.2.3.zip into d:\Apps\java\portals\lf
BUILD FAILED
java.lang.IllegalArgumentException: invalid entry crc-32
at java.util.zip.ZipEntry.setCrc(ZipEntry.java:186)
at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.jav
a:300)
at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:152)
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:137)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
ERROR MESSAGES/STACK TRACES THAT OCCUR :
instLFTomcat:
[unzip] Expanding: E:\Downloads\Softwares\java\portals\liferay\5.x\liferay-p
ortal-tomcat-6.0-5.2.3.zip into d:\Apps\java\portals\lf
BUILD FAILED
java.lang.IllegalArgumentException: invalid entry crc-32
at java.util.zip.ZipEntry.setCrc(ZipEntry.java:186)
at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.jav
a:300)
at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:152)
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:137)
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Use jdk 1.6 update 14
Release Regression From : 6u14
The above release value was the last known release where this
bug was not reproducible. Since then there has been a regression.
Release Regression From : 6u14
The above release value was the last known release where this
bug was not reproducible. Since then there has been a regression.
- duplicates
-
JDK-6863155 Server compiler generates incorrect code (x86, long, bitshift, bitmask)
- Closed