Program: 39724
Project: 39724
Buggy source:
private void processCustomMessage(BmobIMMessage message,MessageEvent event){
  String type=message.getMsgType();
  String client=BmobUser.getCurrentUser(User.class).getClient();
  if (type.equals(SMSMessage.SMS) && client.equals(User.CHILDREN)) {
    Toast.makeText(mContext,message.getContent(),Toast.LENGTH_LONG).show();
    L.i(event.getConversation().getConversationTitle() + "String_Node_Str");
    SMS sms=SMSMessage.convert(message);
    mSmsDao.insert(sms);
    String s="String_Node_Str" + sms.getTime() + "String_Node_Str"+ "String_Node_Str"+ sms.getAddress()+ "String_Node_Str"+ "String_Node_Str"+ sms.getContent()+ "String_Node_Str"+ "String_Node_Str"+ sms.getProbability()+ "String_Node_Str";
    L.i(s);
    L.i("String_Node_Str" + mSmsDao.queryBuilder().build().list().size());
    showSMSNotification(event,sms);
  }
 else   if (type.equals(BpmMessage.BPM) && client.equals(User.CHILDREN)) {
    Toast.makeText(mContext,message.getContent(),Toast.LENGTH_LONG).show();
    L.i(event.getConversation().getConversationTitle() + "String_Node_Str");
    Bpm bpm=BpmMessage.convert(message);
    mBpmDao.insert(bpm);
    String s="String_Node_Str" + bpm.getTime() + "String_Node_Str"+ "String_Node_Str"+ bpm.getBpm()+ "String_Node_Str"+ "String_Node_Str"+ bpm.getDescription()+ "String_Node_Str";
    L.i(s);
    L.i("String_Node_Str" + mBpmDao.queryBuilder().build().list().size());
    showBpmNotification(event,bpm);
  }
 else   if ((type.equals(ShareMapMessage.MAP)) && client.equals(User.PARENTS)) {
    EventBus.getDefault().post(message.getContent());
  }
  L.i(getCurrentUser(User.class).getUsername() + "String_Node_Str" + type+ "String_Node_Str"+ client+ "String_Node_Str"+ message.getContent());
}

Fixed version (ground truth):
private void processCustomMessage(BmobIMMessage message,MessageEvent event){
  String type=message.getMsgType();
  String client=BmobUser.getCurrentUser(User.class).getClient();
  if (type.equals(SMSMessage.SMS) && client.equals(User.CHILDREN)) {
    Toast.makeText(mContext,message.getContent(),Toast.LENGTH_LONG).show();
    L.i(event.getConversation().getConversationTitle() + "String_Node_Str");
    SMS sms=SMSMessage.convert(message);
    mSmsDao.insert(sms);
    String s="String_Node_Str" + sms.getTime() + "String_Node_Str"+ "String_Node_Str"+ sms.getAddress()+ "String_Node_Str"+ "String_Node_Str"+ sms.getContent()+ "String_Node_Str"+ "String_Node_Str"+ sms.getProbability()+ "String_Node_Str";
    L.i(s);
    L.i("String_Node_Str" + mSmsDao.queryBuilder().build().list().size());
    showSMSNotification(event,sms);
  }
 else   if (type.equals(BpmMessage.BPM) && client.equals(User.CHILDREN)) {
    Toast.makeText(mContext,message.getContent(),Toast.LENGTH_LONG).show();
    L.i(event.getConversation().getConversationTitle() + "String_Node_Str");
    Bpm bpm=BpmMessage.convert(message);
    mBpmDao.insert(bpm);
    String s="String_Node_Str" + bpm.getTime() + "String_Node_Str"+ "String_Node_Str"+ bpm.getBpm()+ "String_Node_Str"+ "String_Node_Str"+ bpm.getDescription()+ "String_Node_Str";
    L.i(s);
    L.i("String_Node_Str" + mBpmDao.queryBuilder().build().list().size());
    showBpmNotification(event,bpm);
  }
 else   if ((type.equals(ShareMapMessage.MAP) && client.equals(User.PARENTS)) && client.equals(User.PARENTS)) {
    EventBus.getDefault().post(message.getContent());
  }
  L.i(getCurrentUser(User.class).getUsername() + "String_Node_Str" + type+ "String_Node_Str"+ client+ "String_Node_Str"+ message.getContent());
}