Skip to content
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

[Bug] No Data from Steam Friends and Crash #29

Open
Rondrian82 opened this issue Apr 12, 2023 · 3 comments
Open

[Bug] No Data from Steam Friends and Crash #29

Rondrian82 opened this issue Apr 12, 2023 · 3 comments

Comments

@Rondrian82
Copy link

The data of my Steam friends aren't imported. I see that all my friends (11 friends) are recieved (the progress bar shows all of them). After that I see no friends and no data, but I can see that there are entries in the ListeView for each friend (I can hover over the entries and they are highlighted), but no data is visible... No names etc.
If I click on one of those empty entries, Playnite crashes!
GOG friends are imported correct.

2023-04-12_18h19_25

I found this in the extensions.log:

12-04 18:14:26.635|ERROR|PlayerActivities#Common:Error on GetJsonInString()|H:\GitHub\Lacro59\playnite-playeractivities-plugin\source\playnite-plugincommon\CommonPluginsShared\Tools.cs|144 System.ArgumentOutOfRangeException: StartIndex darf nicht kleiner als Null sein. Parametername: startIndex bei System.String.Substring(Int32 startIndex, Int32 length) bei CommonPluginsShared.Tools.GetJsonInString(String str, String strStart, String strEnd, String strPurge) in H:\GitHub\Lacro59\playnite-playeractivities-plugin\source\playnite-plugincommon\CommonPluginsShared\Tools.cs:Zeile 144. 12-04 18:14:26.635|ERROR|PlayerActivities#Common:Error on GetPlayerFriends()|H:\GitHub\Lacro59\playnite-playeractivities-plugin\source\Clients\SteamFriends.cs|197 System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. bei PlayerActivities.Clients.SteamFriends.GetPlayerFriends(String link, PlayerFriends playerFriendsUs) in H:\GitHub\Lacro59\playnite-playeractivities-plugin\source\Clients\SteamFriends.cs:Zeile 197.

@Satanarious
Copy link

I have the same problem, but some data loads correctly.

image

but clicking on anywhere othe than the username just crashes playnite.

@BloodShed-Oni
Copy link

I have the same problem, but some data loads correctly.

image

but clicking on anywhere othe than the username just crashes playnite.

Same problem here

@lightstylez
Copy link

lightstylez commented Mar 1, 2024

same problem. Repeating error in log.

01-03 13:56:32.170|ERROR|PlayerActivities#Common:Error on GetJsonInString()|H:\GitHub\Lacro59\playnite-playeractivities-plugin\source\playnite-plugincommon\CommonPluginsShared\Tools.cs|144 System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex at System.String.Substring(Int32 startIndex, Int32 length) at CommonPluginsShared.Tools.GetJsonInString(String str, String strStart, String strEnd, String strPurge) in H:\GitHub\Lacro59\playnite-playeractivities-plugin\source\playnite-plugincommon\CommonPluginsShared\Tools.cs:line 144 01-03 13:56:32.170|ERROR|PlayerActivities#Common:Error on GetPlayerFriends()|H:\GitHub\Lacro59\playnite-playeractivities-plugin\source\Clients\SteamFriends.cs|197 System.NullReferenceException: Object reference not set to an instance of an object. at PlayerActivities.Clients.SteamFriends.GetPlayerFriends(String link, PlayerFriends playerFriendsUs) in H:\GitHub\Lacro59\playnite-playeractivities-plugin\source\Clients\SteamFriends.cs:line 197 01-03 13:56:34.102|ERROR|PlayerActivities#Common:Error on GetJsonInString()|H:\GitHub\Lacro59\playnite-playeractivities-plugin\source\playnite-plugincommon\CommonPluginsShared\Tools.cs|144 System.ArgumentOutOfRangeException: StartIndex cannot be less than zero.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants