[jboss-jira] [JBoss JIRA] (DROOLS-2180) [Guided Rule Editor] NPE closing a Guided Rule with an incomplete ActionCallMethod

Michael Anstis (JIRA) issues at jboss.org
Fri Dec 15 06:34:00 EST 2017


Michael Anstis created DROOLS-2180:
--------------------------------------

             Summary: [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: Michael Anstis
            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).



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list