ComparisonIndexer is returning a NPE #632
Closed
mikepictor
started this conversation in
General
Replies: 2 comments
-
Or indeed, maybe it's my constraint that is causing an issue, though I don't feel they are overly complex constraints. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello. Thanks for bringing this to our attention. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am getting a NPE from the ComparisonIndexer, not always, but often enough. It happens here..
In my case, propertyIndex is 2, indexKey is null, indexProperties has 2 elements in it (so the index of 2 points to nothing, thus the null, then on the
downstreamIndexer.put
it tries to place the tuple with a null key, leading to a NPE from the java Comparators when it compare null to the other keys in the map.I don't know enough about how this is meant to work, or why the propertyIndex is 2 when there are only properties at index 0 and 1
I can't tell if this is a timefold bug, whether my planning entities are badly formed, or something else.
Beta Was this translation helpful? Give feedback.
All reactions