Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Loading Binary Objects With Kettle

  1. #1
    Join Date
    Aug 2007
    Posts
    1

    Default Loading Binary Objects With Kettle

    Hello!

    I tried to execute this transformation:


    http://wiki.pentaho.org/display/COM/...ts+With+Kettle




    But it's wasn't successful.

    I've got this error on JS step execution:



    2007/10/29 10:36:49 - Java Script Value.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Erro inesperado :
    2007/10/29 10:36:49 - Java Script Value.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : org.pentaho.di.core.exception.KettleValueException:
    2007/10/29 10:36:49 - Java Script Value.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Javascript error:
    2007/10/29 10:36:49 - Java Script Value.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) :
    2007/10/29 10:36:49 - Java Script Value.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Javascript error:
    2007/10/29 10:36:49 - Java Script Value.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Cannot convert undefined to byte[]
    2007/10/29 10:36:49 - Java Script Value.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) :
    2007/10/29 10:36:49 - Java Script Value.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) :
    2007/10/29 10:36:49 - Java Script Value.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:445)
    2007/10/29 10:36:49 - Java Script Value.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.processRow(ScriptValuesMod.java:735)
    2007/10/29 10:36:49 - Java Script Value.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.run(ScriptValuesMod.java:796)
    2007/10/29 10:36:49 - Java Script Value.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Caused by: org.pentaho.di.core.exception.KettleValueException:




    What could be wrong?




    Marcos.

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    The example is still for v2.5 , it needs an update to 3.0 ... the probable cause is this: "Packages.be.ibridge.kettle.core.Const.createByteArray" ... http://wiki.pentaho.org/display/EAI/...2.5.x+to+3.0.0

    Regards,
    Sven

  3. #3
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    That sample was updated for the 3.0 codebase.

    Over here.

    Matt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.