[Mono-bugs] [Bug 658698] New: System.MissingMethodException: No constructor found for **classname**

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Dec 10 01:06:32 EST 2010


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

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


           Summary: System.MissingMethodException: No constructor found
                    for **classname**
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mkestner at novell.com
        ReportedBy: sergio.palma at phlitesoftware.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10

On random occasion, this occurs after some light use of app.  2 or three
activities with some light scrolling of gridviews.  Seems to always be
proceeded by GC_EXPLICIT freed *** objects / ***** bytes in **ms.
Often crashes Activity.

Two examples:

D/dalvikvm( 2008): GC_EXTERNAL_ALLOC freed 575 objects / 21384 bytes in 35ms
D/dalvikvm( 2008): GC_EXTERNAL_ALLOC freed 99 objects / 4584 bytes in 31ms
D/dalvikvm( 2008): GC_EXTERNAL_ALLOC freed 15 objects / 672 bytes in 31ms
D/dalvikvm( 2008): GC_EXPLICIT freed 750 objects / 29752 bytes in 36ms
E/mono    ( 2008): [0xafd4a828:] EXCEPTION handling:
System.MissingMethodException: No constructor found for
MobileClient.Views.ShadowImageView::.ctor(System.IntPtr)
E/mono    ( 2008): [0xafd4a828:] EXCEPTION handling:
System.NotSupportedException: Unable to activate instance of type
MobileClient.Views.ShadowImageView from native handle 521ae5a8
E/Application Exception( 2008): Unable to activate instance of type
MobileClient.Views.ShadowImageView from native handle 521ae5a8 |   at
Android.Runtime.TypeManager.CreateInstance (IntPtr handle, System.Type
targetType) [0x00000] in <filename unknown>:0 
E/Application Exception( 2008):   at Java.Lang.Object.GetObject (IntPtr handle,
System.Type type, Boolean owned) [0x00000] in <filename unknown>:0 
E/Application Exception( 2008):   at Java.Lang.Object.GetObject[Object] (IntPtr
handle, Boolean owned) [0x00000] in <filename unknown>:0 
E/Application Exception( 2008):   at Android.Views.View.GetTag (Int32 key)
[0x00000] in <filename unknown>:0 
E/Application Exception( 2008):   at
MobileClient.Activities.ClaimListGridActivity+ClaimListAdapter.GetView (Int32
position, Android.Views.View convertView, Android.Views.ViewGroup parent)
[0x00000] in <filename unknown>:0 

*****************************************************
D/dalvikvm( 2092): GC_EXPLICIT freed 419 objects / 16760 bytes in 30ms
E/mono    ( 2092): [0xafd4a828:] EXCEPTION handling:
System.MissingMethodException: No constructor found for
MobileClient.Views.BlockProgressView::.ctor(System.IntPtr)
E/mono    ( 2092): [0xafd4a828:] EXCEPTION handling:
System.NotSupportedException: Unable to activate instance of type
MobileClient.Views.BlockProgressView from native handle 52213d78
I/MonoDroid( 2092): UNHANDLED EXCEPTION: System.NotSupportedException: Unable
to activate instance of type MobileClient.Views.BlockProgressView from native
handle 52213d78 ---> System.MissingMethodException: No constructor found for
MobileClient.Views.BlockProgressView::.ctor(System.IntPtr)
I/MonoDroid( 2092):   at System.Activator.CreateInstance (System.Type type,
BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[]
args, System.Globalization.CultureInfo culture, System.Object[]
activationAttributes) [0x00000] in <filename unknown>:0 
I/MonoDroid( 2092):   at System.Activator.CreateInstance (System.Type type,
System.Object[] args, System.Object[] activationAttributes) [0x00000] in
<filename unknown>:0 
I/MonoDroid( 2092):   at System.Activator.CreateInstance (System.Type type,
System.Object[] args) [0x00000] in <filename unknown>:0 
I/MonoDroid( 2092):   at Android.Runtime.TypeManager.CreateInstance (IntPtr
handle, System.Type targetType) [0x00000] in <filename unknown>:0 
I/MonoDroid( 2092):   --- End of inner exception stack trace ---
I/MonoDroid( 2092): at Android.Runtime.TypeManager.CreateInstance
(intptr,System.Type) <0x005a0>
I/MonoDroid( 2092): at Java.Lang.Object.GetObject (intptr,System.Type,bool)
<0x001df>
I/MonoDroid( 2092): at Java.Lang.Object.GetObject<Android.Views.View>
(intptr,bool) <0x0004f>
I/MonoDroid( 2092): at Android.Views.View.n_OnDraw_Landroid_graphics_Canvas_
(intptr,intptr,intptr) <0x00027>
I/MonoDroid( 2092): at (wrapper dynamic-method)
object.b305fdd7-1ff3-49ef-a1b3-0576d70e5a79 (intptr,intptr,intptr) <0x00033>
E/mono    ( 2092): [0xafd4a828:] EXCEPTION handling:
System.NotSupportedException: Unable to activate instance of type
MobileClient.Views.BlockProgressView from native handle 52213d78
E/mono    ( 2092): 
E/mono    ( 2092): Unhandled Exception: System.NotSupportedException: Unable to
activate instance of type MobileClient.Views.BlockProgressView from native
handle 52213d78 ---> System.MissingMethodException: No constructor found for
MobileClient.Views.BlockProgressView::.ctor(System.IntPtr)
E/mono    ( 2092):   at System.Activator.CreateInstance (System.Type type,
BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[]
args, System.Globalization.CultureInfo culture, System.Object[]
activationAttributes) [0x00000] in <filename unknown>:0 
E/mono    ( 2092):   at System.Activator.CreateInstance (System.Type type,
System.Object[] args, System.Object[] activationAttributes) [0x00000] in
<filename unknown>:0 
E/mono    ( 2092):   at System.Activator.CreateInstance (System.Type type,
System.Object[] args) [0x00000] in <filename unknown>:0 
E/mono    ( 2092):   at Android.Runtime.TypeManager.CreateInstance (IntPtr
handle, System.Type targetType) [0x00000] in <filename unknown>:0 
E/mono    ( 2092):   --- End of inner exception stack trace ---
E/mono    ( 2092):   at Android.Runtime.TypeManager.CreateInstance (IntPtr
handle, Sy
I/ActivityManager(   98): Process com.phlite.guideshot.mobileclient (pid 2092)
has died.
I/WindowManager(   98): WIN DEATH: Window{51ff4cf8
com.phlite.guideshot.mobileclient/mobileclient.LaunchActivity paused=false}
I/WindowManager(   98): WIN DEATH: Window{52044388
com.phlite.guideshot.mobileclient/mobileclient.activities.ClaimListGridActivity
paused=false}
D/Zygote  (   58): Process 2092 exited cleanly (1)


Reproducible: Sometimes

Steps to Reproduce:
1.
2.
3.

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


More information about the mono-bugs mailing list