java.lang.IllegalArgumentException: Null input buffer Null input buffer

Pentaho BI Platform Tracking | Chris Deptula | 1 year ago
  1. 0

    The Symmetric Cryptography step returns a Null Input Buffer error if the input field is null. It would be better if this step just returned null if the field to encrypt is null. (Works fine if the input field is an empty string.) {code} 2015/10/29 13:39:11 - Symmetric Cryptography.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : Error running step 2015/10/29 13:39:11 - Symmetric Cryptography.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.CryptoException: 2015/10/29 13:39:11 - Symmetric Cryptography.0 - java.lang.IllegalArgumentException: Null input buffer 2015/10/29 13:39:11 - Symmetric Cryptography.0 - Null input buffer 2015/10/29 13:39:11 - Symmetric Cryptography.0 - 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCrypto.encrDecryptData(SymmetricCrypto.java:153) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTrans.processRow(SymmetricCryptoTrans.java:163) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at java.lang.Thread.run(Thread.java:724) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - Caused by: java.lang.IllegalArgumentException: Null input buffer 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at javax.crypto.Cipher.doFinal(Cipher.java:2083) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCrypto.encrDecryptData(SymmetricCrypto.java:151) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - ... 3 more 2015/10/29 13:39:11 - Symmetric Cryptography.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.CryptoException: 2015/10/29 13:39:11 - Symmetric Cryptography.0 - java.lang.IllegalArgumentException: Null input buffer 2015/10/29 13:39:11 - Symmetric Cryptography.0 - Null input buffer 2015/10/29 13:39:11 - Symmetric Cryptography.0 - 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCrypto.encrDecryptData(SymmetricCrypto.java:153) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTrans.processRow(SymmetricCryptoTrans.java:163) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at java.lang.Thread.run(Thread.java:724) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - Caused by: java.lang.IllegalArgumentException: Null input buffer 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at javax.crypto.Cipher.doFinal(Cipher.java:2083) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCrypto.encrDecryptData(SymmetricCrypto.java:151) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - ... 3 more {code}

    Pentaho BI Platform Tracking | 1 year ago | Chris Deptula
    java.lang.IllegalArgumentException: Null input buffer Null input buffer
  2. 0

    The Symmetric Cryptography step returns a Null Input Buffer error if the input field is null. It would be better if this step just returned null if the field to encrypt is null. (Works fine if the input field is an empty string.) {code} 2015/10/29 13:39:11 - Symmetric Cryptography.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : Error running step 2015/10/29 13:39:11 - Symmetric Cryptography.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.CryptoException: 2015/10/29 13:39:11 - Symmetric Cryptography.0 - java.lang.IllegalArgumentException: Null input buffer 2015/10/29 13:39:11 - Symmetric Cryptography.0 - Null input buffer 2015/10/29 13:39:11 - Symmetric Cryptography.0 - 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCrypto.encrDecryptData(SymmetricCrypto.java:153) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTrans.processRow(SymmetricCryptoTrans.java:163) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at java.lang.Thread.run(Thread.java:724) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - Caused by: java.lang.IllegalArgumentException: Null input buffer 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at javax.crypto.Cipher.doFinal(Cipher.java:2083) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCrypto.encrDecryptData(SymmetricCrypto.java:151) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - ... 3 more 2015/10/29 13:39:11 - Symmetric Cryptography.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.CryptoException: 2015/10/29 13:39:11 - Symmetric Cryptography.0 - java.lang.IllegalArgumentException: Null input buffer 2015/10/29 13:39:11 - Symmetric Cryptography.0 - Null input buffer 2015/10/29 13:39:11 - Symmetric Cryptography.0 - 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCrypto.encrDecryptData(SymmetricCrypto.java:153) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTrans.processRow(SymmetricCryptoTrans.java:163) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at java.lang.Thread.run(Thread.java:724) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - Caused by: java.lang.IllegalArgumentException: Null input buffer 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at javax.crypto.Cipher.doFinal(Cipher.java:2083) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCrypto.encrDecryptData(SymmetricCrypto.java:151) 2015/10/29 13:39:11 - Symmetric Cryptography.0 - ... 3 more {code}

    Pentaho BI Platform Tracking | 1 year ago | Chris Deptula
    java.lang.IllegalArgumentException: Null input buffer Null input buffer
  3. 0

    XQual - View topic - Webclient

    xqual-forums.com | 7 months ago
    java.lang.IllegalArgumentException: Null input buffer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Decrypting an encrypted String with RSA

    Stack Overflow | 3 years ago | m4773rz
    java.lang.IllegalArgumentException: Null input buffer
  6. 0

    Hybrid RSA-AES encryption

    Stack Overflow | 6 months ago | wawan
    java.lang.IllegalArgumentException: Null input buffer

  1. franky li 61 times, last 1 month ago
  2. mays123 2 times, last 4 months ago
  3. jk 10 times, last 4 months ago
3 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. java.lang.IllegalArgumentException

    Null input buffer

    at javax.crypto.Cipher.doFinal()
  2. Android Platform
    Cipher.doFinal
    1. javax.crypto.Cipher.doFinal(Cipher.java:2083)
    1 frame
  3. org.pentaho.di
    RunThread.run
    1. org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCrypto.encrDecryptData(SymmetricCrypto.java:151)
    2. org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTrans.processRow(SymmetricCryptoTrans.java:163)
    3. org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
    3 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:724)
    1 frame