Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-4128

"Set field value to a constant" transform throws error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • Pipelines, Transforms
    • None

    Description

      Inside a pipeline, the "Set field value to a constant" transform throws an error: 

       

      RuntimeException: Error create instance of transform data: null. Root cause: IllegalAccessException: class org.apache.hop.pipeline.transform.BaseTransformMeta cannot access a member of class org.apache.hop.pipeline.transforms.setvalueconstant.SetValueConstantData with modifiers ""
       
      

      In the attached pipeline, starting the pipeline via the "play" button yields "Idle" running status, see attached screenshot.

      Trying to use "Preview output" throws an error message, see attached.

      Data grid without this step works normally.

      I could not find any workarounds using this transform, it seems completely broken.

       

      How to reproduce:

      • open the pipeline
      • try to run it via "start button" ==> execution remains in "Idle"
      • try to "Preview output" on "Data Grid" or "Set field value to a constant" transform ==> error is thrown
      • remove the "Set field value to a constant" transform ==> everything works flawlessly

      Attachments

        1. SetFieldValueToConstantConfig.png
          18 kB
          Gerhard Mitterlechner
        2. SetFieldValueToConstantError.png
          10 kB
          Gerhard Mitterlechner
        3. SetFieldValueToConstantIdleWhenPipelineGetsStarted.png
          20 kB
          Gerhard Mitterlechner
        4. WorkingDataGrid.png
          11 kB
          Gerhard Mitterlechner
        5. test_constant_values_bug.hpl
          2 kB
          Gerhard Mitterlechner

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gmitter Gerhard Mitterlechner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: