Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-11948

Error in sub-transformation If "KETTLE_DEFAULT_SERVLET_ENCODING" in set to UTF-8.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: High
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: 5.1.0 GA
    • Component/s: None
    • Environment:
      Win7 64, Ubuntu 64
      Nightly 5.1 build #584
    • Story Points:
      5
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Sprint Team:
      Pervach

      Description

      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 )

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ihar_chekan Ihar Chekan (Inactive)
              Reporter:
              ihar_chekan Ihar Chekan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 19h
                  19h