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.

  • Pentaho Maven Dependencies
    via Stack Overflow by Andrew Scott Evans
    ,
  • GitHub comment 2#219724151
    via GitHub by codek
    ,
  • Issue with PDI 6
    via GitHub by CosmicMac
    ,
  • Here is the log : 2016/06/08 12:10:45 - Spoon - Started the transformation execution. 2016/06/08 12:10:45 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 12:10:46 - Spoon - The transformation has finished!! 2016/06/08 13:08:07 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:26 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:26 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:26 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:26 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:26 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:41 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:47 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:47 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:09:50 - Spoon - Save as... 2016/06/08 13:09:50 - Spoon - Save file as... 2016/06/08 13:15:56 - /home/florent/myTmp/test-bug.ktr : test-bug - Dispatching started for transformation [/home/florent/myTmp/test-bug.ktr : test-bug] 2016/06/08 13:15:56 - Load text from file.0 - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : Unexpected error 2016/06/08 13:15:56 - Load text from file.0 - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : java.lang.NoSuchMethodError: org.pentaho.di.core.fileinput.FileInputList.getFile(I)Lorg/apache/commons/vfs/FileObject; 2016/06/08 13:15:56 - Load text from file.0 - at org.pentaho.di.trans.steps.loadtextfromfile.LoadTextFromFile.openNextFile(LoadTextFromFile.java:135) 2016/06/08 13:15:56 - Load text from file.0 - at org.pentaho.di.trans.steps.loadtextfromfile.LoadTextFromFile.getOneRow(LoadTextFromFile.java:324) 2016/06/08 13:15:56 - Load text from file.0 - at org.pentaho.di.trans.steps.loadtextfromfile.LoadTextFromFile.processRow(LoadTextFromFile.java:199) 2016/06/08 13:15:56 - Load text from file.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2016/06/08 13:15:56 - Load text from file.0 - at java.lang.Thread.run(Thread.java:745) 2016/06/08 13:15:56 - Load text from file.0 - Finished processing (I=0, O=0, R=0, W=0, U=0, E=1) 2016/06/08 13:15:56 - /home/florent/myTmp/test-bug.ktr : test-bug - Transformation detected one or more steps with errors. 2016/06/08 13:15:56 - /home/florent/myTmp/test-bug.ktr : test-bug - Transformation is killing the other steps!
    via by Florent THOMAS,
  • Here is the log : 2016/06/08 12:10:45 - Spoon - Started the transformation execution. 2016/06/08 12:10:45 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 12:10:46 - Spoon - The transformation has finished!! 2016/06/08 13:08:07 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:26 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:26 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:26 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:26 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:26 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:41 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:47 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:08:47 - cfgbuilder - Warning: The configuration parameter [org] is not supported by the default configuration builder for scheme: sftp 2016/06/08 13:09:50 - Spoon - Save as... 2016/06/08 13:09:50 - Spoon - Save file as... 2016/06/08 13:15:56 - /home/florent/myTmp/test-bug.ktr : test-bug - Dispatching started for transformation [/home/florent/myTmp/test-bug.ktr : test-bug] 2016/06/08 13:15:56 - Load text from file.0 - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : Unexpected error 2016/06/08 13:15:56 - Load text from file.0 - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : java.lang.NoSuchMethodError: org.pentaho.di.core.fileinput.FileInputList.getFile(I)Lorg/apache/commons/vfs/FileObject; 2016/06/08 13:15:56 - Load text from file.0 - at org.pentaho.di.trans.steps.loadtextfromfile.LoadTextFromFile.openNextFile(LoadTextFromFile.java:135) 2016/06/08 13:15:56 - Load text from file.0 - at org.pentaho.di.trans.steps.loadtextfromfile.LoadTextFromFile.getOneRow(LoadTextFromFile.java:324) 2016/06/08 13:15:56 - Load text from file.0 - at org.pentaho.di.trans.steps.loadtextfromfile.LoadTextFromFile.processRow(LoadTextFromFile.java:199) 2016/06/08 13:15:56 - Load text from file.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2016/06/08 13:15:56 - Load text from file.0 - at java.lang.Thread.run(Thread.java:745) 2016/06/08 13:15:56 - Load text from file.0 - Finished processing (I=0, O=0, R=0, W=0, U=0, E=1) 2016/06/08 13:15:56 - /home/florent/myTmp/test-bug.ktr : test-bug - Transformation detected one or more steps with errors. 2016/06/08 13:15:56 - /home/florent/myTmp/test-bug.ktr : test-bug - Transformation is killing the other steps!
    via by Florent THOMAS,
  • 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,
    • java.lang.NoSuchMethodError: org.mozilla.javascript.ContextFactory.enterContext()Lorg/mozilla/javascript/Context; at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:176) at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.processRow(ScriptValuesMod.java:689) at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50) at java.lang.Thread.run(Thread.java:662)
    No Bugmate found.