Problem connection Processing Arduino

Hi,

When I start my program Processing to read data from Arduino, I see this error message

[0] "/dev/cu.BeatsPill-SPPDev-1"
[1] "/dev/cu.Bluetooth-Incoming-Port"
[2] "/dev/cu.JBLFlip3-SPPDev"
[3] "/dev/cu.UEBOOM-LWACP"
[4] "/dev/cu.usbmodem14201"
[5] "/dev/tty.BeatsPill-SPPDev-1"
[6] "/dev/tty.Bluetooth-Incoming-Port"
[7] "/dev/tty.JBLFlip3-SPPDev"
[8] "/dev/tty.UEBOOM-LWACP"
[9] "/dev/tty.usbmodem14201"
map(NaN, 0, 2774, 0, 36) called, which returns NaN (not a number)
Error, disabling serialEvent() for /dev/cu.usbmodem14201
null

So to fix the problem, I unplugged the usb serial port, I plug it and re-start my program in Processing.

Then, I can receive my datas.
An other problem is : why I have twice my port Arduino (/dev/tty.usbmodem14201) red in Processing, to the port 4 and the port 9?

why you not show the console print of the raw data what come from arduino?
then it might be more easy to understand why your text split to float array conversion fails at arduino boot


did you notice that all devices are listed double, as /dev/cu/ and /dev/tty
what operating system you use?
possibly read