Ketai bluetooth Error in reading connect data.:null

I am having trouble with my bluetooth app, I am sending data from a raspberry pi over bluetooth to my phone, but an error comes out saying " Error in reading connect data.:null", when I try to send that data. It doesn’t crash my program, just sets that byte[] to null. Nothing is wrong on the python side, as I checked using a serial app on the phone and it was able to read it just fine. Thank you for your help. Please let me know if you need to see more code. Again thank you!.

void onBluetoothDataEvent(String who, byte[] data)
  //KetaiOSCMessage is the same as OscMessage
  //   but allows construction by byte array
  KetaiOSCMessage m = new KetaiOSCMessage(data);
  println("Works "+ who);

I figured it out, instead us trying to use KetaiOSCMessage, I just used the byte array and then turned the bytes into a chars. Thanks!