Hi Mori,

Thanks for the detailed overview and problem description.
I haven't had the time to look into the possible causes, but I do confirm
the issue.
We'll look into it if you create a bug ticket
<https://github.com/apache/hop/issues/> in the Apache Hop project on GitHub.

Bart


On Tue, Dec 16, 2025 at 6:39 PM Mori Huang <[email protected]> wrote:

> Hello Apache Hop Development Team,
>
> I would like to report an issue I'm encountering with the Unit Testing
> functionality in Apache Hop 2.15.0, and would like to ask whether this is a
> known issue of Hop, particularly when running Hop Web in a Kubernetes
> environment. If so, is there a recommended workaround or configuration
> change to ensure unit tests and related components are properly detected?
>
> # Problem Description
>
> According to the official doc, the Unit Testing category should include
> the following components:
>
> - Set input data set
> - Clear input data set
> - Set golden data set
> - Clear golden data set
> - Remove from test
> - Include in test
> - Bypass in test
> - Remove bypass in test
>
> However in my environment, I only see the following components:
>
> - Create data set
> - Write rows to data set
>
> After further investigation, I suspect that Hop Web is not detecting my
> unit test file correctly, based on the following behavior:
>
> - I created a unit test file in the metadata folder "
> /usr/local/tomcat/webapps/ROOT/config/projects/samples/metadata/unit-test”,
> the pipeline is able to detect the unit test file and is visible in the
> unit test drop-down list.
> - When I click "Edit the selected unit test", no panel is opened.
> - When I click "Detach the unit test from this pipeline", I got the
> following error message:
>
> NullPointerException: Cannot invoke
> "org.apache.hop.testing.PipelineUnitTest.getName()" because "unitTest" is
> null
> Root cause: NullPointerException: Cannot invoke
> "org.apache.hop.testing.PipelineUnitTest.getName()" because "unitTest" is
> null
>
>
> - When selecting a transform (e.g. get ${PRM_EXAMPLE}), the expected "Unit
> Testing" components do not appear.
>
> # Environment Details
>
> Deployment: Kubernetes
>
> Installation method: Helm chart
>
> Apache Hop versions tested:
>
> - 2.15.0 (Helm and Docker)
> - 2.14.0 (Helm)
> - 2.13.0 (Helm)
> - 2.12.0 (Docker)
>
> → All of the above exhibit the same issue.
>
> Hop 2.9.0 and 2.10.0 however do not have this problem
>
> Please refer to the attached screenshots for further info, any guidance or
> insight would be greatly appreciated.
>
> Thank you for your time and support.
>
> Best regards,
> Mori
>
> [image: Screenshot from 2025-12-16 18-08-55.png][image: Screenshot from
> 2025-12-16 18-09-25.png][image: Screenshot from 2025-12-16 11-00-33.png]
>
>
>
> ---
> SAS Adaltas
> 6 rue Jules Simon - 92100 Boulogne-Billancourt
> Mori HUANG, ingénieur d’études
> [email protected]
>
>

Reply via email to