-
Notifications
You must be signed in to change notification settings - Fork 677
Closed
Milestone
Description
play1/framework/src/play/jobs/JobsPlugin.java
Line 195 in 2338f92
| cron = Play.configuration.getProperty(cron); |
evaluates to null, if there is no application configuration.
The @On annotation does not allow a default value which could be provided for getProperty. Therefore the default should be "".
Reason:
play1/framework/src/play/jobs/JobsPlugin.java
Line 197 in 2338f92
| cron = Expression.evaluate(cron, cron).toString(); |
will throw a NPE if
cron is null.Metadata
Metadata
Assignees
Labels
No labels