|
if (edmm != null && edmm) { |
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
winery/org.eclipse.winery.repository.rest/src/main/java/org/eclipse/winery/repository/rest/resources/MainResource.java
Line 252 in 8a0c1ab
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