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

Mvel Script doesn't resolve dependency

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 7.12.0.Final
    • Fix Version/s: None
    • Component/s: Runtime Engine
    • Labels:

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tsurdilovic Tihomir Surdilovic
                  Reporter:
                  tkobayashi Toshiya Kobayashi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: