-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue with exception #133
Comments
Can you post the stack trace of the exception? |
This looks like it could be related to #76. What version of the package are you using, and can you provide some more details on the project? Is it possible to share the source in order to try to reproduce the issue? |
No problem, what's a good way to send it to only you. |
version of last fm is 1.1.0.339. This will only happen intermittently . I do have it on a timer to call lastfm code Device.StartTimer(TimeSpan.FromSeconds(10), () =>
|
Rikki? |
Sorry @rickerk6gdo, you can email your source to hello [at] rikk [dot] it but I can't promise I'll be able to try anything soon. In the spirit of open source, could you post on this thread more details about your project? What platform? What version of .Net? What NuGet packages are you using? I don't currently have much time to investigate this for you so if this kind of info is public maybe someone else will be able to help you. |
Thanks VS 2017 with xarmain forms 3.4.10008975 Building for IOS and android. I guess I dont understand why I'd be getting nulls back from XML, rather than empty string sets. |
finally got a call stack. does this give any clues?
|
I don't think so. Couple of Qs
|
Is it just the iOS project you experience this on? Or Android also?
both;
Are you calling Inflatable.Lastfm methods from the UI thread or a
background thread? Because it looks like the UI thread is crashing from
the stacktrace there. (Not 100% sure if this is a relevant question - my
knowledge of threading in apps come from a Windows background, not
Android or iOS)
Calling them from the Mainpage.cs. This is Similar to WinMain under
Windows. I set up a global var in the init code... then do a 'new' it
each time I enter the function.
…------ Original Message ------
From: "Rikki Tooley" <[email protected]>
To: "inflatablefriends/lastfm" <[email protected]>
Cc: "Rick Ruhl" <[email protected]>; "Mention"
<[email protected]>
Sent: 12/13/2018 7:36:46 AM
Subject: Re: [inflatablefriends/lastfm] issue with exception (#133)
I don't think so. Couple of Qs
Is it just the iOS project you experience this on? Or Android also?Are
you calling Inflatable.Lastfm methods from the UI thread or a
background thread? Because it looks like the UI thread is crashing from
the stacktrace there. (Not 100% sure if this is a relevant question -
my knowledge of threading in apps come from a Windows background, not
Android or iOS)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#133 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhbR0RLAkmHvGLfzlYDXaqb9pUw33DScks5u4nQOgaJpZM4YhYPC>.
|
If you're in VS - try unticking the "Just My Code" option in the debugger when you repro. You might get a better stacktrace. |
The follow code intermittently will cause me to get the NullReferenceException Object reference not set to an instance of an object. with Xamarin forms. Even when I do the NULL check on the instance, it gives me the fault.
Ideas?
public async void GetXml( string artist, string song)
{
//Check network status
The text was updated successfully, but these errors were encountered: