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

[again] Object reference not set to an instance of an object. #5

Open
icetbr opened this issue Jun 12, 2020 · 9 comments
Open

[again] Object reference not set to an instance of an object. #5

icetbr opened this issue Jun 12, 2020 · 9 comments

Comments

@icetbr
Copy link

icetbr commented Jun 12, 2020

22:03:20|Error|Advisor.ImportMetastatsDecks >> System.NullReferenceException: Object reference not set to an instance of an object.
   at HDT.Plugins.Advisor.Services.MetaStats.SnapshotImporter.<GetClassDecks>d__10.MoveNext() in C:\Users\Jacob\Documents\Git\Advisor\Advisor\Services\MetaStats\SnapshotImporter.cs:line 139
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at HDT.Plugins.Advisor.Services.MetaStats.SnapshotImporter.<ImportDecks>d__8.MoveNext() in C:\Users\Jacob\Documents\Git\Advisor\Advisor\Services\MetaStats\SnapshotImporter.cs:line 64
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at HDT.Plugins.Advisor.Advisor.<ImportMetastatsDecks>d__23.MoveNext() in C:\Users\Jacob\Documents\Git\Advisor\Advisor\Advisor.cs:line 361

@chWolfgang
Copy link

I am getting this error as well.
I have also gotten it in the past from time time. It seems to come and go as the website updates itself. It may have something to do with that.

@Atmosf3ars
Copy link

Same for me, now I get always this error.
@kimsey0 Could you please have a look into this issue?

Thanks and kind regards

@icetbr
Copy link
Author

icetbr commented Jun 17, 2020

I'm starting to give a stab at this error, but I don't do C#. The first 3 days I had available I managed to install Visual Studio :-) I tried to use VSCode, but it did not work. Progress will be slow on my end, but I'll attempt to use data from hsreplay, which uses JSON.

@chWolfgang
Copy link

This would be fantastic if you can pull it off. I miss this and getting data from HSreplay would be nice. TY for your efforts.

@icetbr
Copy link
Author

icetbr commented Jun 21, 2020

@chWolfgang
Copy link

Thank you VERY much.
I tried for a game or so and it works great. Kept my settings and everything!

@sarumans
Copy link

Here you go

https://github.com/icetbr/Advisor/releases/tag/1.1.0

if i use new with hsreplay:
in some match import wrong deck (ex. hl hunter instead of mage etc)

@icetbr
Copy link
Author

icetbr commented Jul 12, 2020

@sarumans
Copy link

sarumans commented Jul 12, 2020 via email

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