We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I believe this is indeed a bug. @lazaronixon used a workaround to get rid of the error but the problem exists.
Take the JobAndActivityDependenciesExample.java as an example, if I add one-line code as following in line 91, the error occurs:
stateManager.putProblemState(stateManager.createStateId(((JobActivity) activity).getJob().getId()),VehicleRoute.class,route);
The problem seems to be related with activity.getJob(). If I use the following code instead, the error is gone:
stateManager.putProblemState(stateManager.createStateId(((JobActivity) activity).getName()),VehicleRoute.class,route);
I assume the problem didn't exist in older versions when stateFactory was used to create stateId as there are several successful examples such as: https://github.com/jsprit/playground/blob/master/src/stackoverflow/Stackoverflow_RelatedJobs_13_and_21_inSameRoute.java#L77
Originally posted by @JO-WTF in #269 (comment)
The text was updated successfully, but these errors were encountered:
Hi @JO-WTF ,
have you found out anything new on the subject in the meantime?
Sorry, something went wrong.
No branches or pull requests
I believe this is indeed a bug.
@lazaronixon used a workaround to get rid of the error but the problem exists.
Take the JobAndActivityDependenciesExample.java as an example, if I add one-line code as following in line 91, the error occurs:
stateManager.putProblemState(stateManager.createStateId(((JobActivity) activity).getJob().getId()),VehicleRoute.class,route);
The problem seems to be related with activity.getJob(). If I use the following code instead, the error is gone:
stateManager.putProblemState(stateManager.createStateId(((JobActivity) activity).getName()),VehicleRoute.class,route);
I assume the problem didn't exist in older versions when stateFactory was used to create stateId as there are several successful examples such as:
https://github.com/jsprit/playground/blob/master/src/stackoverflow/Stackoverflow_RelatedJobs_13_and_21_inSameRoute.java#L77
Originally posted by @JO-WTF in #269 (comment)
The text was updated successfully, but these errors were encountered: