Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error executing sample

See original GitHub issue

I just followed all steps from the main README, installed Plugin.MediaManager in all projects and put this code on a button: await CrossMediaManager.Current.Play("" , MediaFileType.AudioUrl);

When i click the button, the audio plays, but a exception is showed

System.ArgumentException: TimeSpan does not accept floating point Not-a-Number values.
  at at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-macios/src/UIKit/UIApplication.cs:79
  at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/3969/7beaef43/source/xamarin-macios/src/UIKit/UIApplication.cs:63
  at TestApp.iOS.Application.Main (System.String[] args) [0x00008] in /Users/disiqueira/Playground/TestApp/iOS/Main.cs:17

Edit: I am doing a Xamarin Forms project, but debugging on an Iphone 7 iOS 10.2

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

d6ocommented, Mar 28, 2017

Thank you for your ping @candidodmv !! Issue closed!

candidodmvcommented, Mar 28, 2017

@DiSiqueira will be very helpful keep solved issue as closed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What are examples of an execution error?
Your car is wrecked, the other car is wrecked, and neither will drive again. And, quite possibly, one or more occupants of the...
Read more >
Error after executing code in try-sample · Issue #79
open Chrome Dev tool Network tab in browser, found the following error message {"message":"An unhandled exception occurred.
Read more >
Error running Spring-Boot samples
I've just cloned the github repo for Spring Boot samples, and I am trying to run various samples but they all return the...
Read more >
Handling operation errors - Apollo GraphQL Docs
Executing GraphQL operations on a remote server can result in GraphQL errors or network errors. GraphQL errors. These are errors related to the...
Read more >
error executing query (Example) | Treehouse Community
I am receiving the error: Error formatting SQL query: empty string given as argument for !character Has anyone else gotten this?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found