Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-7879

Mvel Script doesn't resolve dependency

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 7.12.0.Final
    • Runtime Engine
    • 2018 Week 42-44

    Description

      In Script Task with scriptFormat "mvel", if you use a class in a dependent jar, it fails to build.

      2018-10-22 15:30:20,963 [Time-limited test] ERROR Unable to build KieBaseModel:KBase-test
      [-1,-1]: Process 'org.jbpm.test.functional.task.ScriptTaskMvelWithDep' [org.jbpm.test.functional.task.ScriptTaskMvelWithDep]: Node 'scriptMvel' [2] Action has invalid action: [Error: unknown class or illegal statement: org.mvel2.ParserContext@6e87f062]
      [Near : {... Package.TestPojo p = new defaultPackage.TestPojo() ....}]
                                       ^
      [Line: 1, Column: 28].
      

      scriptFormat "java" doesn't have the problem.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: