https://bugzilla.novell.com/show_bug.cgi?id=685215
https://bugzilla.novell.com/show_bug.cgi?id=685215#c0 Summary: Odd SurfaceView Touch Exception Classification: Mono Product: MonoDroid Version: unspecified Platform: 64bit OS/Version: Windows 7 Status: NEW Severity: Major Priority: P5 - None Component: Runtime AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: Beta-Customer Blocker: --- Created an attachment (id=423261) --> (http://bugzilla.novell.com/attachment.cgi?id=423261) Example Code Description of Problem: I've written a test app here that deliberately draws a lot of stuff onto the canvas. If you drag this drawing around enough, you eventually get the following exception in the device log: 04-05 09:02:05.329: ERROR/mono(15202): Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object 04-05 09:02:05.329: ERROR/mono(15202): at Java.Lang.Object.GetObject (IntPtr handle, System.Type type, Boolean owned) [0x00000] in <filename unknown>:0 04-05 09:02:05.329: ERROR/mono(15202): at Java.Lang.Object._GetObject[IOnTouchListener] (IntPtr handle, Boolean owned) [0x00000] in <filename unknown>:0 04-05 09:02:05.329: ERROR/mono(15202): at Java.Lang.Object.GetObject[IOnTouchListener] (IntPtr handle, Boolean owned) [0x00000] in <filename unknown>:0 04-05 09:02:05.329: ERROR/mono(15202): at Android.Views.View+IOnTouchListenerAdapter.n_OnTouch_Landroid_view_View_Landroid_view_MotionEvent_ (IntPtr jnienv, IntPtr native__this, IntPtr native_v, IntPtr native_e) [0x00000] in <filename unknown>:0 04-05 09:02:05.329: ERROR/mono(15202): at (wrapper dynamic-method) object:b039cbb0-15e9-4f47-87ce-442060701362 (intptr,intptr,intptr,intptr) Steps to reproduce the problem: 1. Run the test code I have supplied. 2. Drag your finger back and forth across the screen (this can take up to about 15 seconds on my Samsung). 3. Notice the drawing moving about the screen somewhat sluggishly. 4. App crashes Actual Results: App crashes. Expected Results: App does not crash. How often does this happen? Every time after about 5-15 seconds of dragging. Additional Information: This test app simulates a real problem I'm having with a custom view I'm writing. I'm using a surface view because I read that it's better for intense rendering. If there's a better approach, please let me know. -- 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
