How to use MaxTimeInVehicleConstraint in Jsprit

Your file is old version. It does not work now. I follow this as reference. However, I get the null pointer exception as I mentioned in stackoverflow.