Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-961

Java Framework: Add unit test for Javascript executor factory

    Details

      Description

      Groovy script executor is tested but not Javascript.

      This error appears in IDM when a script executor is called the first time:

       

      java.lang.IllegalStateException: JavaScript Engine is not found
      at org.identityconnectors.common.script.javascript.JavaScriptExecutorFactory.<init>(JavaScriptExecutorFactory.java:42)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at java.lang.Class.newInstance(Class.java:442)
      at org.identityconnectors.common.script.ScriptExecutorFactory.getFactoryCache(ScriptExecutorFactory.java:73)
      at org.identityconnectors.common.script.ScriptExecutorFactory.newInstance(ScriptExecutorFactory.java:165)
      at org.forgerock.openicf.connectors.salesforce.SalesforceConnector.runScriptOnConnector(SalesforceConnector.java:330)
      at

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gael Gael Allioux
                Reporter:
                gael Gael Allioux
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: