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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 6.5.0.Final
    • core engine
    • 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(); } }
    • NEW
    • NEW

      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
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: