Cant read String in processing sent by firmata ?

Hi
I´m trying to send a String in firmata by writing and read this in processing but i get this errors
"The method available() from the type Arduino is not visible"
"The function readString() does not exist"
in Processing

I can see the String in arduino serial monitor so the problem is in Processing and guess the problem is the code in processing or is it in the
attaches file cc.arduino.* or the file processing.serial.* ?

I can read from the arduino ports without any problem.

Firmata code

Firmata.sendString("Hello");

Processing code

myPort = new Arduino(this, Arduino.list()[0], 115200); 

void Draw(){
while (myPort.available() > 0){
String Reading = myPort.readString();
println(Reading);  
}
}

Grateful for any help i can get !

Processing code

No, it isn't. Post your real code.

import processing.serial.*;
import cc.arduino.*;
Arduino myPort;
int x1;

void setup(){
  size(200, 200);
println(Arduino.list());
myPort = new Arduino(this, Arduino.list()[0], 115200); 
}

void draw() {
x1 = myPort.analogRead(1);
println("x1: "+x1);
while (myPort.available() > 0){
String Reading = myPort.readString();
println(Reading);  
}
}

Firmita Loop side

void loop() 
{
  byte pin, analogPin;
  checkDigitalInputs();  
  while(Firmata.available())
  Firmata.sendString("Hello");
    Firmata.processInput();
  currentMillis = millis();
  if (currentMillis - previousMillis > samplingInterval) {
    previousMillis += samplingInterval;
    /* ANALOGREAD - do all analogReads() at the configured sampling interval */
    for(pin=0; pin<TOTAL_PINS; pin++) {
      if (IS_PIN_ANALOG(pin) && pinConfig[pin] == ANALOG) {
        analogPin = PIN_TO_ANALOG(pin);
        if (analogInputsToReport & (1 << analogPin)) {
          Firmata.sendAnalog(analogPin, analogRead(analogPin));
        }
      }
    }
  }
}

So, there must be something about the error messages that you don't understand or don't believe. What would that be?

like I wrote, I guess the problem is the code in processing or is it in the
attached file cc.arduino.* or the file processing.serial.* ? but i don't know where ?
does this command work with the arduino library or am I doing something wrong with the command ?
I am new with serial ports and don't really know where to start debugging this issue.

I guess the problem is the code in processing

Yes, you are trying to call methods that do not exist.

is it in the attached file cc.arduino.* or the file processing.serial.* ?

No. It is in your code.

does this command work with the arduino library

Does which command work with which Arduino library? If "the arduino library" is the one in Processing, you need to check the documentation (or examples) for the methods that the arduino object implements (and exposes).

I am new with serial ports and don't really know where to start debugging this issue.

It isn't a serial port issue. You are trying to call methods on the Arduino object that do not exist. The Arduino object you are creating is not a serial object. It is an implementation of the Firmata protocol for Processing.