Created
January 22, 2018 14:55
-
-
Save ge0ffrey/68768c065cd27be34b0df2ab293a4d9e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: There are errors in a score DRL: | |
Error Messages: | |
Message [id=1, kieBase=defaultKieBase, level=ERROR, path=org/optaplanner/examples/cheaptime/solver/cheapTimeScoreRules.drl, line=-1, column=0 | |
text=Unable to Analyse Expression period > $lastActivePeriod: | |
[Error: Comparison operation requires compatible types. Found int and interface java.lang.Comparable] | |
[Near : {... period > $lastActivePeriod ....}] | |
^] | |
This error message doesn't distingish between the 2 sides (left and right, input and output, up and down): | |
[Error: Comparison operation requires compatible types. Found int and interface java.lang.Comparable] | |
Should be: | |
[Error: Comparison operation requires compatible types. Expected int but found interface java.lang.Comparable] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment