[Mono-bugs] [Bug 672845] New: Activity implementing ILocationListener and Camera.IPreviewCallback causes NullReferenceException
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Feb 16 19:14:43 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=672845
https://bugzilla.novell.com/show_bug.cgi?id=672845#c0
Summary: Activity implementing ILocationListener and
Camera.IPreviewCallback causes NullReferenceException
Classification: Mono
Product: MonoDroid
Version: SVN
Platform: 64bit
OS/Version: Windows 7
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Class Libraries
AssignedTo: mkestner at novell.com
ReportedBy: leonardo at torqsoftware.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=414563)
--> (http://bugzilla.novell.com/attachment.cgi?id=414563)
Sample project
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13
I've created a simple app that implements ILocationListener,
ISurfaceHolderCallback and Camera.IPreviewCallback.
When the OnLocationChanged event is fired, a NullReferenceException is thrown
on the get method of the new location.Longitude or location.Latitude (based on
the call stack).
The application was tested on a HTC Desire (2.2) and a HTC Google Nexus One
(2.2.2) using MonoDroid Preview 12.
Removing the Camera.IPreviewCallback implementation will remove this error.
Please advise.
Reproducible: Always
Steps to Reproduce:
1. Run the sample project.
2.
3.
Actual Results:
Throws a null reference exception on the OnLocationChanged event.
Expected Results:
GPS values updating.
--
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