[Mono-bugs] [Bug 649920] New: Runtime producing UnsatisfiedLinkError on JavaObject hashCode calls

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 28 11:27:51 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=649920

https://bugzilla.novell.com/show_bug.cgi?id=649920#c0


           Summary: Runtime producing UnsatisfiedLinkError on JavaObject
                    hashCode calls
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: akshay at renderdragon.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=397596)
 --> (http://bugzilla.novell.com/attachment.cgi?id=397596)
Code used to reproduce the bug

Description of Problem:
When using JavaDictionary<MyObject, MyObject> to store objects, the call will
produce the exception in the Summary.


Steps to reproduce the problem:
1. Create a custom object and override ToString, Equals and GetHashCode
2. Save the object into a JavaDictionary<MyObject, MyObject> or
JavaList<MyObject>


Actual Results: Exception


Expected Results: Storage of object in Dictionary.


How often does this happen? 
Every time

Additional Information:
Stack Trace:

W/dalvikvm(21941): No implementation found for native
Lmono/android/runtime/JavaObject;.n_hashCode ()I
E/mono    (21941): [0xafd4a830:] EXCEPTION handling:
Java.Lang.UnsatisfiedLinkError: Exception of type
'Java.Lang.UnsatisfiedLinkError' was thrown.
I/rD      (21941): (T) 2010-10-28 10:53:11:   at
Android.Runtime.JNIEnv.CallObjectMethod (IntPtr jobject, IntPtr jmethod,
Android.Runtime.JValue[] parms) [0x00000] in <filename unknown>:0
I/rD      (21941):   at Android.Runtime.JavaDictionary.Put (IJavaObject key,
IJavaObject value) [0x00000] in <filename unknown>:0
I/rD      (21941):   at
Android.Runtime.JavaDictionary`2[RD.NJTransitLib.Agency,RD.NJTransitLib.Agency].set_Item
(RD.NJTransitLib.Agency key, RD.NJTransitLib.Agency value) [0x00000] in
<filename unknown>:0
I/rD      (21941):   at RD.NJTransitLib.Agency.Load (System.Data.DataTable
data) [0x00000] in <filename unknown>:0
W/dalvikvm(21941): No implementation found for native
Lmono/android/runtime/JavaObject;.n_hashCode ()I
E/mono    (21941): [0xafd4a830:] EXCEPTION handling:
Java.Lang.UnsatisfiedLinkError: Exception of type
'Java.Lang.UnsatisfiedLinkError' was thrown.
I/rD      (21941): (T) 2010-10-28 10:53:11:   at
Android.Runtime.JNIEnv.CallObjectMethod (IntPtr jobject, IntPtr jmethod,
Android.Runtime.JValue[] parms) [0x00000] in <filename unknown>:0
I/rD      (21941):   at Android.Runtime.JavaDictionary.Put (IJavaObject key,
IJavaObject value) [0x00000] in <filename unknown>:0
I/rD      (21941):   at
Android.Runtime.JavaDictionary`2[RD.NJTransitLib.Agency,RD.NJTransitLib.Agency].set_Item
(RD.NJTransitLib.Agency key, RD.NJTransitLib.Agency value) [0x00000] in
<filename unknown>:0
I/rD      (21941):   at RD.NJTransitLib.Agency.Load (System.Data.DataTable
data) [0x00000] in <filename unknown>:0

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list