You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is existed in the former 8.0.0-M9 and I tried to verify today and found it is still existed in the new GlassFish 8.0.0-M10.
The server log.
[2025-03-19T17:59:27.882860+08:00] [GF 8.0.0-M10] [WARNING] [] [org.glassfish.jersey.server.ServerRuntime$Responder] [tid: _ThreadID=41 _ThreadName=http-listener-1(1)] [levelValue: 900] [[
An exception mapping did not successfully produce and processed a response. Logging the exception propagated to the default exception mapper.
java.lang.IllegalArgumentException: daysOfMonth: []
at jakarta.enterprise.concurrent.CronTrigger.parse(CronTrigger.java:639)
at jakarta.enterprise.concurrent.CronTrigger.daysOfMonth(CronTrigger.java:242)
at org.glassfish.concurro.cdi.asynchronous.AsynchronousInterceptor.schedule(AsynchronousInterceptor.java:141)
at org.glassfish.concurro.cdi.asynchronous.AsynchronousInterceptor.intercept(AsynchronousInterceptor.java:60)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
This issue is existed in the former 8.0.0-M9 and I tried to verify today and found it is still existed in the new GlassFish 8.0.0-M10.
The server log.
The
@Schedule
annotation is used like this.And call this bean in REST resources.
The complete project is here, https://github.com/hantsy/jakartaee11-sandbox/tree/master/concurrency/src/main/java/com/example/schedule, the tests is here, https://github.com/hantsy/jakartaee11-sandbox/blob/master/concurrency/src/test/java/com/example/it/ScheduleTest.java
The text was updated successfully, but these errors were encountered: