Re: Error when adding a item in a arraylist
Volker Berlin <[email protected]> Wed, 28 Jun 2017 14:36:35 +0200
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============2767738622768077956== Content-Type: multipart/alternative; boundary="------------90EC54856B3978560FB02A3B" Content-Language: de-DE --------------90EC54856B3978560FB02A3B Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit What is the class and message of the exception? Am 28.06.2017 um 10:31 schrieb roberto munut via Ikvm-developers: > 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 > > But when i try to use the generated dll i have the follow error. What > could be your problem? > > > > in IKVM.Internal.ClassLoaderWrapper.IsRemappedType(Type type) > in IKVM.NativeCode.ikvm.runtime.Util.GetTypeWrapperFromObject(Object o) > in IKVM.NativeCode.ikvm.runtime.Util.getClassFromObject(Object o) > in ikvm.runtime.Util.getClassFromObject(Object o) > in java.lang.Object.instancehelper_getClass(Object this) > in java.util.Arrays.copyOf(Object[] original, Int32 newLength) > in java.util.ArrayList.grow(Int32 ) > in java.util.ArrayList.ensureExplicitCapacity(Int32 ) > in java.util.ArrayList.ensureCapacityInternal(Int32 ) > in java.util.ArrayList.add(Object e) > in CTManagers.addDevice(CTDeviceType deviceType) > > Regards > > > ------------------------------------------------------------------------------ > 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 --------------90EC54856B3978560FB02A3B Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body text="#000000" bgcolor="#FFFFFF"> <p>What is the class and message of the exception?<br> </p> <br> <div class="moz-cite-prefix">Am 28.06.2017 um 10:31 schrieb roberto munut via Ikvm-developers:<br> </div> <blockquote type="cite" cite="mid:[email protected]"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px"> <div id="yui_3_16_0_1_1498638030708_4806" dir="ltr">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="yui_3_16_0_1_1498638030708_6728"><br id="yui_3_16_0_1_1498638030708_6729"> </div> <div dir="ltr" id="yui_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="yui_3_16_0_1_1498638030708_4806"><br> </div> <div id="yui_3_16_0_1_1498638030708_4806"><br> </div> <div id="yui_3_16_0_1_1498638030708_4806"><br> </div> <div id="yui_3_16_0_1_1498638030708_6562"> in IKVM.Internal.ClassLoaderWrapper.IsRemappedType(Type type)</div> <div id="yui_3_16_0_1_1498638030708_6563"> in IKVM.NativeCode.ikvm.runtime.Util.GetTypeWrapperFromObject(Object o)</div> <div id="yui_3_16_0_1_1498638030708_6564"> in IKVM.NativeCode.ikvm.runtime.Util.getClassFromObject(Object o)</div> <div id="yui_3_16_0_1_1498638030708_6565"> in ikvm.runtime.Util.getClassFromObject(Object o)</div> <div id="yui_3_16_0_1_1498638030708_6566"> in java.lang.Object.instancehelper_getClass(Object this)</div> <div id="yui_3_16_0_1_1498638030708_6567"> in java.util.Arrays.copyOf(Object[] original, Int32 newLength)</div> <div id="yui_3_16_0_1_1498638030708_6568"> in java.util.ArrayList.grow(Int32 )</div> <div id="yui_3_16_0_1_1498638030708_6569"> in java.util.ArrayList.ensureExplicitCapacity(Int32 )</div> <div id="yui_3_16_0_1_1498638030708_6570"> in java.util.ArrayList.ensureCapacityInternal(Int32 )</div> <div id="yui_3_16_0_1_1498638030708_6571"> in java.util.ArrayList.add(Object e)</div> <div dir="ltr" id="yui_3_16_0_1_1498638030708_6572"> in CTManagers.addDevice(CTDeviceType deviceType)</div> <div dir="ltr" id="yui_3_16_0_1_1498638030708_6572"><br> </div> <div dir="ltr" id="yui_3_16_0_1_1498638030708_6572">Regards</div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! <a class="moz-txt-link-freetext" href="http://sdm.link/slashdot">http://sdm.link/slashdot</a></pre> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Ikvm-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/ikvm-developers">https://lists.sourceforge.net/lists/listinfo/ikvm-developers</a> </pre> </blockquote> <br> </body> </html> --------------90EC54856B3978560FB02A3B-- --===============2767738622768077956== 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 --===============2767738622768077956== 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 --===============2767738622768077956==--