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

"unable to resolve method using strict-mode" MVEL exception when using function definitions in DRL

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 6.4.0
    • BRE
    • ER3
    • Hide

      Run the test Misc2Test.testFunctionInvokingFunction() in a loop (I wasn't able to reproduce it in other way). E.g. with this code:

      @Test
      public void testLoop() throws Exception {
      for (int i = 0; i < 10000; i++)

      { testFunctionInvokingFunction(); }

      }

      Show
      Run the test Misc2Test.testFunctionInvokingFunction() in a loop (I wasn't able to reproduce it in other way). E.g. with this code: @Test public void testLoop() throws Exception { for (int i = 0; i < 10000; i++) { testFunctionInvokingFunction(); } }

      The test Misc2Test.testFunctionInvokingFunction() occasionally fails with following stacktrace [1]. It is probably some race condition, because the test runs multiple threads with different KieSessions accessing the same KieBase.

      [1] http://pastebin.com/8WWwYscQ

              mfusco@redhat.com Mario Fusco
              tzimanyi@redhat.com Tibor Zimányi
              Archiver:
              rhn-support-ceverson Clark Everson
              Tibor Zimányi Tibor Zimányi
              Tibor Zimányi Tibor Zimányi

                Created:
                Updated:
                Resolved:
                Archived: