[QFJ-574] Logout reason "Incorrect BeginString" on UnsupportedVersion exception is ambiguous Created: 25/Feb/11  Updated: 13/Nov/12  Resolved: 13/Nov/12

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

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

Issue Links:
Duplicate
duplicates QFJ-603 Logout reason "Incorrect BeginString"... Resolved

 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.

Generated at Wed Nov 27 03:59:25 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.