[QFJ-628] java.io.IOException caused by logout Created: 18/Aug/11  Updated: 20/Dec/13  Resolved: 20/Dec/13

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.5.0
Fix Version/s: None

Type: Other Priority: Minor
Reporter: Andrew Niland Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: QuickfixJ, session
Environment:

Windows XP
java version "1.6.0_26"



 Description   

After a logout is received I get the following message:

<20110818-09:19:28, FIX.4.2:NILAAND->ABFO-DMA-TEST, outgoing> (8=FIX.4.29=8135=534=249=NILAAND52=20110818-09:19:28.06456=ABFO-DMA-TEST58=user requested10=188)
<20110818-09:19:28, FIX.4.2:NILAAND->ABFO-DMA-TEST, incoming> (8=FIX.4.29=5935=549=ABFO-DMA-TEST56=NILAAND34=252=20110818-09:19:2710=156)
<20110818-09:19:28, FIX.4.2:NILAAND->ABFO-DMA-TEST, event> (Received logout response)
18-Aug-2011 10:19:28 quickfix.Session disconnect
INFO: [FIX.4.2:NILAAND->ABFO-DMA-TEST] Disconnecting: IO Session closed
<20110818-09:19:28, FIX.4.2:NILAAND->ABFO-DMA-TEST, error> (Error processing message: 8=FIX.4.29=5935=534=249=ABFO-DMA-TEST52=20110818-09:19:2756=NILAAND10=156
java.io.IOException: The handle is invalid
at java.io.RandomAccessFile.seek(Native Method)
at quickfix.FileStore.storeSequenceNumbers(FileStore.java:403)
at quickfix.FileStore.incrNextTargetMsgSeqNum(FileStore.java:296)
at quickfix.SessionState.incrNextTargetMsgSeqNum(SessionState.java:354)
at quickfix.Session.nextLogout(Session.java:1275)
at quickfix.Session.next(Session.java:939)
at quickfix.mina.SingleThreadedEventHandlingStrategy$SessionMessageEvent.processMessage(SingleThreadedEventHandlingStrategy.java:112)
at quickfix.mina.SingleThreadedEventHandlingStrategy.block(SingleThreadedEventHandlingStrategy.java:75)
at quickfix.mina.SingleThreadedEventHandlingStrategy$1.run(SingleThreadedEventHandlingStrategy.java:92)
at java.lang.Thread.run(Unknown Source)



 Comments   
Comment by Christoph John [ 10/Oct/12 ]

Can this be reproduced reliably? It just seems the file was moved or deleted? Was the file on a network drive?

Generated at Thu May 02 12:52:35 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.