Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-4636

Unable to evaluate decisions in the platform outside of a context

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Won't Fix
    • Icon: L3 - Default L3 - Default
    • 7.4.0, 7.4.0-alpha3
    • None
    • dmn-engine, engine
    • None

      Reproduce:

        public void test() {
          DmnEngine dmnEngine = processEngineConfiguration.getDmnEngine();
          assertNotNull(dmnEngine);
      
          DmnScriptEngineResolver scriptEngineResolver = dmnEngine.getConfiguration().getScriptEngineResolver();
          assertNotNull(scriptEngineResolver);
      
          ScriptEngine scriptEngine = scriptEngineResolver.getScriptEngineForLanguage("juel");
          assertNotNull(scriptEngine);
        }
      

      Description:

      If you try to get a script engine from org.camunda.bpm.engine.impl.scripting.engine.ScriptingEngines it will try to get the process engine configuration from the context, which is null in this case (see Lines 99-102).

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              sebastian.menski Sebastian Menski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: