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

Check of edmm fails because of Java operator precedence (in the if's condition line 252) #291

Open
q-goux opened this issue Nov 20, 2024 · 0 comments

Comments

@q-goux
Copy link

q-goux commented Nov 20, 2024

It logically should be "if ( (edmm != null) && edmm ) {"
(instead of the current "if (edmm != null && edmm) {"
Which, according to the Java grammar operator precedences starts to evaluate the statement "null && edmm" that raises a NullPointerException because edmm is null
... even thaught the intended condition seams clear)

In the current state, this prevents CSAR import of template in Winery

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

No branches or pull requests

1 participant