]
Kris Verlaenen updated DROOLS-2180:
-----------------------------------
Sprint: 2018 Week 15-16, 2018 Week 17-18 (was: 2018 Week 15-16)
[Guided Rule Editor] NPE closing a Guided Rule with an incomplete
ActionCallMethod
----------------------------------------------------------------------------------
Key: DROOLS-2180
URL:
https://issues.jboss.org/browse/DROOLS-2180
Project: Drools
Issue Type: Bug
Components: Guided Rule Editor
Affects Versions: 7.5.0.Final
Reporter: Michael Anstis
Assignee: Jozef Marko
Priority: Minor
The implementation of {{ActionCallMethod.hashCode()}} fails if the "method
name" is {{null}}. This scenario can arise if you create a new Guided Rule, add a
"Call method on..." action and leave it incomplete. Trying to close the editor
results in a NPE error (as the "is dirty" mechanism uses {{hashCode()}}
implementations).