Uploaded image for project: 'CloverDX'
  1. CloverDX
  2. CLO-4462

EOF as delimiter does not work for fixed length metadata

    XMLWordPrintable

    Details

    • QA Testing:
      Graph automated test
    • QA Test Identification:
      cloveretl.test.scenarios/after-commit.ts/UDR_fixlen_eofAsDelimiter

      Description

      When EOF as delimiter = true on the fixed length record, parsing of the last record of the file fails with error.

      15:17:27,433 ERROR [WatchDog_5] Error details:
      org.jetel.exception.JetelRuntimeException: Component [ReadInputFile:READ_INPUT_FILE] finished with status ERROR. (Out0: 6 recs)
      	at org.jetel.graph.Node.createNodeException(Node.java:582)
      	at org.jetel.graph.Node.run(Node.java:558)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:744)
      Caused by: org.jetel.exception.BadDataFormatException: Parsing error: Unexpected record delimiter, probably record is too short. in record 7, field 30 ("ahPriorityofAction"), metadata "clientSourceLayout"; value: '<Raw record data is not available, please turn on verbose mode.>'
      	at org.jetel.data.parser.DataParser.parsingErrorFound(DataParser.java:573)
      	at org.jetel.data.parser.DataParser.parseNext(DataParser.java:530)
      	at org.jetel.data.parser.DataParser.getNext(DataParser.java:185)
      	at org.jetel.util.MultiFileReader.getNext(MultiFileReader.java:435)
      	at org.jetel.component.DataReader.execute(DataReader.java:272)
      	at org.jetel.graph.Node.run(Node.java:520)
      	... 3 more
      

      This used to work on 4.0.0.M1 when EOF as delimiter was set on the field level.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zatopekm Martin Zatopek
                Reporter:
                piparoa Angela Piparo
              • Votes:
                1 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 - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h