The same code get different exception betwee environmentMode TRACKED_FULL_ASSERT and FULL_ASSERT #478
Labels
bug
Something isn't working
regression
A bug that was caused by another commit; usually indicates lack of test coverage.
Milestone
Describe the bug
I have a project that uses the Chained Through Time pattern, when I debug it, an exception through from Timefold. But what makes me feel strange is that when I set different environmentMode values(TRACKED_FULL_ASSERT and FULL_ASSERT ), the different exception throws. So I don't know which is the actual exception.
Expected behavior
I expect FULL_ ASSERT and TRACKED_FULL_ASSERT will result in the same exception.
Actual behavior
environmentMode with FULL_ ASSERT and TRACKED_FULL_ASSERT resulted in different exceptions.
To Reproduce
When I set the environmentMode with FULL_ASSERT(SolverConfig.withEnvironmentMode(EnvironmentMode.FULL_ASSERT), or FAST_ASSERT, the exception is below.
When I changed the environmentMode to TRACKED_FULL_ASSERT or NON_REPRODUCIBLE, then exception messages were below.
Environment
Timefold Solver Version or Git ref: 1.5.0
Output of
java -version
: 17.0.5Output of
uname -a
orver
:Additional information
Provide any and all other information which might be relevant to the issue.
The text was updated successfully, but these errors were encountered: