Skip to content

[Bug]: "Central Log Store is not initialized!!!" error when running GetXMLDataTest #5816

@S3tuit

Description

@S3tuit

Apache Hop version?

2.16.0-SNAPSHOT-20251013

Java version?

OpenJDK 64-Bit Server VM Microsoft-11369865 (build 17.0.15+6-LTS, mixed mode, sharing)

Operating system

Windows

What happened?

When running GetXMLDataTest (and other transform integration tests) with Maven, tests fail with:

[INFO] Results:
[INFO] [ERROR] Errors:
[ERROR] GetXMLDataTest.testGetXMLDataSimple1:324 » Runtime Central Log Store is not initialized!!!
[ERROR] GetXMLDataTest.testInit:426 » Runtime Central Log Store is not initialized!!!

This happens even though HopEnvironment.init() is called in the test. The issue does not occur when running tests directly from IntelliJ. Also, using the repo of 2 weeks ago, it runs fine even with Maven. I get the error when I run:
mvn -T 1C -pl plugins/transforms/xml package -am
or
mvn -T 1C clean install

Initializing the Hop engine environment at the test class solves the issue.

Issue Priority

Priority: 2

Issue Component

Component: Other

Metadata

Metadata

Assignees

Labels

OtherP2Default Priority

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions