java.util.regex.PatternSyntaxException

Look-behind pattern matches must have a bounded maximum length near index 9: ((?<=\s+)|(?=\s+)) ^

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web575

  • via Google Groups by Dongil Yang, 6 months ago
    Look-behind pattern matches must have a bounded maximum length near index 9: ((?<=\s+)|(?=\s+)) ^
  • via Spring JIRA by zyro, 9 months ago
    Look-behind group does not have an obvious maximum length near index 58 \s+\w+\([0-9a-zA-z\._,\s']+\)\s+[as|AS]+\s+(?<alias>[\w\.]+) ^
  • via Stack Overflow by Fx Leyu
    , 4 months ago
    Look-behind group does not have an obvious maximum length near index 14 (.)(?<=a{1,4}\1) ^
  • Stack trace

    • java.util.regex.PatternSyntaxException: Look-behind pattern matches must have a bounded maximum length near index 9: ((?<=\s+)|(?=\s+)) ^ at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3254) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350) at android.app.ActivityThread.access$1100(ActivityThread.java:222) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7229) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) Caused by: java.util.regex.PatternSyntaxException: Look-behind pattern matches must have a bounded maximum length near index 9: ((?<=\s+)|(?=\s+)) ^ at java.util.regex.Pattern.compileImpl(Native Method) at java.util.regex.Pattern.compile(Pattern.java:411) at java.util.regex.Pattern.<init>(Pattern.java:394) at java.util.regex.Pattern.compile(Pattern.java:381) at java.lang.String.split(String.java:1411) at java.lang.String.split(String.java:1392) at com.twitter.penguin.korean.tokenizer.KoreanChunker$.chunk(KoreanChunker.scala:150) at com.twitter.penguin.korean.tokenizer.KoreanTokenizer$.tokenize(KoreanTokenizer.scala:96) at com.twitter.penguin.korean.TwitterKoreanProcessor$.tokenize(TwitterKoreanProcessor.scala:49) at com.twitter.penguin.korean.TwitterKoreanProcessor.tokenize(TwitterKoreanProcessor.scala) at com.twitter.penguin.korean.TwitterKoreanProcessorJava.tokenize(TwitterKoreanProcessorJava.java:56) at com.ai1.myapplication.MainActivity.onCreate(MainActivity.java:31) at android.app.Activity.performCreate(Activity.java:6876) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207) ... 9 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 3 months ago
    Unknown user
    Once, 11 months ago
    2 times, 11 months ago
    Once, 1 year ago
    Once, 1 year ago
    4 more bugmates