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

ProcessInstanceModificationBuilder.execute() throw NullPointerException #4719

Open
1 task
Fcastineiras opened this issue Oct 10, 2024 · 1 comment
Open
1 task
Assignees
Labels
group:requested-info DRI: Yana group:stale DRI: Yana type:bug Issues that describe a user-facing bug in the project.

Comments

@Fcastineiras
Copy link

Environment (Required on creation)

JDK 17 - Oracle - camunda-bpm-spring-boot-starter-webapp 7.19.0

Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket)

The same lines to execute success the ProcessInstanceModificationBuilder instanced with 7.16.0 is broken with this version (7.19.0).

Cannot invoke org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.getFlowScopeExecution() because the return value of *org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.getParent()" is null java. Lang.NullPointerException Create breakpoint : Cannot invoke "org.camunda.bpm.engine.1mpl.pvm.runtime.PvmExecutionImpl.getFlowScopeExecution()" because the return value of "org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.getParent()* 1s null at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.getFlowScopeExecution(PvmExecutionImpl.java:1565) ~[camunda-engine-7.19.0.Jar:7a .19.0] at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.getFlowScopeExecution(PvnExecut1onImpl.java:1565) -[camunda-engine-7.19.0.jar:7 .19.0) at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.createActivityExecutionMapping(PvmExecutionImpl.java:1551) -[camunda-engine-7 .19.0.jar:7.19.0] at org.camunda.bpm.engine.impl.tree.ActivityExecutionHierarchyWalker.<init>(ActivityExecutionH1erarchyWalker.java:40) ~[camunda-engine-7.19 .0.jar:7.19.0] at org.camunda.bpm.engine.impl.bpmn.helper.BpmnExceptionHandler.propagateError(BpmnExceptionHandler.java:99) ~[camunda-engine-7.19.0.jar:7 19.0] at org. camunda.bpm.engine.impl.bpmn.helper.BpmnExceptionHandler-propagateBpmnError(BpmnExcept1onHandler.java:94) ~[camunda-engine-7.19.0 •Jar:7.19.0) at org.camunda.bpm.engine.impl.bpmn.helper.BpmnExceptionHandler-propagateException(BpmnExcept1onHandler.java:50) -[camunda-engine-7.19.0 -Jar:7.19.0] at org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior.executeWithErrorPropagation(AbstractBpmnAct1v1tyBehavionjava:95) -[camunda-engine-7.19.0.Jar:7.19.01 at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.doSignal (ServiceTaskDelegateExpressionAct/vityBehavior.1ava:91) ~[camunda-engine-7.19.0.jar:7.19.0) at org.camunda.bpm.engine.1mpl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior.signal (SenviceTaskDelegateExpressionAct/vityBehavior.java:73) ~[camunda-engine-7.19.0.jar:7.19.0) at org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.signal(PvmExecutionImpl.java:781) -[camunda-engine=7.19.0.jar:7.19.0] at org.camunda.bpm.engine.1mpl.cmd.SignalCmd.execute(SignalCmd.java:66) ~[camunda-engine-7.19.0.jar:7.19.0) at org.camunda.bpm.engine.impl.interceptor.CommandExecutorImpl. execute(CommandExecutorImpl.java:28) ~[camunda-engine-7.19.0.jar:7.19.0] at org.camunda.bpm.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContext/Interceptor.java:110) ~[camunda-engine-7.19.0

Breakdown

Pull Requests

No tasks being tracked yet.

Dev2QA handover

  • Does this ticket need a QA test and the testing goals are not clear from the description? Add a Dev2QA handover comment
@Fcastineiras Fcastineiras added the type:bug Issues that describe a user-facing bug in the project. label Oct 10, 2024
@joaquinfelici
Copy link
Contributor

joaquinfelici commented Oct 11, 2024

Hello @Fcastineiras,
Thanks for raising this. I cannot see any mention of class ProcessInstanceModificationBuilder in the stack trace you provided, maybe you could share a more complete log file. Could you also provide an example of a code snippet that was successfully ran ProcessInstanceModificationBuilder.execute() in 7.16 but not in 7.19? This could help reproduce and analyze the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group:requested-info DRI: Yana group:stale DRI: Yana type:bug Issues that describe a user-facing bug in the project.
Projects
None yet
Development

No branches or pull requests

2 participants