org.mozilla.javascript.EvaluatorException

The function call createFolder is not valid. (script#3) (script#3)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web51

  • The function call createFolder is not valid. (script#3) (script#3)
  • via eclipse.org by Unknown author, 1 year ago
    more information. > Error evaluating Javascript expression. Script engine error: TypeError: > Cannot call method "entrySet" of null > (/report/data-sets/script-data-set[@id="5"]/method[@name="open "]#3) > Script source: > /report/data-sets/script
  • via Google Groups by Saulo Mendes Martins, 1 year ago
    Function importClass must be called with a class; had "[JavaPackage java.nio.charset.StandardCharsets]" instead. (anonymous#3)
  • Stack trace

    • org.mozilla.javascript.EvaluatorException: The function call createFolder is not valid. (script#3) (script#3) at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:457) at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.processRow(ScriptValuesMod.java:688) at org.pentaho.di.trans.step.RunThread.run(RunThread.java:40) at java.lang.Thread.run(Thread.java:745) Caused by: org.mozilla.javascript.EvaluatorException: org.mozilla.javascript.EvaluatorException: The function call createFolder is not valid. (script#3) (script#3) at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:109) at org.mozilla.javascript.Context.reportRuntimeError(Context.java:938) at org.mozilla.javascript.Context.reportRuntimeError(Context.java:994) at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesAddedFunctions.createFolder(ScriptValuesAddedFunctions.java:1816) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161) at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:413) at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97) at org.mozilla.javascript.gen.c13._c0(script:3) at org.mozilla.javascript.gen.c13.call(script) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065) at org.mozilla.javascript.gen.c13.call(script) at org.mozilla.javascript.gen.c13.exec(script) at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:376) ... 3 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    2 more bugmates