Error in String.getBytes() ?

I have the same problem also with toCharArray() method

Best regards
Per-Jarle