Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-1381

NPE in server log when creating new rule

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.1
    • 6.0.0
    • Business Central
    • None

      Description of problem:
      I am often seeing this exception after running certain automated tests. However it is hard to reproduce manually. After some experimenting, I am convinced it is caused by creating new resource while an incremental build is already running (or has been triggered shortly before creating the new resource). I have revealed two situation when this occurs:

      1. creating a new resource (rule) immediately after changing project. This how it happens when I run automated tests. Couldn't reproduce manually.

      2. creating new rules quickly in a loop. This the only way I have found to trigger the exception manually. See steps to reproduce.

      The exception can only be found in server log. I am unsure if it can affect the Business Central user.

      Version-Release number of selected component (if applicable):
      ER7

      How reproducible:
      Hardly. Looks like a synchronization issue.

      Steps to Reproduce:
      1. select any project
      2. keep creating new rules repeatedly. Don't wait after submitting the Create new rule dialog, start creating new rule as soon as the dialog disappears. You have to be quick – make sure you just hit a few random keys when typing the rule name.

      Actual results:
      NPE in server log.

      Expected results:
      It shouldn't happen.

      Additional info:

            manstis@redhat.com Michael Anstis
            jlocker Jiří Locker
            Archiver:
            rhn-support-ceverson Clark Everson
            Jiří Locker Jiří Locker
            Jiří Locker Jiří Locker
            etirelli, Michael Anstis, Rajesh Rajasekaran

              Created:
              Updated:
              Resolved:
              Archived: