Details
Description
I set ReconnectInterval in the DEFAULT section to the same string as the example in QFJ-419
ReconnectInterval=6*5;5*15;60
When I run the program I get the following stack trace
quickfix.ConfigError: java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0
*
^
at quickfix.DefaultSessionFactory.getLogonIntervalsInSeconds(DefaultSessionFactory.java:339)
at quickfix.DefaultSessionFactory.create(DefaultSessionFactory.java:176)
at quickfix.mina.SessionConnector.createSession(SessionConnector.java:140)
at quickfix.mina.initiator.AbstractSocketInitiator.createSessions(AbstractSocketInitiator.java:160)
at quickfix.mina.initiator.AbstractSocketInitiator.createSessionInitiators(AbstractSocketInitiator.java:81)
at quickfix.SocketInitiator.initialize(SocketInitiator.java:85)
at quickfix.SocketInitiator.start(SocketInitiator.java:65)
at com.cboe.driver.LogonDOSApplication.main(LogonDOSApplication.java:104)
Caused by: java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0
*
^
at java.util.regex.Pattern.error(Pattern.java:1713)
at java.util.regex.Pattern.sequence(Pattern.java:1878)
at java.util.regex.Pattern.expr(Pattern.java:1752)
at java.util.regex.Pattern.compile(Pattern.java:1460)
at java.util.regex.Pattern.<init>(Pattern.java:1133)
at java.util.regex.Pattern.compile(Pattern.java:823)
at java.lang.String.split(String.java:2292)
at java.lang.String.split(String.java:2334)
at quickfix.SessionSettings.parseSettingReconnectInterval(SessionSettings.java:742)
at quickfix.DefaultSessionFactory.getLogonIntervalsInSeconds(DefaultSessionFactory.java:336)
... 7 more
Attachments
Issue Links
- is related to
-
QFJ-419 Reconnect Interval: set different interval values
- Closed