[QFJ-604] Logout reason "Incorrect BeginString" on UnsupportedVersion exception is ambiguous Created: 26/May/11  Updated: 26/May/11  Resolved: 26/May/11

Status: Closed
Project: QuickFIX/J
Component/s: Engine
Affects Version/s: 1.3.3
Fix Version/s: 1.5.1

Type: Bug Priority: Default
Reporter: Jörg Thönnes Assignee: Jörg Thönnes
Resolution: Duplicate Votes: 0
Labels: None


 Description   

We had the situation any FIX sessions were immediately logged out with the reason "Incorrect BeginString". But the session was configured to use "FIX.4.4" and the incoming message came with "FIX.4.4" so we wondered why this happened.

Finally, we found that the configured data dictionary had the wrong FIX version tag which was difficult to find.

Code analysis results:

  • The logout reason "Incorrect BeginString" is sent if the exception UnsupportedVersion is thrown.
  • This exception is sent on two quite different occasions:
    • Incoming BeginString does not match the session configuration.
    • On validate, configured data dictionary does not match the session configuration.
  • In both cases, the same undifferentiated exception is thrown.

Possible improvements:

  • Provide differentiating reason text to the UnsupportedVersion exception.


 Comments   
Comment by Jörg Thönnes [ 26/May/11 ]

Duplicate by mistake of Mylyn JIRA connector.

Generated at Sat Nov 23 14:03:05 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.