Are you using two serial ports?
This may very well be the issue if it is not configured and coded correctly.
It appears that you are using:
- Arduino(Firmata) library to open one serial port
- Processing serial library to open another serial port
Can you describe your hardware setup?
A list is easier to read than a wrap-around paragraph.
:)