Do you always download the latest snapshot automatically and use this in production? If you want to protect your application, you need to think about another policy since the master can change and we cannot always guarantee that this does not break existing code (i.e. we do not break the API).
We did three things that might be important to know:
When understanding you correctly, your error is caused by the second point, so you need to make sure you implement TransportDistance correctly (just add the two new parameters).
because in the last view days and weeks have come some very nice features I keep updating it. This is realy the first time that I have a conflict with it. I should change the update policy as you said.
But for now the problem leads me to two questions:
Is there a possibility to return to the version that was a view days ago?
In the “POM” File it says:
are there some kind of revision i can add to the version?
And my other question: That do you mean with implementing a TransportDistance? My code looks like so:
Create costmatrix
Create VRPBuilder
Add the vehicles
Add the services/jobs
Add the costmatrix
Build the Problem
Build the algorithm with parameters
Search for the best solution
…
Where in the Code should I now implement the TransportDistance? Actualy my program breaks even before the 1. point: It breaks when I create a empy new matrixbuilder.
Do you use/implement TransportDistance somewhere in your code? If you compile your code then Netbeans should tell you that there is a compilation error somewhere.
This configures the logger. If your program compiles and run, this should log what happens in jsprit. Actually, you should receive exceptions anyway (also without logging).
Hmm it works now somehow like before. I had no compilation error. After the line VehicleRoutingTransportCostsMatrix.Builder matrixBuilder = VehicleRoutingTransportCostsMatrix.Builder.newInstance(true);
I had a thread exception and could not read it with debugging. Maybe my jsprit was somehow broken or my netbeans. After a deep search I don´t use the TransportDistance in any row. Very strange.
So I think this thread can be closed^^ Thanks for all your help.
PS: How far is the status of a release version of 1.6.3? For my problems need its new features like the multiple time window for services and the priorities.