Same here with the null check.  Also instead of doing lines 51-53 please do something like:
if(t.refreshTruckRoute() == false)
    return false;
return dbs.putTruck(t);
We need to do it this way so that we don't put the truck back into the Database even if t.refreshTruckRoute() fails.