Skip to content

[Bug]: Error handling on "Get data from XML" does not work #6554

@ossDataEngineer

Description

@ossDataEngineer

Apache Hop version?

2.16

Java version?

17

Operating system

Windows

What happened?

We have a use case where REST API sends XML data, which we need to parse and map data to database tables.

We use "Get data from XML" to parse the source data, which sometimes gets aborted with errors like

org.dom4j.DocumentException: Error on line -1 of document : Premature end of file.

The error handling route on the transform does not get activated, preventing the activation of transforms like write to log, etc. to log the actual bad xml data which caused the issue in first place.

Expectation:
When the error handling route is added on the XML transform and the transform fails, the data should flow through that route and subsequent transforms for error handling should be activated

Issue Priority

Priority: 3

Issue Component

Component: Transforms

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions