[4.0.0] regression - NumberFormatException: For input string: "$"
See original GitHub issueWe have a test like this
"throw an exception for invalid cron expression with unknown char" in {
parse("* * * * $ ?") must throwA[IllegalArgumentException](
Pattern.quote("Invalid chars in expression! Expression: $ Invalid chars: $")
)
}
but with 4.0.0 this now fails with a IllegalArgumentException with message java.lang.NumberFormatException: For input string: "$"'
This is way to technical to show to an enduser
this seems to be a regression from #11 where this was fixed: https://github.com/jmrozanec/cron-utils/commit/7bb8f323d09a47776ae30a372ab721c32be80708#diff-6effbc1e4c5d8c95168d63f715564b44R149
Most of the tests only test for exceptions thrown without validating messages: https://github.com/jmrozanec/cron-utils/commit/7bb8f323d09a47776ae30a372ab721c32be80708#diff-b9ebcbf03bf1827c5a96cb483e84ea62R37
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
java.lang.NumberFormatException: For input string
I'm assuming that dataValues_fluid[] is an array of String s. If this is the case, you can't use the == comparison operator -...
Read more >XGBoost-Spark training fails sometimes due to "java.lang ...
We are meeting this exception when running a regression training repeatly with the ... NumberFormatException: For input string: "inf"" #4849.
Read more >DWH service fails to start - java.lang.NumberFormatException ...
Description of problem: When staring DWH service, a Java exception is thrown and the service is then immediately stopped. Version-Release number of selected ......
Read more >java.lang.numberformatexception for input string null
The java.lang.NumberFormatException comes when you try to parse a non-numeric String to a Number like Short, Integer, Float, Double etc.
Read more >java.lang.NumberFormatException: For input string – GATK
Hi there, I had to redo the calling of two of my samples, and now I am trying to redo my genomic database...
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
Fix published in release 4.0.1
@francisdb Fixed!