[rvm-research] java.util.zip.ZipException

Shoaib Akram <[email protected]> Sat, 30 May 2020 00:30:18 +1000
Newsgroups gmane.comp.java.jikes.rvm.devel
Message-ID <[email protected]>
--===============5764498096512691495==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_40A0CF16-5E3B-40E1-82D2-5A5603842CFE"


--Apple-Mail=_40A0CF16-5E3B-40E1-82D2-5A5603842CFE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi All,

Greetings from ANU, Canberra!

I am moving my many years old highly modified Jikes RVM 3.1.3 repository =
to a new server. I can build it on my new server, but I have the =
following exception during benchmark execution. I have tried building =
with Java 1.6 and 1.7 and 1.8. As usual, I am executing 32-bit Jikes RVM =
on a 64-bit server, with the i386 libraries adequately supplied during =
run-time. My Linux OS is 4.13.0-32-generic #35-Ubuntu. I am running a =
DaCapo benchmark using the well-established harness mechanism.=20

So, has anyone seen this exception before? I can probably hack the =
DaCapo harness to get around this issue because I don=E2=80=99t think =
there is an actual I/O exception, and there is not any corruption in the =
jar files. But I wonder what is going on.

Thanks!

java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
   at java.lang.Exception.<init>(Exception.java:90)
   at =
java.lang.reflect.InvocationTargetException.<init>(InvocationTargetExcepti=
on.java:98)
   at =
java.lang.reflect.InvocationTargetException.<init>(InvocationTargetExcepti=
on.java:86)
   at =
java.lang.reflect.VMCommonLibrarySupport.construct(VMCommonLibrarySupport.=
java:439)
   at java.lang.reflect.VMConstructor.construct(VMConstructor.java:88)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:317)
   at dacapo.TestHarness.runBenchmark(TestHarness.java:270)
   at dacapo.TestHarness.main(TestHarness.java:242)
   at Harness.main(Harness.java:5)
Caused by: java.util.zip.ZipException: size mismatch: 1167;2740 <-> =
1167;2863
   at java.lang.Exception.<init>(Exception.java:78)
   at java.io.IOException.<init>(IOException.java:72)
   at java.util.zip.ZipException.<init>(ZipException.java:70)
   at java.util.zip.ZipInputStream.read(ZipInputStream.java:321)
   at dacapo.Benchmark.unpackZipStream(Benchmark.java:508)
   at dacapo.Benchmark.unpackZipFileResource(Benchmark.java:484)
   at dacapo.Benchmark.prepare(Benchmark.java:170)
   at dacapo.antlr.AntlrHarness.prepare(AntlrHarness.java:26)
   at dacapo.Benchmark.<init>(Benchmark.java:162)
   at dacapo.antlr.AntlrHarness.<init>(AntlrHarness.java:22)
   at =
org.jikesrvm.classloader.ReflectionBase$$Reflect39865.invokeInternal(Unkno=
wn Source:0)
   at =
org.jikesrvm.runtime.ReflectionBase.invoke(ReflectionBase.java:180)
   at org.jikesrvm.runtime.Reflection.invoke(Reflection.java:74)
   at =
java.lang.reflect.VMCommonLibrarySupport.construct(VMCommonLibrarySupport.=
java:437)

Regards,
Shoaib


--Apple-Mail=_40A0CF16-5E3B-40E1-82D2-5A5603842CFE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">Hi =
All,<div class=3D""><br class=3D""></div><div class=3D""><div =
class=3D"">Greetings from ANU, Canberra!</div><div class=3D""><br =
class=3D""></div><div class=3D"">I am moving my many years old highly =
modified Jikes RVM 3.1.3 repository to a new server. I can build it on =
my new server, but I have the following exception during benchmark =
execution. I have tried building with Java 1.6 and 1.7 and 1.8. As =
usual, I am executing 32-bit Jikes RVM on a 64-bit server, with the i386 =
libraries adequately supplied during run-time. My Linux OS is =
4.13.0-32-generic #35-Ubuntu. I am running a DaCapo benchmark using the =
well-established harness mechanism.&nbsp;</div><div class=3D""><br =
class=3D""></div><div class=3D"">So, has anyone seen this exception =
before? I can probably hack the DaCapo harness to get around this issue =
because I don=E2=80=99t think there is an actual I/O exception, and =
there is not any corruption in the jar files. But I wonder what is going =
on.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Thanks!</div></div><div class=3D""><br class=3D""></div><div =
class=3D""><div style=3D"margin: 0px; font-stretch: normal; line-height: =
normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures;" =
class=3D"">java.lang.reflect.InvocationTargetException</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">java.lang.reflect.InvocationTargetException</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
java.lang.Exception.&lt;init&gt;(Exception.java:90)</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
java.lang.reflect.InvocationTargetException.&lt;init&gt;(InvocationTargetE=
xception.java:98)</span></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
java.lang.reflect.InvocationTargetException.&lt;init&gt;(InvocationTargetE=
xception.java:86)</span></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
java.lang.reflect.VMCommonLibrarySupport.construct(VMCommonLibrarySupport.=
java:439)</span></div><div style=3D"margin: 0px; font-stretch: normal; =
line-height: normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp;&nbsp; at =
java.lang.reflect.VMConstructor.construct(VMConstructor.java:88)</span></d=
iv><div style=3D"margin: 0px; font-stretch: normal; line-height: =
normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp;&nbsp; at =
java.lang.reflect.Constructor.newInstance(Constructor.java:317)</span></di=
v><div style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
dacapo.TestHarness.runBenchmark(TestHarness.java:270)</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
dacapo.TestHarness.main(TestHarness.java:242)</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at Harness.main(Harness.java:5)</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures; =
font-style: normal;" class=3D""><b class=3D"">Caused by: =
java.util.zip.ZipException: size mismatch: 1167;2740 &lt;-&gt; =
1167;2863</b></span></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
java.lang.Exception.&lt;init&gt;(Exception.java:78)</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
java.io.IOException.&lt;init&gt;(IOException.java:72)</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
java.util.zip.ZipException.&lt;init&gt;(ZipException.java:70)</span></div>=
<div style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
java.util.zip.ZipInputStream.read(ZipInputStream.java:321)</span></div><di=
v style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
dacapo.Benchmark.unpackZipStream(Benchmark.java:508)</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
dacapo.Benchmark.unpackZipFileResource(Benchmark.java:484)</span></div><di=
v style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
dacapo.Benchmark.prepare(Benchmark.java:170)</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
dacapo.antlr.AntlrHarness.prepare(AntlrHarness.java:26)</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
dacapo.Benchmark.&lt;init&gt;(Benchmark.java:162)</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
dacapo.antlr.AntlrHarness.&lt;init&gt;(AntlrHarness.java:22)</span></div><=
div style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
org.jikesrvm.classloader.ReflectionBase$$Reflect39865.invokeInternal(Unkno=
wn Source:0)</span></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; at =
org.jikesrvm.runtime.ReflectionBase.invoke(ReflectionBase.java:180)</span>=
</div><div style=3D"margin: 0px; font-stretch: normal; line-height: =
normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp;&nbsp; at =
org.jikesrvm.runtime.Reflection.invoke(Reflection.java:74)</span></div><di=
v style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures;" =
class=3D"">&nbsp;&nbsp; at =
java.lang.reflect.VMCommonLibrarySupport.construct(VMCommonLibrarySupport.=
java:437)</span></div></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures;" class=3D""><br =
class=3D""></span></div><div style=3D"margin: 0px; font-stretch: normal; =
line-height: normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures;" class=3D"">Regards,</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures;" =
class=3D"">Shoaib</span></div><div class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""><br =
class=3D""></span></div></body></html>=

--Apple-Mail=_40A0CF16-5E3B-40E1-82D2-5A5603842CFE--


--===============5764498096512691495==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============5764498096512691495==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers

--===============5764498096512691495==--