Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

camunda-xml-model version is not aligned with camunda/camunda #1493

Open
megglos opened this issue Feb 17, 2025 · 1 comment
Open

camunda-xml-model version is not aligned with camunda/camunda #1493

megglos opened this issue Feb 17, 2025 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@megglos
Copy link
Contributor

megglos commented Feb 17, 2025

Description

This misalignment potentially causes runtime erros such as:

16:28:11.049 [zb-actors-6] ERROR io.camunda.zeebe.logstreams -- Actor StreamProcessor-1 failed in phase STARTED.
java.lang.NoSuchMethodError: 'void org.camunda.bpm.model.xml.impl.validation.ModelValidationResultsImpl.<init>(org.camunda.bpm.model.xml.validation.ValidationResults[])'
	at io.camunda.zeebe.engine.processing.deployment.transform.BpmnValidator.validate(BpmnValidator.java:51)
	at io.camunda.zeebe.engine.processing.deployment.transform.BpmnResourceTransformer.lambda$createMetadata$3(BpmnResourceTransformer.java:81)

with Camunda 8.6.9, see this thread.

Expected behaviour

The model depencies in ZPT should be aligned with the versions used in camunda/camunda.

Reproduction steps

See https://github.com/ingorichtsmeier/zeebe-process-testing

Environment

  • OS:
  • Version: at least 8.6.x
@megglos
Copy link
Contributor Author

megglos commented Feb 19, 2025

as a workaround for the issue, you can add

    <dependency>
      <groupId>org.camunda.bpm.model</groupId>
      <artifactId>camunda-xml-model</artifactId>
      <version>7.22.0</version>
      <scope>test</scope>
    </dependency>

to your project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant