-
Bug
-
Resolution: Done
-
Major
-
None
-
7.24.0.Final, 7.27.0.Final
-
2019 Week 38-40 (from Sep 16)
-
3
-
-
NEW
-
NEW
The following expression on update of Map in RHS causes an error when building executable model.
- Pattern1
m.mapVal["rule1"] = "value1";
- Error1 (NPE)
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel failed.: NullPointerException -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel failed.
or
- Pattern2
m.getMapVal().put( "rule2", "value2" );
- Error2
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.24.0.Final:generateModel (default-generateModel) on project build-error: A type incompatibility occurred while executing org.kie:kie-maven-plugin:7.24.0.Final:generateModel: sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl cannot be cast to java.lang.Class
This does not happen with 7.23.0.Final.
- is cloned by
-
RHDM-1094 Executable model compilation fails with map modification in action
- Closed