java.io.IOException: Bad file descriptor

QuickFIX/J JIRA | Daniel Clusin | 5 years ago
  1. 0

    java.io.IOException: Bad file descriptor at java.io.RandomAccessFile.seek(Native Method) at quickfix.FileStore.storeSequenceNumbers(FileStore.java:403) at quickfix.FileStore.incrNextSenderMsgSeqNum(FileStore.java:288) at quickfix.SessionState.incrNextSenderMsgSeqNum(SessionState.java:350) at quickfix.Session.sendRaw(Session.java:2177) at quickfix.Session.generateHeartbeat(Session.java:1786) at quickfix.Session.next(Session.java:1759) at quickfix.Session.next(Session.java:1032) at quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.run(ThreadPerSessionEventHandlingStrategy.java:119) This occurred during a period of intermittent network disconnects. I did not see any forcible closes of the network sockets being done. Another time this occured is during a shutdown, after we called Initiator/Acceptor.stop FIX.4.2:XXXX->XXXX: Error during message processing quickfix.RuntimeError: java.io.IOException: Bad file descriptor at quickfix.SessionState.reset(SessionState.java:373) at quickfix.Session.resetState(Session.java:2193) at quickfix.Session.nextLogout(Session.java:1279) at quickfix.Session.next(Session.java:941) at quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.run(ThreadPerSessionEventHandlingStrategy.java:119) Caused by: java.io.IOException: Bad file descriptor at java.io.RandomAccessFile.length(Native Method) at quickfix.FileStore.initializeCache(FileStore.java:119) at quickfix.FileStore.initialize(FileStore.java:111) at quickfix.FileStore.reset(FileStore.java:436) at quickfix.SessionState.reset(SessionState.java:370) ... 4 more

    QuickFIX/J JIRA | 5 years ago | Daniel Clusin
    java.io.IOException: Bad file descriptor
  2. 0

    QuickFIX/J Jira

    quickfixj.org | 6 months ago
    quickfix.RuntimeError: java.io.IOException: Bad file descriptor
  3. 0

    [QFJ-610] java.io.IOException when using FileStore - QuickFIX/J Jira

    quickfixj.org | 1 year ago
    quickfix.RuntimeError: java.io.IOException: Bad file descriptor
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    QuickFIX/J Jira

    quickfixj.org | 3 months ago
    quickfix.RuntimeError: java.io.IOException: Bad file descriptor
  6. 0

    QuickFIX/J Jira

    quickfixj.org | 1 year ago
    quickfix.RuntimeError: java.io.IOException: Bad file descriptor

    3 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

      Bad file descriptor

      at java.io.RandomAccessFile.length()
    2. Java RT
      RandomAccessFile.length
      1. java.io.RandomAccessFile.length(Native Method)
      1 frame
    3. Apache ServiceMix :: Bundles :: ${pkgArtifactId}
      ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.run
      1. quickfix.FileStore.initializeCache(FileStore.java:119)
      2. quickfix.FileStore.initialize(FileStore.java:111)
      3. quickfix.FileStore.reset(FileStore.java:436)
      4. quickfix.SessionState.reset(SessionState.java:370)
      5. quickfix.Session.resetState(Session.java:2193)
      6. quickfix.Session.nextLogout(Session.java:1279)
      7. quickfix.Session.next(Session.java:941)
      8. quickfix.mina.ThreadPerSessionEventHandlingStrategy$MessageDispatchingThread.run(ThreadPerSessionEventHandlingStrategy.java:119)
      8 frames