JADE Environment Development Ideas

What's new in the upcoming JADE release?

IMPROVED DEVELOPER EFFICIENCY. ENHANCED SECURITY. SMOOTHER INTEGRATION

The JADE 2022 release meets tomorrow’s business demands.


Start your update to JADE's latest release

myStringArray.tryAddIfNotNull("a String") errors with 1312

myArray : StringArray;

myArray := create StringArray transient;

myArray.tryAddIfNotNull("a String");

Compiles fine. Throws a 1312 at runtime (Class of value passed to a collection method incompatible with membership)

Can the compiler be enhanced to detect this as an illegal operation? Either that, or the language be enhanced to allow this.


  • Guest
  • Jul 10 2025
  • Executing
  • Attach files
  • Admin
    Patrick Pritchard commented
    14 Jul 22:41

    Hi Damian. This is a bug, and the same issue exists with tryRemoveIfNotNull(). Please open a PARSYS Contact and we'll address it.