Skip to content

Commit 483af38

Browse files
author
王勤奋
committed
fix UseDataDictionary=N dataDictionaryProvider is null
1 parent 529761e commit 483af38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2163,7 +2163,8 @@ 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+
// UseDataDictionary=N dataDictionaryProvider is null
2167+
if (sessionID.isFIXT() && dataDictionaryProvider != null) {
21672168
final DataDictionary dictionary = dataDictionaryProvider
21682169
.getSessionDataDictionary(sessionID.getBeginString());
21692170
if (dictionary != null) {

0 commit comments

Comments
 (0)