org.mozilla.javascript.EvaluatorException: The function call createFolder is not valid. (script#3) (script#3)

kaltura.org | 2 months ago
  1. 0

    Kaltura CE 10.13.0 released - DWH Trouble - Backend Server Support - Kaltura Community Forums

    kaltura.org | 2 months ago
    org.mozilla.javascript.EvaluatorException: The function call createFolder is not valid. (script#3) (script#3)
  2. 0

    Problem with PreparedStatment

    Google Groups | 7 years ago | Vinicius Isola
    org.mozilla.javascript.EvaluatorException: Cannot convert id to java.lang.Integer (server_bootstrap_030.Database.js#163)
  3. 0

    trying to run javascript program inside java generates EvaluatorException: Constructor for "ReferenceError" not found

    Stack Overflow | 2 years ago | BevynQ
    org.mozilla.javascript.EvaluatorException: Constructor for "ReferenceError" not found. (C:\Java\rhino1_7R4\rhino1_7R4\env.rhino.1.0.js#75)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mozilla Rhino JavaScript Engine ()

    gmane.org | 6 months ago
    org.mozilla.javascript.EvaluatorException: Cannot convert id to java.lang.Integer (server_bootstrap_030.Database.js#163) at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:109)
  6. 0

    Eclipse Community Forums: BIRT ยป Birt Sample Report

    eclipse.org | 1 year ago
    org.mozilla.javascript.EvaluatorException: missing ; before > statement (/report/method[@name="beforeFactory"]#2) > at org.mozilla.javascript.DefaultErrorReporter.runtimeError(Def > aultErrorReporter.java:109) > at org.mozilla.javascript.DefaultErrorReporter.error(DefaultErr > orReporter.java:96) > at org.mozilla.javascript.Parser.addError(Parser.java:146) > at org.mozilla.javascript.Parser.reportError(Parser.java:160) > at org.mozilla.javascript.Parser.statementHelper(Parser.java:12 66) > at org.mozilla.javascript.Parser.statement(Parser.java:707) > at org.mozilla.javascript.Parser.parse(Parser.java:401) > at org.mozilla.javascript.Parser.parse(Parser.java:338) > at org.mozilla.javascript.Context.compileImpl(Context.java:2368 ) > at org.mozilla.javascript.Context.compileString(Context.java:13 59) > at org.mozilla.javascript.Context.compileString(Context.java:13 48) > at org.eclipse.birt.report.engine.javascript.JavascriptEngine$3 > .run(JavascriptEngine.java:232) > at org.eclipse.birt.report.engine.javascript.JavascriptEngine$3 > .run(JavascriptEngine.java:1) > at java.security.AccessController.doPrivileged(AccessController .java:202) > at org.eclipse.birt.report.engine.javascript.JavascriptEngine.c > ompile(JavascriptEngine.java:228) > at org.eclipse.birt.report.engine.javascript.JavascriptEngine.c > ompile(JavascriptEngine.java:1) > at org.eclipse.birt.core.script.ScriptContext.compile(ScriptCon > text.java:148) > at org.eclipse.birt.report.engine.executor.ExecutionContext.com > pile(ExecutionContext.java:762) > at org.eclipse.birt.report.engine.executor.ExecutionContext.eva > luate(ExecutionContext.java:696) > at org.eclipse.birt.report.engine.script.internal.ScriptExecuto > r.handleScriptInternal(ScriptExecutor.java:61) > at org.eclipse.birt.report.engine.script.internal.ScriptExecuto > r.handleScript(ScriptExecutor.java:48) > at org.eclipse.birt.report.engine.script.internal.ReportScriptE > xecutor.handleBeforeFactory(ReportScriptExecutor.java:74) > ... 57 more > 03/04/2011 10:21:02 PM > org.eclipse.birt.report.engine.script.internal.DtEScriptExec utor handleJS > WARNING: Fail to execute script in function __bm_OPEN(). Source: > ------ > " + aMap = > reportContext.getPersistentGlobalVariable("topMap"); > topIter = aMap.entrySet().iterator(); > if (topIter == null) > { > topIterator = new Packages.java.util.Iterator(); > Packages.java.util.logging.Logger.getLogger("").info("OPEN NULL " ); > } > innerIter = null; + " > ----- > A BIRT exception occurred. See next exception for 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-data-set[@id="5"]/method[@name="open "], line: > 0, text: > __bm_OPEN() > Throwable occurred: org.eclipse.birt.data.engine.core.DataException: > Fail to execute script in function __bm_OPEN(). Source: > ------ > " + aMap = > reportContext.getPersistentGlobalVariable("topMap"); > topIter = aMap.entrySet().iterator(); > if (topIter == null) > { > topIterator = new Packages.java.util.Iterator(); > Packages.java.util.logging.Logger.getLogger("").info("OPEN NULL " ); > } > innerIter = null; + " > ----- > A BIRT exception occurred. See next exception for 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-data-set[@id="5"]/method[@name="open "], line: > 0, text: > __bm_OPEN() > at org.eclipse.birt.data.engine.script.JSMethodRunner.runScript > (JSMethodRunner.java:147) > at org.eclipse.birt.report.engine.script.internal.DtEScriptExec > utor.handleJS(DtEScriptExecutor.java:90) > at org.eclipse.birt.report.engine.script.internal.DataSetScript > Executor.handleJS(DataSetScriptExecutor.java:246) > at org.eclipse.birt.report.engine.script.internal.ScriptDataSet > ScriptExecutor.handleOpen(ScriptDataSetScriptExecutor.java:9 7) > at org.eclipse.birt.data.engine.impl.ScriptDataSetRuntime.open( > ScriptDataSetRuntime.java:80) > at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$Scri > ptDSQueryExecutor$CustomDataSet.open(PreparedScriptDSQuery.j ava:247) > at org.eclipse.birt.data.engine.impl.PreparedScriptDSQuery$Scri > ptDSQueryExecutor.executeOdiQuery(PreparedScriptDSQuery.java :223) > at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(Quer > yExecutor.java:1103) > at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.exe > cuteQuery(ServiceForQueryResults.java:232) > at org.eclipse.birt.data.engine.impl.QueryResults.getResultIter > ator(QueryResults.java:173) > at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init > >(QueryResultSet.java:98) > at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec > uteQuery(DteDataEngine.java:168) > at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine > .doExecuteQuery(DataGenerationEngine.java:80) > at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e > xecute(AbstractDataEngine.java:265) > at org.eclipse.birt.report.engine.executor.ExecutionContext.exe > cuteQuery(ExecutionContext.java:1890) > at org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex > ecuteQuery(QueryItemExecutor.java:80) > at org.eclipse.birt.report.engine.executor.TableItemExecutor.ex > ecute(TableItemExecutor.java:62) > at org.eclipse.birt.report.engine.internal.executor.wrap.Wrappe > dReportItemExecutor.execute(WrappedReportItemExecutor.java:4 6) > at org.eclipse.birt.report.engine.internal.executor.emitter.Rep > ortItemEmitterExecutor.execute(ReportItemEmitterExecutor.jav a:46) > at org.eclipse.birt.report.engine.internal.executor.dup.Suppres > sDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor .java:43) > at org.eclipse.birt.report.engine.layout.html.HTMLBlockStacking > LM.layoutNodes(HTMLBlockStackingLM.java:65) > at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout > (HTMLPageLM.java:90) > at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE > ngine.layout(HTMLReportLayoutEngine.java:99) > at org.eclipse.birt.report.engine.presentation.ReportDocumentBu > ilder.build(ReportDocumentBuilder.java:258) > at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTas k.java:260) > at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask. java:85) > at org.eclipse.birt.report.service.ReportEngineService.runRepor > t(ReportEngineService.java:1315) > at org.eclipse.birt.report.service.BirtViewerReportService.runR > eport(BirtViewerReportService.java:158) > at org.eclipse.birt.report.service.actionhandler.BirtRunReportA > ctionHandler.__execute(BirtRunReportActionHandler.java:81) > at org.eclipse.birt.report.service.actionhandler.BirtGetPageAct > ionHandler.__checkDocumentExists(BirtGetPageActionHandler.ja va:58) > at org.eclipse.birt.report.service.actionhandler.AbstractGetPag > eActionHandler.prepareParameters(AbstractGetPageActionHandle r.java:119) > at org.eclipse.birt.report.service.actionhandler.AbstractGetPag > eActionHandler.__execute(AbstractGetPageActionHandler.java:1 04) > at org.eclipse.birt.report.service.actionhandler.AbstractBaseAc > tionHandler.execute(AbstractBaseActionHandler.java:90) > at org.eclipse.birt.report.soapengine.processor.AbstractBaseDoc > umentProcessor.__executeAction(AbstractBaseDocumentProcessor .java:47) > at org.eclipse.birt.report.soapengine.processor.AbstractBaseCom > ponentProcessor.executeAction(AbstractBaseComponentProcessor .java:143) > at org.eclipse.birt.report.soapengine.processor.BirtDocumentPro > cessor.handleGetPage(BirtDocumentProcessor.java:87) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. Rhino
      Context.reportRuntimeError
      1. org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:109)
      2. org.mozilla.javascript.Context.reportRuntimeError(Context.java:938)
      3. org.mozilla.javascript.Context.reportRuntimeError(Context.java:994)
      3 frames
    3. org.pentaho.di
      ScriptValuesAddedFunctions.createFolder
      1. org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesAddedFunctions.createFolder(ScriptValuesAddedFunctions.java:1816)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. Rhino
      OptRuntime.callName
      1. org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
      2. org.mozilla.javascript.FunctionObject.call(FunctionObject.java:413)
      3. org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
      3 frames
    6. org.mozilla.javascript
      c13.call
      1. org.mozilla.javascript.gen.c13._c0(script:3)
      2. org.mozilla.javascript.gen.c13.call(script)
      2 frames
    7. Rhino
      ScriptRuntime.doTopCall
      1. org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
      2. org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
      2 frames
    8. org.mozilla.javascript
      c13.exec
      1. org.mozilla.javascript.gen.c13.call(script)
      2. org.mozilla.javascript.gen.c13.exec(script)
      2 frames
    9. org.pentaho.di
      RunThread.run
      1. org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:376)
      2. org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.processRow(ScriptValuesMod.java:688)
      3. org.pentaho.di.trans.step.RunThread.run(RunThread.java:40)
      3 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame