java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 30 \[([^\|\[\]]*\| *)?(?:mod4:)???(#[^\]]*)?\] ^

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 Betsy Walker, 1 year ago
Dangling meta character '?' near index 30 \[([^\|\[\]]*\| *)?(?:mod4:)???(#[^\]]*)?\] ^
via Atlassian JIRA by Betsy Walker, 1 year ago
Dangling meta character '?' near index 30 \[([^\|\[\]]*\| *)?(?:mod4:)???(#[^\]]*)?\] ^
via atlassian.com by Unknown author, 2 years ago
Dangling meta character '*' near index 29 \[([^\|\[\]]*\| *)?(?:matt:)?*test(#[^\]]*)?\] ^
via Oracle Community by 807594, 1 year ago
Dangling meta character '+' near index 0 + ^
via Oracle Community by 807569, 1 year ago
Dangling meta character '*' near index 0 ** ^
via Oracle Community by 807591, 1 year ago
Dangling meta character '*' near index 0 * ^
java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 30 \[([^\|\[\]]*\| *)?(?:mod4:)???(#[^\]]*)?\] ^
at java.util.regex.Pattern.error(Pattern.java:1650)
at java.util.regex.Pattern.sequence(Pattern.java:1787)
at java.util.regex.Pattern.expr(Pattern.java:1687)
at java.util.regex.Pattern.compile(Pattern.java:1397)
at java.util.regex.Pattern.(Pattern.java:1124)
at java.util.regex.Pattern.compile(Pattern.java:817)
at java.lang.String.replaceAll(String.java:2000)
at com.atlassian.confluence.util.SelfPageLinkRenamingBean.handleText(SelfPageLinkRenamingBean.java:30)
at com.atlassian.renderer.v2.WikiMarkupParser.parse(WikiMarkupParser.java:55)
at com.atlassian.confluence.util.AbstractLinkRenamingBean.parseContent(AbstractLinkRenamingBean.java:107)
at com.atlassian.confluence.util.AbstractLinkRenamingBean.getRenamedContent(AbstractLinkRenamingBean.java:63)
at com.atlassian.confluence.links.DefaultLinkManager.getSelfContentWithRenamedLinks(DefaultLinkManager.java:104)
at sun.reflect.GeneratedMethodAccessor758.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20)

Users with the same issue

Once, 6 days ago
6 times, 1 week ago
Once, 1 week ago
3 times, 1 month ago
Once, 2 months ago

Write tip

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