In case the msg you read from the db is incomplete (no joints specified), we should use the state we are about to replace as initialization.
so use 
robot_state::RobotState robot_state(*planning_display_->getQueryStartState());