Re: [Ikvm-developers] Null Exception on IKVM.Runtime.JNIEnv.StringFromUTF8
Brought to you by:
jfrijters
From: Jeroen F. <je...@su...> - 2013-10-25 06:59:00
|
I've posted a development snapshot build that fixes the NullReferenceException in NewStringUTF. Can you try that? It is available here: http://www.frijters.net/ikvmbin-7.4.5046.zip Regards, Jeroen ________________________________ From: Danlourd Ramirez Sent: Thursday, October 24, 2013 3:48 PM To: Jeroen Frijters; ikv...@li... Subject: Re: [Ikvm-developers] Null Exception on IKVM.Runtime.JNIEnv.StringFromUTF8 Also this issue doesn't happen in all mac machine that we try it with. From what I can tell from the logs prior to the exception, the IKVM runtime is loading I18N.dll which then loads I18N.West.dll after some time the exception occurs. So I was wondering what the IKVM runtime is trying to do at this point. I know the I18N.dll and I18N.West.dll is for language code pages, does it mean the IKVM runtime, on some machines that we run our app, did not find languages and bombs out? From: Jeroen Frijters <je...@su...<mailto:je...@su...>> Date: Wednesday, October 23, 2013 10:58 PM To: Danlourd Ramirez <dan...@ei...<mailto:dan...@ei...>>, "ikv...@li...<mailto:ikv...@li...>" <ikv...@li...<mailto:ikv...@li...>> Subject: RE: [Ikvm-developers] Null Exception on IKVM.Runtime.JNIEnv.StringFromUTF8 Hi Danlourd, This is a difference between IKVM's JNI implementation and the reference implementation. IKVM does not expect a null pointer to be passed to NewStringUTF. I will fix this in a future update. Thanks for reporting this. Regards, Jeroen ________________________________ From: Danlourd Ramirez Sent: Wednesday, October 23, 2013 10:31 PM To: ikv...@li...<mailto:ikv...@li...> Subject: [Ikvm-developers] Null Exception on IKVM.Runtime.JNIEnv.StringFromUTF8 We are running to an issue where IKVM.Runtime.JNIEnv.StringFromUTF8 will throw a null exception while loading our application on mac. I enabled mono debug logging and listed it below. The version of IKVM runtime is 7.2.4630.5 and we are using mono 3.0.1 that we bundled with our app. Can you help me figure out what could cause this issue? [...] Unhandled exception: System.NullReferenceException: Object reference not set to an instance of an object at IKVM.Runtime.JNIEnv.StringFromUTF8 (System.Byte* psz) [0x00000] in <filename unknown>:0 at IKVM.Runtime.JNIEnv.NewStringUTF (IKVM.Runtime.JNIEnv* pEnv, System.Byte* psz) [0x00000] in <filename unknown>:0 at (wrapper native-to-managed) IKVM.Runtime.JNIEnv:NewStringUTF (IKVM.Runtime.JNIEnv*,byte*) [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object at IKVM.Runtime.JNIEnv.StringFromUTF8 (System.Byte* psz) [0x00000] in <filename unknown>:0 at IKVM.Runtime.JNIEnv.NewStringUTF (IKVM.Runtime.JNIEnv* pEnv, System.Byte* psz) [0x00000] in <filename unknown>:0 at (wrapper native-to-managed) IKVM.Runtime.JNIEnv:NewStringUTF (IKVM.Runtime.JNIEnv*,byte*) Danlourd Ramirez | Software Engineer Turning Technologies | 255 West Federal Street | Youngstown, OH 44503 Direct: 480-443-2210 | Main: 330-746-3015 | Toll Free: 866-746-3015 | Fax: 330-884-6065 dan...@ei...<mailto:dan...@ei...> | www.TurningTechnologies.com<http://www.turningtechnologies.com/> Stay Connected - @TurningTech<https://twitter.com/TurningTech> * Find us on Facebook<http://www.facebook.com/#!/pages/Turning-Technologies/104796086230111?ref=ts> Turning Technologies - Assessment Delivery and Data Collection Solutions ________________________________ This message is intended only for the use of the individual (s) or entity to which it is addressed and may contain information that is privileged, confidential, and/or proprietary to eInstruction and its affiliates. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, forwarding or copying of this communication is prohibited without the express permission of the sender. If you have received this communication in error, please notify the sender immediately and delete the original message. ________________________________ This message is intended only for the use of the individual (s) or entity to which it is addressed and may contain information that is privileged, confidential, and/or proprietary to eInstruction and its affiliates. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, forwarding or copying of this communication is prohibited without the express permission of the sender. If you have received this communication in error, please notify the sender immediately and delete the original message. |