Uploaded image for project: 'Byteman'
  1. Byteman
  2. BYTEMAN-392

Byteman rulecheck fails if a script contains more than one rule

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 4.0.10
    • 4.0.9
    • Parser/Type Checker
    • None
    • Hide

      Any script containing more that one rule (org.jboss.narayana.arjunacore:arjuna:5.10.1.Final-SNAPSHOT tests/byteman-scripts for example)

      Show
      Any script containing more that one rule (org.jboss.narayana.arjunacore:arjuna:5.10.1.Final-SNAPSHOT tests/byteman-scripts for example)

    Description

      After upgrading to byteman version 4.0.9 I found that if a script contains more than one rule the rule checker fails with a null pointer:

      [ERROR] Failed to execute goal org.jboss.byteman:byteman-rulecheck-maven-plugin:4.0.9:rulecheck (rulecheck) on project arjuna: Execution rulecheck of goal org.jboss.byteman:byteman-rulecheck-maven-plugin:4.0.9:r
      ulecheck failed.: NullPointerException -> [Help 1]
      [ERROR]

      An example reproducer is when we build the artefact org.jboss.narayana.arjunacore:arjuna:5.10.1.Final-SNAPSHOT

      The byteman upgrade was introduced by pull request 1530 (https://github.com/jbosstm/narayana/pull/1530)

      The issue occurs whenever a byteman script contains more that one rule (so the workaround is to only have single rule scripts).

      Attachments

        Activity

          People

            rhn-engineering-adinn Andrew Dinn
            rhn-engineering-mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: