Skip to content

Geb doesn't compile with Groovy5 #314

@jkalq

Description

@jkalq

When using Geb with Groovy 5.0.0+, the geb-implicit-assertions AST transformation crashes at compile time with a NullPointerException originating from MetaClassImpl.getMetaProperty().

The root cause is Groovy 5 internally using ConcurrentHashMap, which does not permit null keys, resulting into any call to .get(null) throwing an NPE instead of returning null as it did in Groovy 4.

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