Appian Grid

Certified Lead Developer

We are encountering the following error in our Appian application:

ERROR com.appiancorp.record.service.visitor.DiscoverAllRecordBindings -
Exception encountered in grid field tree visitor, falling back in try catch.
java.lang.NullPointerException

This issue appears while working with a grid component (record-based or interface grid). There are no obvious breaking changes, but the error is being logged intermittently.

We suspect it may be related to:

  • Null values in grid field bindings
  • Record type relationships
  • Nested field references in grid columns

However, we are unable to pinpoint the exact cause.

  • What typically causes this DiscoverAllRecordBindings NullPointerException?
  • Are there recommended best practices to avoid this issue in grid configurations?
  • How can we effectively debug which field or binding is causing the problem?

Any guidance or suggestions would be greatly appreciated!

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Wrap relationship field references in if(isnull(...), "", ...) or use a custom record field with null-safe expressions instead of referencing relationship fields directly in grid columns.
    After any Record Type schema change, verify all grid column fieldConfigs still point to valid fields.

    Also you can try debug, 
    Temporarily remove grid columns one by one and reload - when the error stops, the last removed column is the culprit.

Reply
  • 0
    Certified Lead Developer

    Wrap relationship field references in if(isnull(...), "", ...) or use a custom record field with null-safe expressions instead of referencing relationship fields directly in grid columns.
    After any Record Type schema change, verify all grid column fieldConfigs still point to valid fields.

    Also you can try debug, 
    Temporarily remove grid columns one by one and reload - when the error stops, the last removed column is the culprit.

Children
No Data