Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2180

[Guided Rule Editor] NPE closing a Guided Rule with an incomplete ActionCallMethod

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.8.0.Final
    • 7.5.0.Final
    • Guided Rule Editor
    • None

    Description

      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).

      Attachments

        Activity

          People

            rh-ee-jomarko Jozef Marko
            manstis@redhat.com Michael Anstis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: