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

Error when using metadata injection with Neo4j Output action

    XMLWordPrintableJSON

Details

    Description

      When using metadata injection to a pipeline that contains a Neo4j Output step we get an

      2021/09/01 11:39:58 - ETL metadata injection.0 - ERROR: Unexpected error
      2021/09/01 11:39:58 - ETL metadata injection.0 - ERROR: java.lang.ArrayIndexOutOfBoundsException: 0
      2021/09/01 11:39:58 - ETL metadata injection.0 - at org.apache.hop.neo4j.transforms.output.Neo4JOutputMeta.getXml(Neo4JOutputMeta.java:253)
      2021/09/01 11:39:58 - ETL metadata injection.0 - at org.apache.hop.pipeline.transform.TransformMeta.getXml(TransformMeta.java:184)
      2021/09/01 11:39:58 - ETL metadata injection.0 - at org.apache.hop.pipeline.PipelineMeta.getXml(PipelineMeta.java:1666)
      2021/09/01 11:39:58 - ETL metadata injection.0 - at org.apache.hop.pipeline.transforms.metainject.MetaInject.writeInjectedHplToFs(MetaInject.java:265)
      2021/09/01 11:39:58 - ETL metadata injection.0 - at org.apache.hop.pipeline.transforms.metainject.MetaInject.writeInjectedHpl(MetaInject.java:250)
      2021/09/01 11:39:58 - ETL metadata injection.0 - at org.apache.hop.pipeline.transforms.metainject.MetaInject.processRow(MetaInject.java:230)
      2021/09/01 11:39:58 - ETL metadata injection.0 - at org.apache.hop.pipeline.transform.RunThread.run(RunThread.java:58)
      2021/09/01 11:39:58 - ETL metadata injection.0 - at java.lang.Thread.run(Unknown Source)
      2021/09/01 11:39:58 - ETL metadata injection.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1) 

      To reproduce you can run the metadata_injection_neo4j_output.hpl pipeline in the attached project

      Attachments

        1. array_error.zip
          7 kB
          Yancarlo Perez
        2. image-2022-02-15-11-28-03-033.png
          34 kB
          Matt Casters

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yancarlo.perez Yancarlo Perez
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 40m
                  40m