java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Repro path: Create new report. Add Pentaho Data Integration datasource Click "Add" on the Kettle Data Source dialog to add a new query For the file, browse and add "pentaho-solutions/bi-developers/etl/sample.ktr" Click preview ... the preview works, but the following stack trace is dumped out... ERROR 26-08 11:05:34,269 - RepositoriesMeta - Error opening file: /home/dkincade/.kettle/repositories.xml : java.io.FileNotFoundException: /home/dkincade/.kettle/repositories.xml (No such file or directory) INFO 26-08 11:05:34,443 - Trans - Dispatching started for filename [/home/dkincade/pentaho/platform/3.5.0-RC2/biserver-ee/pentaho-solutions/bi-developers/etl/sample.ktr] INFO 26-08 11:05:34,452 - Trans - This transformation can be replayed with replay date: 2009/08/26 11:05:34 INFO 26-08 11:05:34,459 - XML Output.0 - Opening output stream in encoding: UTF-8 INFO 26-08 11:05:35,152 - QUADRANT_ACTUALS.0 - Finished reading query, closing connection. INFO 26-08 11:05:35,161 - Filter rows.0 - Finished processing (I=0, O=0, R=148, W=5, U=0, E=0) ERROR 26-08 11:05:35,166 - Java Script Value.0 - Unexpected error : ERROR 26-08 11:05:35,167 - Java Script Value.0 - java.lang.NoSuchMethodError: org.mozilla.javascript.ContextFactory.enterContext()Lorg/mozilla/javascript/Context; at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:171) at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.processRow(ScriptValuesMod.java:667) at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2889) at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.run(ScriptValuesMod.java:731) INFO 26-08 11:05:35,168 - Java Script Value.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1) INFO 26-08 11:05:35,175 - Kettle - Transformation detected one or more steps with errors. INFO 26-08 11:05:35,175 - Kettle - Transformation is killing the other steps! INFO 26-08 11:05:35,179 - QUADRANT_ACTUALS.0 - Finished processing (I=148, O=0, R=0, W=148, U=0, E=0)
    via by David Kincade,
  • Repro path: Create new report. Add Pentaho Data Integration datasource Click "Add" on the Kettle Data Source dialog to add a new query For the file, browse and add "pentaho-solutions/bi-developers/etl/sample.ktr" Click preview ... the preview works, but the following stack trace is dumped out... ERROR 26-08 11:05:34,269 - RepositoriesMeta - Error opening file: /home/dkincade/.kettle/repositories.xml : java.io.FileNotFoundException: /home/dkincade/.kettle/repositories.xml (No such file or directory) INFO 26-08 11:05:34,443 - Trans - Dispatching started for filename [/home/dkincade/pentaho/platform/3.5.0-RC2/biserver-ee/pentaho-solutions/bi-developers/etl/sample.ktr] INFO 26-08 11:05:34,452 - Trans - This transformation can be replayed with replay date: 2009/08/26 11:05:34 INFO 26-08 11:05:34,459 - XML Output.0 - Opening output stream in encoding: UTF-8 INFO 26-08 11:05:35,152 - QUADRANT_ACTUALS.0 - Finished reading query, closing connection. INFO 26-08 11:05:35,161 - Filter rows.0 - Finished processing (I=0, O=0, R=148, W=5, U=0, E=0) ERROR 26-08 11:05:35,166 - Java Script Value.0 - Unexpected error : ERROR 26-08 11:05:35,167 - Java Script Value.0 - java.lang.NoSuchMethodError: org.mozilla.javascript.ContextFactory.enterContext()Lorg/mozilla/javascript/Context; at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:171) at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.processRow(ScriptValuesMod.java:667) at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2889) at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.run(ScriptValuesMod.java:731) INFO 26-08 11:05:35,168 - Java Script Value.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1) INFO 26-08 11:05:35,175 - Kettle - Transformation detected one or more steps with errors. INFO 26-08 11:05:35,175 - Kettle - Transformation is killing the other steps! INFO 26-08 11:05:35,179 - QUADRANT_ACTUALS.0 - Finished processing (I=148, O=0, R=0, W=148, U=0, E=0)
    via by David Kincade,
  • Pentaho Maven Dependencies
    via Stack Overflow by Andrew Scott Evans
    ,
    • java.lang.NoSuchMethodError: org.mozilla.javascript.ContextFactory.enterContext()Lorg/mozilla/javascript/Context; at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:171) at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.processRow(ScriptValuesMod.java:667) at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2889) at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.run(ScriptValuesMod.java:731)
    No Bugmate found.