Reputation: 11
When I try to open OptaPlanner Examples from examples.bat, interface comes to my screen. But when I click on a random example it gives error and doesn't work. It starts like;
Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: There is an error in a scoreDrl or scoreDrlFile.
at org.optaplanner.core.impl.score.director.ScoreDirectorFactoryFactory.buildDroolsScoreDirectorFactory(ScoreDirectorFactoryFactory.java:306)
at org.optaplanner.core.impl.score.director.ScoreDirectorFactoryFactory.decideMultipleScoreDirectorFactories(ScoreDirectorFactoryFactory.java:103)
at org.optaplanner.core.impl.score.director.ScoreDirectorFactoryFactory.buildScoreDirectorFactory(ScoreDirectorFactoryFactory.java:68)
at org.optaplanner.core.impl.solver.DefaultSolverFactory.buildScoreDirectorFactory(DefaultSolverFactory.java:116)
at org.optaplanner.core.impl.solver.DefaultSolverFactory.buildSolver(DefaultSolverFactory.java:83)
at org.optaplanner.examples.common.business.SolutionBusiness.setSolver(SolutionBusiness.java:197)
at org.optaplanner.examples.common.app.CommonApp.createSolutionBusiness(CommonApp.java:130)
at org.optaplanner.examples.common.app.CommonApp.init(CommonApp.java:118)
...
Caused by: java.lang.RuntimeException: [Message [id=1, level=ERROR, path=src/main/java/org/optaplanner/examples/conferencescheduling/solver/RulesE771C4C7BDBE449D9F55BB1736BF1764RuleMethods2.java, line=355, column=74439
text=ınt cannot be resolved to a type], Message [id=2, level=ERROR, path=src/main/java/org/optaplanner/examples/conferencescheduling/solver/RulesE771C4C7BDBE449D9F55BB1736BF1764RuleMethods2.java, line=360, column=76059
text=ınt cannot be resolved to a type], Message [id=3, level=ERROR, path=src/main/java/org/optaplanner/examples/conferencescheduling/solver/RulesE771C4C7BDBE449D9F55BB1736BF1764RuleMethods2.java, line=0, column=0
text=Java source of src/main/java/org/optaplanner/examples/conferencescheduling/solver/RulesE771C4C7BDBE449D9F55BB1736BF1764RuleMethods2.java in error:
Upvotes: 1
Views: 182
Reputation: 1029
I don't see this error with the latest OptaPlanner downloaded from https://www.optaplanner.org.
Would you mind reporting the issue with exact steps to reproduce it?
Upvotes: 1