java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 0 ?* ^

GitHub | Alexwii | 5 months ago
  1. 0

    Cannot POST on Regex Tester (error 500)

    GitHub | 5 months ago | Alexwii
    java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 0 ?* ^
  2. 0

    Java PatternSyntaxException: Illegal repetition on string substitution?

    Stack Overflow | 3 years ago
    java.util.regex.PatternSyntaxException: Illegal repetition near index 0 ${fizz} ^
  3. 0

    Exception when replacing brackets

    Stack Overflow | 2 years ago | Kewitschka
    java.util.regex.PatternSyntaxException: Incorrectly nested parentheses in regexp pattern near index 1: ) ^
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android app crashes when any math parser is included

    Stack Overflow | 3 years ago | John Smith
    java.util.regex.PatternSyntaxException: Syntax error in regexp pattern near index 1: } ^
  6. 0

    java.util.regex.PatternSyntaxException

    Stack Overflow | 2 years ago | user3211607
    java.util.regex.PatternSyntaxException: Syntax error in regexp pattern near index 1: * ^

  1. davidvanlaatum 2 times, last 3 months ago
  2. mortalman7 1 times, last 4 months ago
  3. Christopher 5 times, last 6 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.regex.PatternSyntaxException

    Dangling meta character '?' near index 0 ?* ^

    at java.util.regex.Pattern.error()
  2. Java RT
    Pattern.compile
    1. java.util.regex.Pattern.error(Pattern.java:1955)[?:1.8.0_20]
    2. java.util.regex.Pattern.sequence(Pattern.java:2123)[?:1.8.0_20]
    3. java.util.regex.Pattern.expr(Pattern.java:1996)[?:1.8.0_20]
    4. java.util.regex.Pattern.compile(Pattern.java:1696)[?:1.8.0_20]
    5. java.util.regex.Pattern.<init>(Pattern.java:1351)[?:1.8.0_20]
    6. java.util.regex.Pattern.compile(Pattern.java:1054)[?:1.8.0_20]
    6 frames
  3. graylog2-server
    RegexTesterResource.testRegex
    1. org.graylog2.rest.resources.tools.RegexTesterResource.doTestRegex(RegexTesterResource.java:59)[graylog.jar:?]
    2. org.graylog2.rest.resources.tools.RegexTesterResource.testRegex(RegexTesterResource.java:55)[graylog.jar:?]
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_20]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_20]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_20]
    4. java.lang.reflect.Method.invoke(Method.java:483)[?:1.8.0_20]
    4 frames
  5. jersey-core-server
    ServerRuntime$2.run
    1. org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[graylog.jar:?]
    2. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[graylog.jar:?]
    3. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[graylog.jar:?]
    4. org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)[graylog.jar:?]
    5. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[graylog.jar:?]
    6. org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[graylog.jar:?]
    7. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[graylog.jar:?]
    8. org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[graylog.jar:?]
    9. org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[graylog.jar:?]
    9 frames
  6. Jersey Core
    RequestScope.runInScope
    1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[graylog.jar:?]
    2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[graylog.jar:?]
    3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)[graylog.jar:?]
    4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)[graylog.jar:?]
    5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)[graylog.jar:?]
    6. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[graylog.jar:?]
    6 frames
  7. jersey-core-server
    ApplicationHandler.handle
    1. org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[graylog.jar:?]
    2. org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[graylog.jar:?]
    2 frames
  8. jersey-container-grizzly2-http
    GrizzlyHttpContainer.service
    1. org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)[graylog.jar:?]
    1 frame
  9. Grizzly Server
    HttpHandler$1.run
    1. org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224)[graylog.jar:?]
    1 frame
  10. Metrics Core
    InstrumentedExecutorService$InstrumentedRunnable.run
    1. com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)[graylog.jar:?]
    1 frame
  11. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[?:1.8.0_20]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[?:1.8.0_20]
    3. java.lang.Thread.run(Thread.java:745)[?:1.8.0_20]
    3 frames