java.io.IOException: read failed, socket might closed or timeout, read ret: -1 04-14 11:12:53.274: W/System.err(22212): at android.bluetooth.BluetoothSocket.readAll(BluetoothSocket.java:574) 04-14 11:12:53.274: W/System.err(22212): at android.bluetooth.BluetoothSocket.readInt(BluetoothSocket.java:585) 04-14 11:12:53.274: W/System.err(22212): at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:326) 04-14 11:12:53.274: W/System.err(22212): at com.wormhole.bluetoothdemo.MainActivity$ListItemClickListener.onItemClick(MainActivity.java:152) 04-14 11:12:53.274: W/System.err(22212): at android.widget.AdapterView.performItemClick(AdapterView.java:299) 04-14 11:12:53.274: W/System.err(22212): at android.widget.AbsListView.performItemClick(AbsListView.java:1115)

cudou.com | 4 months ago
  1. 0

    Bluetooth connect failed. java.io.IOException: read failed, socket might closed or timeout, read ret: -1

    Stack Overflow | 8 months ago | guanshan
    java.io.IOException: read failed, socket might closed or timeout, read ret: -1 04-14 11:12:53.274: W/System.err(22212): at android.bluetooth.BluetoothSocket.readAll(BluetoothSocket.java:574) 04-14 11:12:53.274: W/System.err(22212): at android.bluetooth.BluetoothSocket.readInt(BluetoothSocket.java:585) 04-14 11:12:53.274: W/System.err(22212): at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:326) 04-14 11:12:53.274: W/System.err(22212): at com.wormhole.bluetoothdemo.MainActivity$ListItemClickListener.onItemClick(MainActivity.java:152) 04-14 11:12:53.274: W/System.err(22212): at android.widget.AdapterView.performItemClick(AdapterView.java:299) 04-14 11:12:53.274: W/System.err(22212): at android.widget.AbsListView.performItemClick(AbsListView.java:1115)
  2. 0

    Bluetooth connect failed. java.io.IOException: read failed, socket might closed or timeout, read ret: -1 - cudou codes user home

    cudou.com | 4 months ago
    java.io.IOException: read failed, socket might closed or timeout, read ret: -1 04-14 11:12:53.274: W/System.err(22212): at android.bluetooth.BluetoothSocket.readAll(BluetoothSocket.java:574) 04-14 11:12:53.274: W/System.err(22212): at android.bluetooth.BluetoothSocket.readInt(BluetoothSocket.java:585) 04-14 11:12:53.274: W/System.err(22212): at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:326) 04-14 11:12:53.274: W/System.err(22212): at com.wormhole.bluetoothdemo.MainActivity$ListItemClickListener.onItemClick(MainActivity.java:152) 04-14 11:12:53.274: W/System.err(22212): at android.widget.AdapterView.performItemClick(AdapterView.java:299) 04-14 11:12:53.274: W/System.err(22212): at android.widget.AbsListView.performItemClick(AbsListView.java:1115)
  3. 0

    Android - Sdcard doesn't create / copy a file

    Stack Overflow | 3 years ago | Jose Montero
    java.io.IOException: open failed: ENOENT (No such file or directory) 07-25 09:37:05.578: W/System.err(16602): at java.io.File.createNewFile(File.java:940) 07-25 09:37:05.586: W/System.err(16602): at NS.Android.Clientes.ClientesActivity.realizarBackup(ClientesActivity.java:1602) 07-25 09:37:05.586: W/System.err(16602): at NS.Android.Clientes.ClientesActivity$4.onClick(ClientesActivity.java:398) 07-25 09:37:05.586: W/System.err(16602): at android.view.View.performClick(View.java:4222) 07-25 09:37:05.586: W/System.err(16602): at android.view.View$PerformClick.run(View.java:17337)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IOException at InputStreamReader

    Stack Overflow | 4 years ago
    java.io.IOException: read failed: EBADF (Bad file number) 12-03 18:55:36.507: W/System.err(17973): at libcore.io.IoBridge.read(IoBridge.java:442) 12-03 18:55:36.507: W/System.err(17973): at java.io.FileInputStream.read(FileInputStream.java:179) 12-03 18:55:36.507: W/System.err(17973): at java.io.InputStreamReader.read(InputStreamReader.java:244) 12-03 18:55:36.507: W/System.err(17973): at java.io.BufferedReader.fillBuf(BufferedReader.java:130) 12-03 18:55:36.507: W/System.err(17973): at java.io.BufferedReader.readLine(BufferedReader.java:354) 12-03 18:55:36.507: W/System.err(17973): at com.example.activity.over.other.Shells.builder(Shells.java:542) 12-03 18:55:36.507: W/System.err(17973): at com.example.activity.over.other.MainActivity$2.onClick(MainActivity.java:91)
  6. 0

    Uploading files to server in Android

    Stack Overflow | 6 years ago | manidhar mulaparthi
    java.io.IOException: Unable to connect to server: Unable to retrieve file: 550 >08-07 17:39:12.391: WARN/System.err(32030): at org.apache.harmony.luni.internal.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:203) >08-07 17:39:12.401: WARN/System.err(32030): at org.apache.harmony.luni.internal.net.www.protocol.ftp.FtpURLConnection.getOutputStream(FtpURLConnection.java:344) >08-07 17:39:12.411: WARN/System.err(32030): at f.t.p.Upload.upload_file(Upload.java:26) >08-07 17:39:12.431: WARN/System.err(32030): at f.t.p.FTP.onCreate(FTP.java:24) >08-07 17:39:12.445: WARN/System.err(32030): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) >08-07 17:39:12.450: WARN/System.err(32030): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459) >08-07 17:39:12.460: WARN/System.err(32030): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512) >08-07 17:39:12.460: WARN/System.err(32030): at android.app.ActivityThread.access$2200(ActivityThread.java:119) >08-07 17:39:12.510: WARN/System.err(32030): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863) >08-07 17:39:12.520: WARN/System.err(32030): at android.os.Handler.dispatchMessage(Handler.java:99)

  1. jk 15 times, last 7 months ago
  2. tone5992 1 times, last 7 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    read failed, socket might closed or timeout, read ret: -1 04-14 11:12:53.274: W/System.err(22212): at android.bluetooth.BluetoothSocket.readAll(BluetoothSocket.java:574) 04-14 11:12:53.274: W/System.err(22212): at android.bluetooth.BluetoothSocket.readInt(BluetoothSocket.java:585) 04-14 11:12:53.274: W/System.err(22212): at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:326) 04-14 11:12:53.274: W/System.err(22212): at com.wormhole.bluetoothdemo.MainActivity$ListItemClickListener.onItemClick(MainActivity.java:152) 04-14 11:12:53.274: W/System.err(22212): at android.widget.AdapterView.performItemClick(AdapterView.java:299) 04-14 11:12:53.274: W/System.err(22212): at android.widget.AbsListView.performItemClick(AbsListView.java:1115)

    at android.widget.AbsListView$PerformClick.run()
  2. Android Platform
    ActivityThread.main
    1. android.widget.AbsListView$PerformClick.run(AbsListView.java:2928)
    2. android.widget.AbsListView$3.run(AbsListView.java:3691)
    3. android.os.Handler.handleCallback(Handler.java:733)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:136)
    6. android.app.ActivityThread.main(ActivityThread.java:5072)
    6 frames
  3. Java RT
    Method.invokeNative
    1. java.lang.reflect.Method.invokeNative(Native Method)
    1 frame