Skip to content

Commit 6e171c4

Browse files
committed
Fix NPE
1 parent 7c457b4 commit 6e171c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-plugin-gsp/src/main/groovy/org/grails/plugins/web/GroovyPagesGrailsPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class GroovyPagesGrailsPlugin extends Plugin {
182182
}
183183
}
184184

185-
if(defaultViews.exists()) {
185+
if(defaultViews?.exists()) {
186186
precompiledGspMap = { PropertiesFactoryBean pfb ->
187187
ignoreResourceNotFound = true
188188
locations = [defaultViews] as Resource[]

0 commit comments

Comments
 (0)