Skip to content

Commit

Permalink
Merge pull request #775 from wajncn/fix-npe
Browse files Browse the repository at this point in the history
Correct NullPointerException on `UseDataDictionary=N` and FIXT session
  • Loading branch information
chrjohn authored Mar 14, 2024
2 parents 529761e + 32e432e commit d7c9fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickfixj-core/src/main/java/quickfix/Session.java
Original file line number Diff line number Diff line change
Expand Up @@ -2163,7 +2163,7 @@ private void nextLogon(Message logon) throws FieldNotFound, RejectLogon, Incorre
throw new RejectLogon("Logon attempt not within session time");
}

if (sessionID.isFIXT()) {
if (sessionID.isFIXT() && dataDictionaryProvider != null) {
final DataDictionary dictionary = dataDictionaryProvider
.getSessionDataDictionary(sessionID.getBeginString());
if (dictionary != null) {
Expand Down

0 comments on commit d7c9fe5

Please sign in to comment.