java.lang.NullPointerException

Pentaho BI Platform Tracking | Ihar Chekan | 3 years ago
  1. 0

    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 )

    Pentaho BI Platform Tracking | 3 years ago | Ihar Chekan
    java.lang.NullPointerException
  2. 0

    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 )

    Pentaho BI Platform Tracking | 3 years ago | Ihar Chekan
    java.lang.NullPointerException
  3. 0

    Convert String to XML parameter - Spatialytics - Forum

    spatialytics.com | 1 year ago
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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?

    Pentaho BI Platform Tracking | 4 years ago | faryal ali
    java.lang.NullPointerException

    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. java.lang.NullPointerException

      No message provided

      at org.pentaho.di.trans.Trans.setServletReponse()
    2. org.pentaho.di
      StepInitThread.run
      1. org.pentaho.di.trans.Trans.setServletReponse(Trans.java:5349)
      2. org.pentaho.di.trans.steps.mapping.Mapping.prepareMappingExecution(Mapping.java:341)
      3. org.pentaho.di.trans.steps.mapping.Mapping.init(Mapping.java:583)
      4. org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:60)
      4 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame