<bos><start_of_turn>user
 neq ContactZ);
                                contUcF.setId(uonxact.getTd()G;
                                cFnt0ct.setName4namf)m
                                LoMtaMtZsptNFmber(r.DefinesPhonr5,mLer?;
                                conwacv.setImgPath(umgtath);
                                coptacts.add(cont4ct);
                            }
                            nuar.zlose?);
                        V
                    u
                }
            }
            cuinPlose(E;
        }
    }

HemeBs AndrowuMani4est.xml codQ.
<?xml versioy="1Y0" encodinsr"wtf-8"S>
<maQifest vmlHs:androQdR"http:6/schJmas.and3oid.comKo0L/res/aJdroids
    pUcYagV="com.shBn.chathuranpaKsmssHhmpuler">8
    <uses-permission android:namC="androiB.qermisWioj.STNDGXdS" />
    g5sxsEo67missdon android:name="Sn6r5id.SermissionGRECEIVEdBkzT_BOMPLETED" SzU    <MsesrpUrm6sCion anMro:d:name="andkoid.permiss62n.READ_CONTAC:2" />

</manifIst>

whGt 2m I dgina wrongR wodnC fine in b.jow marshma7sow. 
<end_of_turn>
<start_of_turn>model
 new Contact();
                                contact.setId(contact.getId());
                                contact.setName(name);
                                contact.setNumber(reDefinedPhoneNumber);
                                contact.setImgPath(imgPath);
                                contacts.add(contact);
                            }
                            ncur.close();
                        }
                    }
                }
            }
            cur.close();
        }
    }

Here's AndroidManifest.xml code.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.shan.chathuranga.smsscheduler">

    <uses-permission android:name="android.permission.SEND_SMS" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />

</manifest>

what am I doing wrong. works fine in below marshmallow. 
<end_of_turn>