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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by David Currie [Atlassian], 1 year ago
Dangling meta character '?' near index 0 ? ^
via Atlassian JIRA by David Currie [Atlassian], 1 year ago
Dangling meta character '?' near index 0 ? ^
via java.net Bugzilla by strubin, 1 year ago
Dangling meta character '+' near index 0 ++ ^
via journaldev.com by Unknown author, 1 year ago
Dangling meta character '*' near index 0 *xx* ^
via csdn.net by Unknown author, 2 years ago
Dangling meta character '*' near index 0 *xx* ^
via Coderanch by somkiat puisungnoen, 1 year ago
Dangling meta character '*' near index 0 *welcome* ^
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.(Pattern.java:1133)
at java.util.regex.Pattern.compile(Pattern.java:823)
at com.atlassian.sisyphus.SisyphusPattern.compile(SisyphusPattern.java:82)
at com.atlassian.sisyphus.SisyphusPattern.getPattern(SisyphusPattern.java:106)
at com.atlassian.sisyphus.DefaultSisyphusPatternMatcher.matchAttachmentLine(DefaultSisyphusPatternMatcher.java:50)
at com.atlassian.sisyphus.DefaultSisyphusPatternMatcher.match(DefaultSisyphusPatternMatcher.java:85)
at com.atlassian.support.tools.hercules.SupportToolsHerculesScanAction$3.run(SupportToolsHerculesScanAction.java:210)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)

Users with the same issue

Once, 1 month ago
Once, 4 months ago
12 times, 6 months ago
Once, 6 months ago
Once, 7 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.