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

NPE when open a process in BPM modeler #3417

Closed
SergeiAksenov2 opened this issue Jun 25, 2024 · 2 comments
Closed

NPE when open a process in BPM modeler #3417

SergeiAksenov2 opened this issue Jun 25, 2024 · 2 comments
Assignees
Labels
in: bpm size: S type: regression Regress comparing to a previous version
Milestone

Comments

@SergeiAksenov2
Copy link

SergeiAksenov2 commented Jun 25, 2024

Environment

Jmix version: 2.3.0
Jmix Studio plugin version: 2.3.NIGHTLY1361-241
IntelliJ version: IntelliJ IDEA 2024.1.4 (Community Edition)

Bug Description

Open a process in BPM madeler cause the exception

Steps To Reproduce

  1. Add BPM addon
  2. Run project
  3. Go to BPM Modeler
  4. Create process
  5. Deploy process
  6. Go to "Process definitions", select the process
  7. Click the button "Open in modeler"

Current Behavior

There is a NPE: Cannot invoke 'io.jmix.bpmflowui.uicomponent.bpmnmodeler.BpmnModeler.setBpmnXml(String)' because 'this.bpmnModeler' is null
image

image

Expected Behavior

Modeler view is opend.

@SergeiAksenov2 SergeiAksenov2 added type: bug Something isn't working triage Issue is waiting for triage labels Jun 25, 2024
@SergeiAksenov2 SergeiAksenov2 changed the title Open in modeler Open modeler BPM Jun 25, 2024
@SergeiAksenov2 SergeiAksenov2 changed the title Open modeler BPM NPE when open a process in BPM modeler Jun 25, 2024
@gorbunkov gorbunkov added type: regression Regress comparing to a previous version and removed type: bug Something isn't working labels Jun 25, 2024
@gorbunkov
Copy link
Contributor

Caused by #3419

@gorbunkov gorbunkov added size: S and removed triage Issue is waiting for triage labels Jun 25, 2024
@gorbunkov gorbunkov self-assigned this Jun 25, 2024
@SergeiAksenov2
Copy link
Author

Tested on:

  1. Jmix version: 2.3.999-SNAPSHOT
    Jmix Studio plugin version: 2.3.SNAPSHOT6519-233
    IntelliJ version: IntelliJ IDEA 2023.3.7 (Community Edition)
  2. Jmix version: 2.3.999-SNAPSHOT
    Jmix Studio plugin version: 2.3.NIGHTLY1361-241
    IntelliJ version: IntelliJ IDEA 2024.1.4 (Community Edition)

A process can be opened in Modeler through 'Process definitions' menu 'Open in modeler' - Ok.

@gorbunkov gorbunkov added this to the 2.3.1 milestone Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: bpm size: S type: regression Regress comparing to a previous version
Projects
Status: Done
Development

No branches or pull requests

2 participants