Re: Error when adding a item in a arraylist
roberto munut via Ikvm-developers <[email protected]> Wed, 28 Jun 2017 14:27:30 +0000 (UTC)
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============4182675822764390858==
Content-Type: multipart/alternative;
boundary="----=_Part_828779_1161883645.1498660050683"
Content-Length: 16136
------=_Part_828779_1161883645.1498660050683
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
=20
Il Mercoled=C3=AC 28 Giugno 2017 16:19, roberto munut <funboy_it@yahoo.=
it> ha scritto:
=20
[email protected]=20
Il Mercoled=C3=AC 28 Giugno 2017 16:06, roberto munut <funboy_it@yahoo.=
it> ha scritto:
=20
the message of exception is=C2=A0
The type initializer for 'IKVM.Internal.ClassLoaderWrapper' threw an except=
ion.
under innerexception the message is=C2=A0
The method or operation is not implemented.=C2=A0
and the stacktrace is
at IKVM.Internal.RuntimeReflectionHelper.GetCoreAssembly()at IKVM.Internal.=
ClassLoaderWrapper.LoadRemappedTypes()at IKVM.Internal.ClassLoaderWrapper..=
cctor()
it is possible that the jar use some methods that are non implemented in yo=
ur custom java virtual machine
regards
=20
Il Mercoled=C3=AC 28 Giugno 2017 14:50, Volker Berlin <vberlin@inetsoft=
ware.de> ha scritto:
=20
What is the class and message of the exception?
=20
Am 28.06.2017 um 10:31 schrieb roberto munut via Ikvm-developers:
=20
=20
Hi , i convert a jar with ikwm, and i have no errors when the dll in creat=
ed, the jar in compiled with java sdk 1.6=20
But when i try to use the generated dll i have the follow error. What cou=
ld be your problem?=20
=20
=20
=C2=A0 =C2=A0in IKVM.Internal.ClassLoaderWrapper.IsRemappedType(Type type=
) =C2=A0 =C2=A0in IKVM.NativeCode.ikvm.runtime.Util.GetTypeWrapperFromObjec=
t(Object o) =C2=A0 =C2=A0in IKVM.NativeCode.ikvm.runtime.Util.getClassFromO=
bject(Object o) =C2=A0 =C2=A0in ikvm.runtime.Util.getClassFromObject(Object=
o) =C2=A0 =C2=A0in java.lang.Object.instancehelper_getClass(Object this) =
=C2=A0 =C2=A0in java.util.Arrays.copyOf(Object[] original, Int32 newLength)=
=C2=A0 =C2=A0in java.util.ArrayList.grow(Int32 ) =C2=A0 =C2=A0in java.util=
.ArrayList.ensureExplicitCapacity(Int32 ) =C2=A0 =C2=A0in java.util.ArrayLi=
st.ensureCapacityInternal(Int32 ) =C2=A0 =C2=A0in java.util.ArrayList.add(O=
bject e) =C2=A0 =C2=A0in CTManagers.addDevice(CTDeviceType deviceType)=20
Regards =20
=20
--------------------------------------------------------------------------=
----
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot=20
=20
_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers
=20
--------------------------------------------------------------------------=
----
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot________________=
_______________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers
=20
=20
=20
------=_Part_828779_1161883645.1498660050683
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<html><head></head><body><div style=3D"color:#000; background-color:#fff; f=
ont-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font=
-size:13px"><div id=3D"yui_3_16_0_1_1498638030708_44305"><span></span></div=
> <div class=3D"qtdSeparateBR" id=3D"yui_3_16_0_1_1498638030708_44571"><br>=
<br></div><div class=3D"yahoo_quoted" id=3D"yui_3_16_0_1_1498638030708_4456=
2" style=3D"display: block;"> <div style=3D"font-family: Helvetica Neue, He=
lvetica, Arial, Lucida Grande, sans-serif; font-size: 13px;" id=3D"yui_3_16=
_0_1_1498638030708_44561"> <div style=3D"font-family: HelveticaNeue, Helvet=
ica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id=
=3D"yui_3_16_0_1_1498638030708_44560"> <div dir=3D"ltr" id=3D"yui_3_16_0_1_=
1498638030708_44566"><font size=3D"2" face=3D"Arial" id=3D"yui_3_16_0_1_149=
8638030708_44565"> Il Mercoled=C3=AC 28 Giugno 2017 16:19, roberto munut &l=
t;[email protected]> ha scritto:<br></font></div> <br><br> <div class=
=3D"y_msg_container" id=3D"yui_3_16_0_1_1498638030708_44559"><div id=3D"yiv=
5970505440"><div id=3D"yui_3_16_0_1_1498638030708_44558"><div style=3D"colo=
r:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, =
Lucida Grande, sans-serif;font-size:13px;" id=3D"yui_3_16_0_1_1498638030708=
_44557"><div dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_3542=
7"><a rel=3D"nofollow" shape=3D"rect" id=3D"yiv5970505440yui_3_16_0_1_14986=
38030708_35430" ymailto=3D"mailto:[email protected]" ta=
rget=3D"_blank" href=3D"mailto:[email protected]" style=
=3D"text-decoration-line:none;background-color:rgb(255, 255, 255);"><span i=
d=3D"yiv5970505440yui_3_16_0_1_1498638030708_35431">[email protected]=
ourceforge.net</span></a><span></span></div> <div class=3D"yiv5970505440qtd=
SeparateBR" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_35575"><br clear=
=3D"none"><br clear=3D"none"></div><div class=3D"yiv5970505440yqt0976797417=
" id=3D"yiv5970505440yqt47312"><div class=3D"yiv5970505440yahoo_quoted" id=
=3D"yiv5970505440yui_3_16_0_1_1498638030708_35574" style=3D"display:block;"=
> <div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_35573" style=3D"font-f=
amily:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size=
:13px;"> <div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_35572" style=3D=
"font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande=
, sans-serif;font-size:16px;"> <div dir=3D"ltr" id=3D"yui_3_16_0_1_14986380=
30708_44564"><font size=3D"2" face=3D"Arial" id=3D"yui_3_16_0_1_14986380307=
08_44563"> Il Mercoled=C3=AC 28 Giugno 2017 16:06, roberto munut <funboy=
[email protected]> ha scritto:<br clear=3D"none"></font></div> <br clear=3D"=
none"><br clear=3D"none"> <div class=3D"yiv5970505440y_msg_container" id=3D=
"yiv5970505440yui_3_16_0_1_1498638030708_35571"><div id=3D"yiv5970505440"><=
div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_35570"><div id=3D"yiv5970=
505440yui_3_16_0_1_1498638030708_35569" style=3D"color:#000;background-colo=
r:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-se=
rif;font-size:13px;"><div dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_14986=
38030708_27489"><span id=3D"yiv5970505440yui_3_16_0_1_1498638030708_27668">=
the message of exception is </span></div><div dir=3D"ltr" id=3D"yiv597=
0505440yui_3_16_0_1_1498638030708_27489"><br clear=3D"none"></div><div dir=
=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_27489">The type init=
ializer for 'IKVM.Internal.ClassLoaderWrapper' threw an exception.</div><di=
v dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_27489"><br clea=
r=3D"none"></div><div dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_149863803=
0708_27489">under innerexception the message is </div><div dir=3D"ltr"=
id=3D"yiv5970505440yui_3_16_0_1_1498638030708_27489"><br clear=3D"none"></=
div><div dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_27489">T=
he method or operation is not implemented. </div><div dir=3D"ltr" id=
=3D"yiv5970505440yui_3_16_0_1_1498638030708_27489"><br clear=3D"none"></div=
><div dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_27489">and =
the stacktrace is</div><div dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_149=
8638030708_27489"><br clear=3D"none"></div><div dir=3D"ltr" id=3D"yiv597050=
5440yui_3_16_0_1_1498638030708_27780">at IKVM.Internal.RuntimeReflectionHel=
per.GetCoreAssembly()</div><div dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1=
_1498638030708_27781">at IKVM.Internal.ClassLoaderWrapper.LoadRemappedTypes=
()</div><div dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_2778=
2">at IKVM.Internal.ClassLoaderWrapper..cctor()</div><div dir=3D"ltr" id=3D=
"yiv5970505440yui_3_16_0_1_1498638030708_27782"><br clear=3D"none"></div><d=
iv dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_27782">it is p=
ossible that the jar use some methods that are non implemented in your cust=
om java virtual machine</div><div dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0=
_1_1498638030708_27782"><br clear=3D"none"></div><div dir=3D"ltr" id=3D"yiv=
5970505440yui_3_16_0_1_1498638030708_27782">regards</div><div dir=3D"ltr" i=
d=3D"yiv5970505440yui_3_16_0_1_1498638030708_27489"><br clear=3D"none"></di=
v><div dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_27489"><br=
clear=3D"none"></div> <div class=3D"yiv5970505440qtdSeparateBR" id=3D"yui_=
3_16_0_1_1498638030708_44567"><br clear=3D"none"><br clear=3D"none"></div><=
div class=3D"yiv5970505440yahoo_quoted" id=3D"yiv5970505440yui_3_16_0_1_149=
8638030708_35578" style=3D"display:block;"> <div id=3D"yiv5970505440yui_3_1=
6_0_1_1498638030708_35577" style=3D"font-family:Helvetica Neue, Helvetica, =
Arial, Lucida Grande, sans-serif;font-size:13px;"> <div id=3D"yiv5970505440=
yui_3_16_0_1_1498638030708_35576" style=3D"font-family:HelveticaNeue, Helve=
tica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <d=
iv dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_35580"><font i=
d=3D"yiv5970505440yui_3_16_0_1_1498638030708_35579" size=3D"2" face=3D"Aria=
l"> Il Mercoled=C3=AC 28 Giugno 2017 14:50, Volker Berlin <vberlin@inets=
oftware.de> ha scritto:<br clear=3D"none"></font></div> <br clear=3D"no=
ne"><br clear=3D"none"> <div class=3D"yiv5970505440y_msg_container" id=3D"y=
iv5970505440yui_3_16_0_1_1498638030708_35583"><div class=3D"yiv5970505440yq=
t6110515458" id=3D"yiv5970505440yqt58138"><div id=3D"yiv5970505440"><div id=
=3D"yiv5970505440yui_3_16_0_1_1498638030708_35590">
<div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_35589">What is the c=
lass and message of the exception?<br clear=3D"none">
</div>
<br clear=3D"none">
<div class=3D"yiv5970505440moz-cite-prefix" id=3D"yui_3_16_0_1_14986380=
30708_44570">Am 28.06.2017 um 10:31 schrieb roberto
munut via Ikvm-developers:<br clear=3D"none">
</div>
<blockquote type=3D"cite">
</blockquote></div><div id=3D"yiv5970505440yui_3_16_0_1_1498638030708=
_35582"><div class=3D"yiv5970505440yqt3208738065" id=3D"yiv5970505440yqt518=
13"><div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_35581" style=3D"colo=
r:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, =
Lucida Grande, sans-serif;font-size:13px;">
<div dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_4806=
">Hi , i
convert a jar with ikwm, and i have no errors when the dll in
created, the jar in compiled with java sdk 1.6</div>
<div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6728"><br clear=
=3D"none" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6729">
</div>
<div dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6730=
">But when i
try to use the generated dll i have the follow error. What
could be your problem?</div>
<div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_4806"><br clear=
=3D"none">
</div>
<div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_4806"><br clear=
=3D"none">
</div>
<div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_4806"><br clear=
=3D"none">
</div>
<div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6562"> &nb=
sp;in
IKVM.Internal.ClassLoaderWrapper.IsRemappedType(Type type)</div>
<div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6563"> &nb=
sp;in
IKVM.NativeCode.ikvm.runtime.Util.GetTypeWrapperFromObject(Object
o)</div>
<div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6564"> &nb=
sp;in
IKVM.NativeCode.ikvm.runtime.Util.getClassFromObject(Object o)</d=
iv>
<div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6565"> &nb=
sp;in
ikvm.runtime.Util.getClassFromObject(Object o)</div>
<div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6566"> &nb=
sp;in
java.lang.Object.instancehelper_getClass(Object this)</div>
<div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6567"> &nb=
sp;in
java.util.Arrays.copyOf(Object[] original, Int32 newLength)</div>
<div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6568"> &nb=
sp;in
java.util.ArrayList.grow(Int32 )</div>
<div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6569"> &nb=
sp;in
java.util.ArrayList.ensureExplicitCapacity(Int32 )</div>
<div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6570"> &nb=
sp;in
java.util.ArrayList.ensureCapacityInternal(Int32 )</div>
<div id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6571"> &nb=
sp;in
java.util.ArrayList.add(Object e)</div>
<div dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6572=
"> in
CTManagers.addDevice(CTDeviceType deviceType)</div>
<div dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6572=
"><br clear=3D"none">
</div>
<div dir=3D"ltr" id=3D"yiv5970505440yui_3_16_0_1_1498638030708_6572=
">Regards</div>
</div></div>
<br clear=3D"none">
<fieldset class=3D"yiv5970505440mimeAttachmentHeader" id=3D"yiv597050=
5440yui_3_16_0_1_1498638030708_35605"></fieldset>
<br clear=3D"none">
<pre id=3D"yiv5970505440yui_3_16_0_1_1498638030708_35588">-----------=
-------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! <a rel=3D"nofollow" shape=3D"rect" class=
=3D"yiv5970505440moz-txt-link-freetext" target=3D"_blank" href=3D"http://sd=
m.link/slashdot">http://sdm.link/slashdot</a></pre>
<br clear=3D"none">
<fieldset class=3D"yiv5970505440mimeAttachmentHeader" id=3D"yui_3_16_=
0_1_1498638030708_44568"></fieldset>
<br clear=3D"none">
<pre id=3D"yui_3_16_0_1_1498638030708_44569">________________________=
_______________________
Ikvm-developers mailing list
<a rel=3D"nofollow" shape=3D"rect" class=3D"yiv5970505440moz-txt-link-abbre=
viated" ymailto=3D"mailto:[email protected]" target=3D"=
_blank" href=3D"mailto:[email protected]" id=3D"yui_3_1=
6_0_1_1498638030708_44593">[email protected]</a>
<a rel=3D"nofollow" shape=3D"rect" class=3D"yiv5970505440moz-txt-link-freet=
ext" target=3D"_blank" href=3D"https://lists.sourceforge.net/lists/listinfo=
/ikvm-developers" id=3D"yui_3_16_0_1_1498638030708_44594">https://lists.sou=
rceforge.net/lists/listinfo/ikvm-developers</a>
</pre>
=20
<br clear=3D"none">
</div></div></div><div class=3D"yiv5970505440yqt3208738065" id=3D"yiv5970=
505440yqt18485">-----------------------------------------------------------=
-------------------<br clear=3D"none">Check out the vibrant tech community =
on one of the world's most<br clear=3D"none">engaging tech sites, Slashdot.=
org! <a rel=3D"nofollow" shape=3D"rect" target=3D"_blank" href=3D"http://sd=
m.link/slashdot">http://sdm.link/slashdot</a></div><div class=3D"yiv5970505=
440yqt3208738065" id=3D"yiv5970505440yqt49194">____________________________=
___________________<br clear=3D"none">Ikvm-developers mailing list<br clear=
=3D"none"><a rel=3D"nofollow" shape=3D"rect" ymailto=3D"mailto:Ikvm-develop=
[email protected]" target=3D"_blank" href=3D"mailto:Ikvm-developers=
@lists.sourceforge.net" id=3D"yui_3_16_0_1_1498638030708_44595">Ikvm-develo=
[email protected]</a><br clear=3D"none"><a rel=3D"nofollow" shape=
=3D"rect" target=3D"_blank" href=3D"https://lists.sourceforge.net/lists/lis=
tinfo/ikvm-developers" id=3D"yui_3_16_0_1_1498638030708_44596">https://list=
s.sourceforge.net/lists/listinfo/ikvm-developers</a><br clear=3D"none"></di=
v><br clear=3D"none"><br clear=3D"none"></div> </div> </div> </div></div>=
</div></div><br clear=3D"none"><br clear=3D"none"></div> </div> </div> </=
div></div></div></div></div><br><br></div> </div> </div> </div></div></bo=
dy></html>
------=_Part_828779_1161883645.1498660050683--
--===============4182675822764390858==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============4182675822764390858==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers
--===============4182675822764390858==--