You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Vehicle with a null List<Visit> visits and I get this error:
java.lang.NullPointerException: Cannot invoke "java.util.List.size()" because the return value of "ai.timefold.solver.core.impl.domain.variable.descriptor.ListVariableDescriptor.getListVariable(Object)" is null
at ai.timefold.solver.core.impl.domain.variable.descriptor.ListVariableDescriptor.getListSize(ListVariableDescriptor.java:118)
To reproduce, take the vrp quickstart and create a Vehicle with a null visit list.
Ideally, the error message should point out that the visits field of Vehicle (id) is null.
The text was updated successfully, but these errors were encountered:
I have a
Vehicle
with a nullList<Visit> visits
and I get this error:To reproduce, take the vrp quickstart and create a Vehicle with a null visit list.
Ideally, the error message should point out that the visits field of Vehicle (id) is null.
The text was updated successfully, but these errors were encountered: