Skip to content

check and exec still accept a CALL JAVA ACTION with a missing required argument (CE0115); follow-up to #1909 #1939

Backlog

Description

@GlennCorvers

Description

Follow-up to #1909. On v0.33.0 the second half of #1909 is fixed: a Java action result assigned to an attribute of a mismatching type is now refused by check (E009). The first half still passes: a CALL JAVA ACTION that leaves out a required parameter passes mxcli check and exec, and only mx check reports CE0115.

Steps to reproduce

App with the CommunityCommons Marketplace module (getGUID takes one required parameter item: TypeParameter and returns Integer):

mdl 1;
CREATE MICROFLOW MyFirstModule.ReproMissingArg ()
RETURNS Integer
BEGIN
  $Guid = CALL JAVA ACTION CommunityCommons.getGUID ();
  RETURN $Guid;
END;
mxcli check probe.mdl -p <app>.mpr --references
mxcli exec  probe.mdl -p <app>.mpr
mx check <app>.mpr

Expected

mxcli check refuses the call: required parameter item of CommunityCommons.getGUID has no argument.

Actual

mxcli check: "Check passed!"; exec creates the microflow. mx check:

[error] [CE0115] "The arguments that are passed to Java action 'CommunityCommons.getGUID' do not match the expected parameters and need to be refreshed." at Call Java action activity 'getGUID', Java action 'CommunityCommons.getGUID'

Control: CALL JAVA ACTION CommunityCommons.getGUID (item = $Obj) with the Integer result assigned to a String attribute is refused by check (E009), as fixed for #1909.

Version

  • mxcli: v0.33.0 (2026-11-22T15:42:43Z); v0.33.1 and the nightlies not tried
  • Mendix version of the app: 11.12.4 (mx check of Studio Pro 11.12.4)
  • OS: Windows 11

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions