-
-
Notifications
You must be signed in to change notification settings - Fork 749
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
Intermitted InvalidCastException in HotChocolate pipeline during error reporting #5825
Comments
BTW, I forgot to mention that the dump file was taken on a Windows machine using the VS save dump command. If for some reason you cannot analyze it on your Mac then please let me know and I can try to provide other information. |
This issue is bugging me :) Thanks for your help with the informations you provided. |
@michaelstaib It appears to be the same error mentioned in #5400. |
Any updates on this? We are finding the same results. Using package version 13.0.5. An extra piece of information is that we are using the 'OnError'-method from the IErrorFilter-filter. This method executes two times. Once with the correct IError and immediately after that a second time with the error: 'Exception: Unable to cast object of type 'RootPathSegment' to type 'HotChocolate.IndexerPathSegment'.' Any updates on this would be appreciated. |
The same problem has also been mentioned on the slack channel by Peter Simon: https://hotchocolategraphql.slack.com/archives/CD9TNKT8T/p1683547149505519 |
Do you happen to have any updates on this? This bug is preventing us from upgrading to v13. |
Facing the same issue in production. |
Happening for me as well (in production) |
I'm getting this a lot now, is there any workaround for this? A pattern I can avoid? |
we upgraded to the version 13 (from 12) and started getting the same exception is there any workaround? |
This is fixed on my internal branch ... I have moved it to the next dot release 13.5. |
Needs a bit more testing though :) |
Any update on this one? |
This is fixed |
in 13.5.0-preview.21 |
Is there an existing issue for this?
Product
Hot Chocolate
Describe the bug
During testing we find that HotChocolate (v.13.0.0 and v.13.0.2) throw an InvalidCastException when reporting errors (see screenshot). Unfortunately the error does not occur repeatably but only once in a while. I have therefore attached a dump file for further analysis. Please ping me if you need further information.
Steps to reproduce
Relevant log output
No response
Additional Context?
No response
Version
13.0.2
The text was updated successfully, but these errors were encountered: