Missing expression and invalid chars in error message
See original GitHub issueTried to parse * * -1 * * ?
and got the following message
java.lang.IllegalArgumentException: Invalid chars in expression! Expression: Invalid chars: (FieldParser.java:247)
[error] com.cronutils.parser.FieldParser.stringToInt(FieldParser.java:247)
[error] com.cronutils.parser.FieldParser.map(FieldParser.java:228)
[error] com.cronutils.parser.FieldParser.parseBetween(FieldParser.java:142)
[error] com.cronutils.parser.FieldParser.dashSplitResult(FieldParser.java:90)
[error] com.cronutils.parser.FieldParser.parse(FieldParser.java:83)
[error] com.cronutils.parser.CronParserField.parse(CronParserField.java:61)
[error] com.cronutils.parser.CronParser.parse(CronParser.java:95)
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Invalid expression. Check for missing or extra characters.
When I run my code I got an error message "Invalid expression. Check for missing or extra characters" for my if loop. I...
Read more >Errors using special characters in Access databases - Office
Error message when you use special characters in Access databases ... error message: The Expression you entered contains invalid syntax.
Read more >How to get rid of Error "Missing Expression" while using the ...
1 Answer 1 · I get an error saying -- ORA-00904: "RIGHT": invalid identifier.. · I asume he copied the RIGHT() from your...
Read more >Synchronize Portfolio Investments Job fails with error ORA ...
The portfolio synch job is failing with the below error when we create a large power filter expression Job fails if certain threshold...
Read more >Question on Forms personlization - Oracle Communities
could not be evaluated because of error ORA-00911: invalid character. The condition block actually should check if the value returned by the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@francisdb @espiegel Just checked this issue and provided a workaround. We detect the issue and throw an exception, with the following message: “Failed to parse ‘* * -1 * * ?’. Invalid expression! Expression: -1 does not describe a range. Negative numbers are not allowed.” Thank you for reporting it.
@francisdb @espiegel The fix was released with version 5.0.5