java.lang.NullPointerException

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.

  • I am getting exception on step "Symmetric Cryptography" in PDI 4.2.0 stable release. I am using Decrypt operation with DES algorithm. Following is stack trace from linux server (works fine on windows). Following is exception: ERROR 12-07 01:15:14,927 - Staging - password - Error ERROR 12-07 01:15:14,927 - WebService - password - Error ERROR 12-07 01:15:14,928 - Staging - password - java.lang.NullPointerException at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCryptoMeta.findSymmetricCryptoInterface(SymmetricCryptoMeta.java:82) at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCryptoMeta.getSymmetricCryptoInterface(SymmetricCryptoMeta.java:67) at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCryptoMeta.<init>(SymmetricCryptoMeta.java:53) at org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTrans.init(SymmetricCryptoTrans.java:212) at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:52) at java.lang.Thread.run(Unknown Source) ERROR 12-07 01:15:14,928 - WebService - password - java.lang.NullPointerException at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCryptoMeta.findSymmetricCryptoInterface(SymmetricCryptoMeta.java:82) at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCryptoMeta.getSymmetricCryptoInterface(SymmetricCryptoMeta.java:67) at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCryptoMeta.<init>(SymmetricCryptoMeta.java:53) at org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTrans.init(SymmetricCryptoTrans.java:212) at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:52) at java.lang.Thread.run(Unknown Source) ERROR 12-07 01:15:14,928 - Staging - password - Error initializing step [Staging - password] ERROR 12-07 01:15:14,928 - WebService - password - Error initializing step [WebService - password] ERROR 12-07 01:15:15,200 - set_config_variables - Step [Staging - password.0] failed to initialize! ERROR 12-07 01:15:15,201 - set_config_variables - Step [WebService - password.0] failed to initialize! ERROR 12-07 01:15:15,202 - Set - Configuration Variables - Unable to open transformation: null ERROR 12-07 01:15:15,202 - Set - Configuration Variables - java.lang.NullPointerException at org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTrans.dispose(SymmetricCryptoTrans.java:248) at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:766) at org.pentaho.di.trans.Trans.execute(Trans.java:364) at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:1024) at org.pentaho.di.job.Job.execute(Job.java:503) at org.pentaho.di.job.Job.execute(Job.java:642) at org.pentaho.di.job.Job.execute(Job.java:642) at org.pentaho.di.job.Job.execute(Job.java:420) at org.pentaho.di.job.entries.job.JobEntryJobRunner.run(JobEntryJobRunner.java:63) at java.lang.Thread.run(Unknown Source) The error does not appear all times, it is random and works fine on executing ETL again. This is the first step for ETL. Is it a bug or something not correctly done?
    via by faryal ali,
  • A simple transformatoin that selects data from a postgresql database table in postgresql and then uses a 'postgresql bulk load' step to load data into another postgresql table in a different schema works fine when the transformation is executed ( on the remote machine running carte). - The Bulk load works really well in this situation, much faster than the table output. However, when the the same transformation is placed into a job and the job is then executed, the following error occurs: 2008/12/18 09:27:45 - Job 1 - Starting entry [create_transfer_fact part one test] 2008/12/18 09:27:45 - create_transfer_fact part one test - Loading transformation from repository [create_transfer_fact part one test] in directory [/] 2008/12/18 09:27:45 - create_transfer_fact part one test - Dispatching started for transformation [create_transfer_fact part one test] 2008/12/18 09:27:45 - create_transfer_fact part one test - This transformation can be replayed with replay date: 2008/12/18 09:27:45 2008/12/18 09:27:45 - PostgreSQL Bulk Loader - ERROR (version 3.1.0, build 826 from 2008/11/26 16:41:00) : Error initializing step [PostgreSQL Bulk Loader] 2008/12/18 09:27:45 - PostgreSQL Bulk Loader - ERROR (version 3.1.0, build 826 from 2008/11/26 16:41:00) : java.lang.NullPointerException 2008/12/18 09:27:45 - PostgreSQL Bulk Loader - ERROR (version 3.1.0, build 826 from 2008/11/26 16:41:00) : at org.pentaho.di.trans.steps.pgbulkloader.PGBulkLoader.init(PGBulkLoader.java:436) 2008/12/18 09:27:45 - PostgreSQL Bulk Loader - ERROR (version 3.1.0, build 826 from 2008/11/26 16:41:00) : at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:48) 2008/12/18 09:27:45 - PostgreSQL Bulk Loader - ERROR (version 3.1.0, build 826 from 2008/11/26 16:41:00) : at java.lang.Thread.run(Thread.java:619) 2008/12/18 09:27:45 - create_transfer_fact part one test - ERROR (version 3.1.0, build 826 from 2008/11/26 16:41:00) : Step [PostgreSQL Bulk Loader.0] failed to initialize! 2008/12/18 09:27:45 - Read in principal.transfer_details_src_v.0 - Finished reading query, closing connection. 2008/12/18 09:27:45 - create_transfer_fact part one test - ERROR (version 3.1.0, build 826 from 2008/11/26 16:41:00) : Unable to prepare for execution of the transformation 2008/12/18 09:27:45 - Job 1 - Finished jobentry [create_transfer_fact part one test] (result=[false]) Any ideas or work arounds for this? Thanks
    via by Gary Evans,
  • If "KETTLE_DEFAULT_SERVLET_ENCODING" in set to UTF-8 (or any other), transformation executed locally and transformation have sub-transformations - the following error appears in log. However the transformation is completed successfully. If transformation is executed on carte (or DI) server - no error appears. This is regression, as in local EPAM 5.1 build #281 I can`t reproduce this and starting from #304 this issue exists. 2014/04/08 10:31:37 - General - ERROR (version 5.1-NIGHTLY.584, build 1 from 2014-04-06_22-25-45 by buildguy) : Unable to encode data with encoding : 'UTF-8' 2014/04/08 10:31:37 - General - ERROR (version 5.1-NIGHTLY.584, build 1 from 2014-04-06_22-25-45 by buildguy) : java.lang.NullPointerException 2014/04/08 10:31:37 - General - at org.pentaho.di.trans.Trans.setServletReponse(Trans.java:5349) 2014/04/08 10:31:37 - General - at org.pentaho.di.trans.steps.mapping.Mapping.prepareMappingExecution(Mapping.java:341) 2014/04/08 10:31:37 - General - at org.pentaho.di.trans.steps.mapping.Mapping.init(Mapping.java:583) 2014/04/08 10:31:37 - General - at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:60) 2014/04/08 10:31:37 - General - at java.lang.Thread.run(Unknown Source) 2014/04/08 10:31:37 - [Use simple concat mapping].[Y=C+D].Simple concat mapping - Dispatching started for transformation [Simple concat mapping] 2014/04/08 10:31:37 - General - ERROR (version 5.1-NIGHTLY.584, build 1 from 2014-04-06_22-25-45 by buildguy) : Unable to encode data with encoding : 'UTF-8' 2014/04/08 10:31:37 - General - ERROR (version 5.1-NIGHTLY.584, build 1 from 2014-04-06_22-25-45 by buildguy) : java.lang.NullPointerException 2014/04/08 10:31:37 - General - at org.pentaho.di.trans.Trans.setServletReponse(Trans.java:5349) 2014/04/08 10:31:37 - General - at org.pentaho.di.trans.steps.mapping.Mapping.prepareMappingExecution(Mapping.java:341) 2014/04/08 10:31:37 - General - at org.pentaho.di.trans.steps.mapping.Mapping.init(Mapping.java:583) 2014/04/08 10:31:37 - General - at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:60) 2014/04/08 10:31:37 - General - at java.lang.Thread.run(Unknown Source) 2014/04/08 10:31:37 - [Use simple concat mapping].[X=A+B].Simple concat mapping - Dispatching started for transformation [Simple concat mapping] 2014/04/08 10:31:37 - General - ERROR (version 5.1-NIGHTLY.584, build 1 from 2014-04-06_22-25-45 by buildguy) : Unable to encode data with encoding : 'UTF-8' 2014/04/08 10:31:37 - General - ERROR (version 5.1-NIGHTLY.584, build 1 from 2014-04-06_22-25-45 by buildguy) : java.lang.NullPointerException 2014/04/08 10:31:37 - General - at org.pentaho.di.trans.Trans.setServletReponse(Trans.java:5349) 2014/04/08 10:31:37 - General - at org.pentaho.di.trans.steps.mapping.Mapping.prepareMappingExecution(Mapping.java:341) 2014/04/08 10:31:37 - General - at org.pentaho.di.trans.steps.mapping.Mapping.init(Mapping.java:583) 2014/04/08 10:31:37 - General - at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:60) 2014/04/08 10:31:37 - General - at java.lang.Thread.run(Unknown Source) repro path: 1. Set KETTLE_DEFAULT_SERVLET_ENCODING in kettle.properties to UTF-8. 2. Run locally sample "Mapping - use simple mapping.ktr" Workaround: turn off KETTLE_DEFAULT_SERVLET_ENCODING if running transformations locally, it was designed for carte/clustering needs. ( http://jira.pentaho.com/browse/PDI-9555 )
    via by Ihar Chekan,
  • I am getting exception on step "Symmetric Cryptography" in PDI 4.2.0 stable release. I am using Decrypt operation with DES algorithm. Following is stack trace from linux server (works fine on windows). Following is exception: ERROR 12-07 01:15:14,927 - Staging - password - Error ERROR 12-07 01:15:14,927 - WebService - password - Error ERROR 12-07 01:15:14,928 - Staging - password - java.lang.NullPointerException at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCryptoMeta.findSymmetricCryptoInterface(SymmetricCryptoMeta.java:82) at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCryptoMeta.getSymmetricCryptoInterface(SymmetricCryptoMeta.java:67) at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCryptoMeta.<init>(SymmetricCryptoMeta.java:53) at org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTrans.init(SymmetricCryptoTrans.java:212) at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:52) at java.lang.Thread.run(Unknown Source) ERROR 12-07 01:15:14,928 - WebService - password - java.lang.NullPointerException at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCryptoMeta.findSymmetricCryptoInterface(SymmetricCryptoMeta.java:82) at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCryptoMeta.getSymmetricCryptoInterface(SymmetricCryptoMeta.java:67) at org.pentaho.di.trans.steps.symmetriccrypto.symmetricalgorithm.SymmetricCryptoMeta.<init>(SymmetricCryptoMeta.java:53) at org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTrans.init(SymmetricCryptoTrans.java:212) at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:52) at java.lang.Thread.run(Unknown Source) ERROR 12-07 01:15:14,928 - Staging - password - Error initializing step [Staging - password] ERROR 12-07 01:15:14,928 - WebService - password - Error initializing step [WebService - password] ERROR 12-07 01:15:15,200 - set_config_variables - Step [Staging - password.0] failed to initialize! ERROR 12-07 01:15:15,201 - set_config_variables - Step [WebService - password.0] failed to initialize! ERROR 12-07 01:15:15,202 - Set - Configuration Variables - Unable to open transformation: null ERROR 12-07 01:15:15,202 - Set - Configuration Variables - java.lang.NullPointerException at org.pentaho.di.trans.steps.symmetriccrypto.symmetriccryptotrans.SymmetricCryptoTrans.dispose(SymmetricCryptoTrans.java:248) at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:766) at org.pentaho.di.trans.Trans.execute(Trans.java:364) at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:1024) at org.pentaho.di.job.Job.execute(Job.java:503) at org.pentaho.di.job.Job.execute(Job.java:642) at org.pentaho.di.job.Job.execute(Job.java:642) at org.pentaho.di.job.Job.execute(Job.java:420) at org.pentaho.di.job.entries.job.JobEntryJobRunner.run(JobEntryJobRunner.java:63) at java.lang.Thread.run(Unknown Source) The error does not appear all times, it is random and works fine on executing ETL again. This is the first step for ETL. Is it a bug or something not correctly done?
    via by faryal ali,
  • A simple transformatoin that selects data from a postgresql database table in postgresql and then uses a 'postgresql bulk load' step to load data into another postgresql table in a different schema works fine when the transformation is executed ( on the remote machine running carte). - The Bulk load works really well in this situation, much faster than the table output. However, when the the same transformation is placed into a job and the job is then executed, the following error occurs: 2008/12/18 09:27:45 - Job 1 - Starting entry [create_transfer_fact part one test] 2008/12/18 09:27:45 - create_transfer_fact part one test - Loading transformation from repository [create_transfer_fact part one test] in directory [/] 2008/12/18 09:27:45 - create_transfer_fact part one test - Dispatching started for transformation [create_transfer_fact part one test] 2008/12/18 09:27:45 - create_transfer_fact part one test - This transformation can be replayed with replay date: 2008/12/18 09:27:45 2008/12/18 09:27:45 - PostgreSQL Bulk Loader - ERROR (version 3.1.0, build 826 from 2008/11/26 16:41:00) : Error initializing step [PostgreSQL Bulk Loader] 2008/12/18 09:27:45 - PostgreSQL Bulk Loader - ERROR (version 3.1.0, build 826 from 2008/11/26 16:41:00) : java.lang.NullPointerException 2008/12/18 09:27:45 - PostgreSQL Bulk Loader - ERROR (version 3.1.0, build 826 from 2008/11/26 16:41:00) : at org.pentaho.di.trans.steps.pgbulkloader.PGBulkLoader.init(PGBulkLoader.java:436) 2008/12/18 09:27:45 - PostgreSQL Bulk Loader - ERROR (version 3.1.0, build 826 from 2008/11/26 16:41:00) : at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:48) 2008/12/18 09:27:45 - PostgreSQL Bulk Loader - ERROR (version 3.1.0, build 826 from 2008/11/26 16:41:00) : at java.lang.Thread.run(Thread.java:619) 2008/12/18 09:27:45 - create_transfer_fact part one test - ERROR (version 3.1.0, build 826 from 2008/11/26 16:41:00) : Step [PostgreSQL Bulk Loader.0] failed to initialize! 2008/12/18 09:27:45 - Read in principal.transfer_details_src_v.0 - Finished reading query, closing connection. 2008/12/18 09:27:45 - create_transfer_fact part one test - ERROR (version 3.1.0, build 826 from 2008/11/26 16:41:00) : Unable to prepare for execution of the transformation 2008/12/18 09:27:45 - Job 1 - Finished jobentry [create_transfer_fact part one test] (result=[false]) Any ideas or work arounds for this? Thanks
    via by Gary Evans,
    • java.lang.NullPointerException at org.pentaho.di.trans.steps.jms.f.init(SourceFile:145) at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:52) at java.lang.Thread.run(Unknown Source)

    Users with the same issue

    Unknown visitor
    Unknown visitor2 times, last one,