[jboss-jira] [JBoss JIRA] (DROOLS-2180) [Guided Rule Editor] NPE closing a Guided Rule with an incomplete ActionCallMethod
Jozef Marko (JIRA)
issues at jboss.org
Fri Jun 15 04:18:00 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-2180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jozef Marko updated DROOLS-2180:
--------------------------------
Git Pull Request: https://github.com/kiegroup/drools/pull/1949, https://github.com/kiegroup/drools/pull/1950 (was: https://github.com/kiegroup/drools/pull/1949)
> [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
> Fix For: 7.8.0.Final
>
>
> 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