org.pentaho.di.core.exception.KettleValueException: Javascript error: Javascript error: org.mozilla.javascript.NativeBoolean cannot be cast to java.lang.Boolean

Pentaho BI Platform Tracking | Thomas Bednarz | 5 years ago
  1. 0

    Base transaction does a mapping to a sub-transaction. In a java script in the subtransaction is a boolean variable declared and exported as field. This field is returned to the calling transaction through mapping (output). In a java script in the calling transaction the value of the boolean is changed. You get the following error: 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : Unexpected error 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : org.pentaho.di.core.exception.KettleValueException: 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : Javascript error: 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : Javascript error: 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : org.mozilla.javascript.NativeBoolean cannot be cast to java.lang.Boolean 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:457) 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.processRow(ScriptValuesMod.java:688) 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : at org.pentaho.di.trans.step.RunThread.run(RunThread.java:40) 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : at java.lang.Thread.run(Thread.java:662) 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : Caused by: org.pentaho.di.core.exception.KettleValueException:

    Pentaho BI Platform Tracking | 5 years ago | Thomas Bednarz
    org.pentaho.di.core.exception.KettleValueException: Javascript error: Javascript error: org.mozilla.javascript.NativeBoolean cannot be cast to java.lang.Boolean
  2. 0

    Base transaction does a mapping to a sub-transaction. In a java script in the subtransaction is a boolean variable declared and exported as field. This field is returned to the calling transaction through mapping (output). In a java script in the calling transaction the value of the boolean is changed. You get the following error: 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : Unexpected error 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : org.pentaho.di.core.exception.KettleValueException: 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : Javascript error: 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : Javascript error: 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : org.mozilla.javascript.NativeBoolean cannot be cast to java.lang.Boolean 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:457) 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.processRow(ScriptValuesMod.java:688) 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : at org.pentaho.di.trans.step.RunThread.run(RunThread.java:40) 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : at java.lang.Thread.run(Thread.java:662) 2012/02/01 10:44:05 - Modified Java Script Value.0 - ERROR (version 4.2.1-stable, build 15952 from 2011-10-25 15.27.10 by buildguy) : Caused by: org.pentaho.di.core.exception.KettleValueException:

    Pentaho BI Platform Tracking | 5 years ago | Thomas Bednarz
    org.pentaho.di.core.exception.KettleValueException: Javascript error: Javascript error: org.mozilla.javascript.NativeBoolean cannot be cast to java.lang.Boolean
  3. 0

    Kettle - Read CSV with comma as decimal mark

    Stack Overflow | 2 years ago | LeonardoSibela
    org.pentaho.di.core.exception.KettleValueException: Unexpected conversion error while converting value [codigo_cliente String<binary-string>] to an Integer codigo_cliente String<binary-string> : couldn't convert String to Integer codigo_cliente String<binary-string> : couldn't convert String to number : non-numeric character found at position 7 for value [21.237,00]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [PDI-795] Unexpected conversion error while converting value - Pentaho BI Platform Tracking

    pentaho.com | 12 months ago
    org.pentaho.di.core.exception.KettleValueException: Unexpected conversion error while converting value to an Integer Unexpected conversion error while converting value to an Integer
  6. 0

    Linux - Kettle - Read CSV with comma as decimal mark

    howtobuildsoftware.com | 12 months ago
    org.pentaho.di.core.exception.KettleValueException: Unexpected conversion error while converting value [codigo_cliente String<binary-string>] to an Integer codigo_cliente String<binary-string> : couldn't convert String to Integer codigo_cliente String<binary-string> : couldn't convert String to number : non-numeric character found at position 7 for value [21.237,00]

    1 unregistered visitors
    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.pentaho.di.core.exception.KettleValueException

      Javascript error: Javascript error: org.mozilla.javascript.NativeBoolean cannot be cast to java.lang.Boolean

      at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues()
    2. org.pentaho.di
      RunThread.run
      1. org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:457)
      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
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame