org.eclipse.core.runtime.CoreException: Opening file for read failed

Appcelerator JIRA | Ingo Muschenetz | 5 years ago
  1. 0

    Unfortunately no repo case. At the very least, we should write out: [ERROR] Unable to read from file {0}. Connection timed out. We should write out a similar message if writing to a file fails. {code} !ENTRY com.aptana.ui 4 0 2012-04-19 11:58:57.804 !MESSAGE !STACK 1 org.eclipse.core.runtime.CoreException: Opening file for read failed at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.readFile(FTPConnectionFileManager.java:809) at com.aptana.core.io.vfs.BaseConnectionFileManager.openInputStream(BaseConnectionFileManager.java:215) at com.aptana.core.io.efs.VirtualFile.openInputStream(VirtualFile.java:135) at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:85) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.toLocalFileStore(UniformFileStoreEditorInputFactory.java:109) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.getUniformEditorInput(UniformFileStoreEditorInputFactory.java:68) at com.aptana.ide.ui.io.navigator.actions.EditorUtils$1.run(EditorUtils.java:69) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:529) at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket.java:112) at com.enterprisedt.util.proxy.StreamSocketFactory.getConnectedSocket(StreamSocketFactory.java:60) at com.enterprisedt.net.ftp.pro.ProFTPClient.connect(ProFTPClient.java:195) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.connectFTPClient(FTPConnectionFileManager.java:143) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.initAndAuthFTPClient(FTPConnectionFileManager.java:158) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.readFile(FTPConnectionFileManager.java:782) ... 7 more !SUBENTRY 1 com.aptana.filesystem.ftp 4 0 2012-04-19 11:58:57.805 !MESSAGE Opening file for read failed !STACK 0 java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:529) at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket.java:112) at com.enterprisedt.util.proxy.StreamSocketFactory.getConnectedSocket(StreamSocketFactory.java:60) at com.enterprisedt.net.ftp.pro.ProFTPClient.connect(ProFTPClient.java:195) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.connectFTPClient(FTPConnectionFileManager.java:143) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.initAndAuthFTPClient(FTPConnectionFileManager.java:158) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.readFile(FTPConnectionFileManager.java:782) at com.aptana.core.io.vfs.BaseConnectionFileManager.openInputStream(BaseConnectionFileManager.java:215) at com.aptana.core.io.efs.VirtualFile.openInputStream(VirtualFile.java:135) at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:85) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.toLocalFileStore(UniformFileStoreEditorInputFactory.java:109) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.getUniformEditorInput(UniformFileStoreEditorInputFactory.java:68) at com.aptana.ide.ui.io.navigator.actions.EditorUtils$1.run(EditorUtils.java:69) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    org.eclipse.core.runtime.CoreException: Opening file for read failed
  2. 0

    Unfortunately no repo case. At the very least, we should write out: [ERROR] Unable to read from file {0}. Connection timed out. We should write out a similar message if writing to a file fails. {code} !ENTRY com.aptana.ui 4 0 2012-04-19 11:58:57.804 !MESSAGE !STACK 1 org.eclipse.core.runtime.CoreException: Opening file for read failed at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.readFile(FTPConnectionFileManager.java:809) at com.aptana.core.io.vfs.BaseConnectionFileManager.openInputStream(BaseConnectionFileManager.java:215) at com.aptana.core.io.efs.VirtualFile.openInputStream(VirtualFile.java:135) at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:85) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.toLocalFileStore(UniformFileStoreEditorInputFactory.java:109) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.getUniformEditorInput(UniformFileStoreEditorInputFactory.java:68) at com.aptana.ide.ui.io.navigator.actions.EditorUtils$1.run(EditorUtils.java:69) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:529) at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket.java:112) at com.enterprisedt.util.proxy.StreamSocketFactory.getConnectedSocket(StreamSocketFactory.java:60) at com.enterprisedt.net.ftp.pro.ProFTPClient.connect(ProFTPClient.java:195) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.connectFTPClient(FTPConnectionFileManager.java:143) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.initAndAuthFTPClient(FTPConnectionFileManager.java:158) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.readFile(FTPConnectionFileManager.java:782) ... 7 more !SUBENTRY 1 com.aptana.filesystem.ftp 4 0 2012-04-19 11:58:57.805 !MESSAGE Opening file for read failed !STACK 0 java.net.SocketTimeoutException: connect timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432) at java.net.Socket.connect(Socket.java:529) at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket.java:112) at com.enterprisedt.util.proxy.StreamSocketFactory.getConnectedSocket(StreamSocketFactory.java:60) at com.enterprisedt.net.ftp.pro.ProFTPClient.connect(ProFTPClient.java:195) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.connectFTPClient(FTPConnectionFileManager.java:143) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.initAndAuthFTPClient(FTPConnectionFileManager.java:158) at com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.readFile(FTPConnectionFileManager.java:782) at com.aptana.core.io.vfs.BaseConnectionFileManager.openInputStream(BaseConnectionFileManager.java:215) at com.aptana.core.io.efs.VirtualFile.openInputStream(VirtualFile.java:135) at com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:85) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.toLocalFileStore(UniformFileStoreEditorInputFactory.java:109) at com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.getUniformEditorInput(UniformFileStoreEditorInputFactory.java:68) at com.aptana.ide.ui.io.navigator.actions.EditorUtils$1.run(EditorUtils.java:69) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code}

    Appcelerator JIRA | 5 years ago | Ingo Muschenetz
    org.eclipse.core.runtime.CoreException: Opening file for read failed
  3. 0

    SocketTimeoutException with Http.param and Http.params

    GitHub | 5 years ago | ssanj
    java.net.SocketTimeoutException: connect timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hector keep retrying connecting to dead nodes

    Google Groups | 3 years ago | Filippo Diotalevi
    java.net.SocketTimeoutException: connect timed out
  6. 0

    HectorTransportException thrown when retry expected

    Google Groups | 5 years ago | Lorrin Nelson
    java.net.SocketTimeoutException: connect timed out
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.net.SocketTimeoutException

    connect timed out

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)
    6. java.net.Socket.connect(Socket.java:529)
    6 frames
  3. com.enterprisedt.util
    StreamSocketFactory.getConnectedSocket
    1. com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket.java:112)
    2. com.enterprisedt.util.proxy.StreamSocketFactory.getConnectedSocket(StreamSocketFactory.java:60)
    2 frames
  4. com.enterprisedt.net
    ProFTPClient.connect
    1. com.enterprisedt.net.ftp.pro.ProFTPClient.connect(ProFTPClient.java:195)
    1 frame
  5. com.aptana.filesystem
    FTPConnectionFileManager.readFile
    1. com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.connectFTPClient(FTPConnectionFileManager.java:143)
    2. com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.initAndAuthFTPClient(FTPConnectionFileManager.java:158)
    3. com.aptana.filesystem.ftp.internal.FTPConnectionFileManager.readFile(FTPConnectionFileManager.java:782)
    3 frames
  6. com.aptana.core
    SyncUtils.copy
    1. com.aptana.core.io.vfs.BaseConnectionFileManager.openInputStream(BaseConnectionFileManager.java:215)
    2. com.aptana.core.io.efs.VirtualFile.openInputStream(VirtualFile.java:135)
    3. com.aptana.core.io.efs.SyncUtils.copy(SyncUtils.java:85)
    3 frames
  7. com.aptana.ide
    EditorUtils$1.run
    1. com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.toLocalFileStore(UniformFileStoreEditorInputFactory.java:109)
    2. com.aptana.ide.ui.io.internal.UniformFileStoreEditorInputFactory.getUniformEditorInput(UniformFileStoreEditorInputFactory.java:68)
    3. com.aptana.ide.ui.io.navigator.actions.EditorUtils$1.run(EditorUtils.java:69)
    3 frames
  8. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    1 frame