codeconsole commented on PR #15146:
URL: https://github.com/apache/grails-core/pull/15146#issuecomment-3417226847
java.sql.Date on /show page results in
```
14:01:16,958 |-WARN in Logger[StackTrace] - No appenders present in context
[default] for logger [StackTrace].
2025-10-17T14:01:16.959-07:00 ERROR 65880 --- [nio-8082-exec-4]
.C.[.[.[.[dispatcherServletRegistration] : Servlet.service() for servlet
[dispatcherServletRegistration] in context with path [] threw exception
[Request processing failed: org.grails.gsp.GroovyPagesException: Error
processing GroovyPageView: [Byte array resource [view:-,-,dateTime:show]:33]
Error executing tag <f:display>: Unsupported field: HourOfDay] with root cause
java.time.temporal.UnsupportedTemporalTypeException: Unsupported field:
HourOfDay
at java.base/java.time.LocalDate.get0(LocalDate.java:698)
at java.base/java.time.LocalDate.getLong(LocalDate.java:678)
at
java.base/java.time.format.DateTimePrintContext$1.getLong(DateTimePrintContext.java:205)
at
java.base/java.time.format.DateTimePrintContext.getValue(DateTimePrintContext.java:308)
at
java.base/java.time.format.DateTimeFormatterBuilder$NumberPrinterParser.format(DateTimeFormatterBuilder.java:2915)
at
java.base/java.time.format.DateTimeFormatterBuilder$CompositePrinterParser.format(DateTimeFormatterBuilder.java:2539)
at
java.base/java.time.format.DateTimeFormatter.formatTo(DateTimeFormatter.java:1905)
at
java.base/java.time.format.DateTimeFormatter.format(DateTimeFormatter.java:1879)
at
org.grails.plugins.web.DefaultGrailsTagDateHelper.format(DefaultGrailsTagDateHelper.groovy:108)
at
org.codehaus.groovy.vmplugin.v8.IndyInterface.selectMethod(IndyInterface.java:355)
at
org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
at
org.grails.plugins.web.taglib.FormatTagLib$_closure2.doCall(FormatTagLib.groovy:204)
at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at org.grails.taglib.TagOutput.captureTagOutput(TagOutput.java:84)
at
org.grails.taglib.TagLibraryMetaUtils$_registerMethodMissingForTags_closure3.doCall(TagLibraryMetaUtils.groovy:81)
at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at
org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
at
grails.plugin.formfields.FormFieldsTagLib.renderDefaultDisplay(FormFieldsTagLib.groovy:964)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]