自動ペアリングの者です。

Unhandled exception type InvocationTargetException

が出てきました。

http://www.coppermine.jp/docs/programming/2012/05/invocationtargetexception.html
http://kotacc.blogspot.jp/2011/11/invocationtargetexceptioncaused-by.html
http://qa.atmarkit.co.jp/q/124

を参考にしてみたのですが、メソッドでの例外が
発生している原因がわかりません。
どうすればいいでしょうか。

以下、ソースです
BluetoothDevice device = intent.getParcelableExtra("android.bluetooth.device.extra.DEVICE");
Method convert = device.getClass().getMethod("convertPinToBytes", String.class);
byte[] pin = (byte[]) convert.invoke(device, "1234");
Method setPin = device.getClass().getMethod("setPin", byte[].class);
Boolean success = (Boolean) setPin.invoke(device, pin);

全体に赤いエラーがでていて、
Description Resource Path Location Type
Unhandled exception type NoSuchMethodException DeviceListActivity.java /Copy of BluetoothChat4.4W_TEST/src/com/example/android/BluetoothChat line 203 Java Problem
Unhandled exception type IllegalAccessException DeviceListActivity.java /Copy of BluetoothChat4.4W_TEST/src/com/example/android/BluetoothChat line 204 Java Problem
Unhandled exception type IllegalAccessException DeviceListActivity.java /Copy of BluetoothChat4.4W_TEST/src/com/example/android/BluetoothChat line 202 Java Problem
Unhandled exception type InvocationTargetException DeviceListActivity.java /Copy of BluetoothChat4.4W_TEST/src/com/example/android/BluetoothChat line 202 Java Problem
Unhandled exception type InvocationTargetException DeviceListActivity.java /Copy of BluetoothChat4.4W_TEST/src/com/example/android/BluetoothChat line 204 Java Problem
Unhandled exception type NoSuchMethodException DeviceListActivity.java /Copy of BluetoothChat4.4W_TEST/src/com/example/android/BluetoothChat line 201 Java Problem
がでています。