Buggy code:
public class HostConnectProfile extends ConnectProfile { private static final String TAG = "HOST" ; private BluetoothAdapter mBluetoothAdapter ; private static final int ERROR_VALUE_IS_NULL = 100 ; public HostConnectProfile ( final BluetoothAdapter bluetoothAdapter ) { } @ Override protected boolean onGetWifi ( final Intent request , final Intent response , final String serviceId ) { } @ Override protected boolean onGetBluetooth ( final Intent request , final Intent response , final String serviceId ) { } @ Override protected boolean onGetBLE ( final Intent request , final Intent response , final String serviceId ) { } @ Override protected boolean onGetNFC ( final Intent request , final Intent response , final String serviceId ) { } @ Override protected boolean onPutWifi ( final Intent request , final Intent response , final String serviceId ) { } @ Override protected boolean onPutBluetooth ( final Intent request , final Intent response , final String serviceId ) { } @ Override protected boolean onPutBLE ( final Intent request , final Intent response , final String serviceId ) { } @ Override protected boolean onDeleteWifi ( final Intent request , final Intent response , final String serviceId ) { } @ Override protected boolean onDeleteBluetooth ( final Intent request , final Intent response , final String serviceId ) { } @ Override protected boolean onDeleteBLE ( final Intent request , final Intent response , final String serviceId ) { } @ Override protected boolean onDeleteNFC ( final Intent request , final Intent response , final String serviceId ) { } @ Override protected boolean onPutOnWifiChange ( final Intent request , final Intent response , final String serviceId , final String sessionKey ) { } @ Override protected boolean onPutOnBluetoothChange ( final Intent request , final Intent response , final String serviceId , final String sessionKey ) { } @ Override protected boolean onDeleteOnWifiChange ( final Intent request , final Intent response , final String serviceId , final String sessionKey ) { } @ Override protected boolean onDeleteOnBluetoothChange ( final Intent request , final Intent response , final String serviceId , final String sessionKey ) { } protected void getEnabledOfWiFi ( final Intent request , final Intent response ) { } protected void setEnabledOfWiFi ( final Intent request , final Intent response , final boolean enabled ) { } protected void getEnabledBluetooth ( final Intent request , final Intent response ) { } protected void setEnabledBluetooth ( final Intent request , final Intent response , final boolean enabled ) { } protected void getEnabledOfBluetoothLowEnery ( final Intent request , final Intent response ) { } protected void setEnabledNfc ( final Intent request , final Intent response , final boolean enabled ) { <START_BUG> MessageUtils . setError ( response , HostConnectProfile . ERROR_VALUE_IS_NULL , "not<seq2seq4repair_space>support<seq2seq4repair_space>change<seq2seq4repair_space>status<seq2seq4repair_space>of<seq2seq4repair_space>nfc." ) ; <END_BUG> } private boolean checkServiceId ( final String serviceId ) { } private void createEmptyServiceId ( final Intent response ) { } private void createNotFoundService ( final Intent response ) { } }

Fix:
MessageUtils . setNotSupportActionError ( response , "not<seq2seq4repair_space>support<seq2seq4repair_space>change<seq2seq4repair_space>status<seq2seq4repair_space>of<seq2seq4repair_space>nfc." ) ;