Skip to content

Commit d7c9fe5

Browse files
authored
Merge pull request #775 from wajncn/fix-npe
Correct NullPointerException on `UseDataDictionary=N` and FIXT session
2 parents 529761e + 32e432e commit d7c9fe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickfixj-core/src/main/java/quickfix/Session.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2163,7 +2163,7 @@ private void nextLogon(Message logon) throws FieldNotFound, RejectLogon, Incorre
21632163
throw new RejectLogon("Logon attempt not within session time");
21642164
}
21652165

2166-
if (sessionID.isFIXT()) {
2166+
if (sessionID.isFIXT() && dataDictionaryProvider != null) {
21672167
final DataDictionary dictionary = dataDictionaryProvider
21682168
.getSessionDataDictionary(sessionID.getBeginString());
21692169
if (dictionary != null) {

0 commit comments

Comments
 (0)