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

Could not deserialize ATN with UUID 59627784-3be5-417a-b9eb-8131a7286089 (expected aadb8d7e-aeef-4415-ad2b-8204d6cf042e or a legacy UUID). #4361

Open
vish35 opened this issue Jul 19, 2023 · 3 comments

Comments

@vish35
Copy link

vish35 commented Jul 19, 2023

Hi in my project I need to use Antlr-4.9.3 version, along with I am using Antlr-Runtime 4.5 version. So sometimes I am receiving Could not deserialize ATN with UUID 59627784-3be5-417a-b9eb-8131a7286089 (expected aadb8d7e-aeef-4415-ad2b-8204d6cf042e or a legacy UUID). error and sometimes works fine. What could be issue?

@jimidle
Copy link
Collaborator

jimidle commented Jul 19, 2023 via email

@vish35
Copy link
Author

vish35 commented Jul 19, 2023

Is there any reason for why it works sometime? Will it be because of legacy UUID?

@jimidle
Copy link
Collaborator

jimidle commented Jul 20, 2023

I could not tell you without looking at your grammar etc - but I am surprised that it works at all. As per the documentation, you MUST match the runtime you use with the version of the tool that you use to generate the code.

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

2 participants