java.util.regex.PatternSyntaxException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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
    via by Andy Faibishenko,
  • QuickFIX/J Jira
    via by Unknown author,
  • QuickFIX/J Jira
    via by Unknown author,
  • 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
    via by Andy Faibishenko,
  • Error
    via GitHub by TurKurT656
    ,
  • PatternSyntaxException
    via GitHub by tjago
    ,
    • 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

    Users with the same issue

    CasperCasper
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    CafecanudoCafecanudo
    2 times, last one,
    bpbhat77bpbhat77
    1 times, last one,
    JurajiJuraji
    1 times, last one,
    22 more bugmates