If no type is calculated, then print a warning, return null, ignore