-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Occurred NullReferenceException or AccessViolationException while running n-body #81
Comments
Seems like a duplicate of #16? |
@hez2010 I was able to run your test successfully within one of unit tests, are you sure you are using latest version?, I would need github repo to reproduce the issue. |
@hez2010 Please turn off AOT, this is a known issue as YantraJS currently uses reflection and some methods/properties are stripped in AOT, we are working on migrating reflection to generated source, but it will take some time before it is completely fixed. Let me know if the issue also persists. |
I'm not running with AOT but on the .NET 8 runtime. |
@hez2010 .NET 8 is still in preview, AOT might be the default, current release works correctly with .NET 6. I will try .NET 8 and will investigate. |
@hez2010 I found an issue with Tail Call, Tail Call optimization is failing in some cases in latest release, I have turned off the tail call optimization in recent release, please try and let me know if it works now. |
Thank you. Can confirm this has been resolved with the latest version. |
Repro:
Exception:
and
The text was updated successfully, but these errors were encountered: