Yes I can confirm the bug. I found it with my own sketch, also tried your sketch.
Error messages are same as yours, verbatim - all the same java line numbers.
I am also on Arduino.app 1.0.2.
I am on Mountain Lion 10.8.2, however.
Also, I am using a Micro instead of a Leonardo. (I believe they are electrically identical?)
I don't get it with every upload, maybe 70% of uploads?
Yes my sketch also runs fine despite the error.
Oh - I just tried again and got a different error:
processing.app.SerialException: Error touching serial port '/dev/tty.usbmodemfd121'.
Caused by: gnu.io.UnsupportedCommOperationException: Invalid Parameter
... 7 more
Could not repeat that one though. Usually I get your error, and sometimes no error.
P.S. I also have an Uno, and do not get the error with that (everything else the same).
P.P.S. I believe this is the right spot in the source code, see line 119 here:https://github.com/arduino/Arduino/blob/master/app/src/processing/app/Serial.java
P.P.P.S. :-) Also, Arduino.app 1.5.1 does not produce this exception. (However the Micro is not among the supported boards in 1.5.1 ... I have to select "Leonardo".)