-
-
Notifications
You must be signed in to change notification settings - Fork 967
Closed
Milestone
Description
When using GrailsCompileStatic on domain classes that do contains enum definitions in, compilation fails with the following message:
General error during canonicalization: Cannot get property 'initialExpression' on null object
java.lang.NullPointerException: Cannot get property 'initialExpression' on null object
at org.grails.compiler.ValidateableTypeCheckingExtension$_run_closure4.doCall(ValidateableTypeCheckingExtension.groovy:50)
Step to reproduce
- create an empty web project
- add domain class that contains enum class in
- add GrailsCompileStatic class annotation
- in the root of the project, launch build:
$ ./gradlew build
=> Compilation fails
darxriggs
Metadata
Metadata
Assignees
Labels
No labels