java.util.regex.PatternSyntaxException: Regex should be formatted as regex:<regular-expression>:<parameterized-string> near index 0 regex:(.*)@localhost ^

james-server-dev | Apache Jenkins Server | 2 years ago
  1. 0

    Build failed in Jenkins: james-server-trunk » Apache James :: Server :: Data :: HBase Persistence #4849

    james-server-dev | 2 years ago | Apache Jenkins Server
    java.util.regex.PatternSyntaxException: Regex should be formatted as regex:<regular-expression>:<parameterized-string> near index 0 regex:(.*)@localhost ^
  2. 0

    Build failed in Jenkins: james-server-trunk » Apache James :: Server :: Data :: HBase Persistence #4907

    james-server-dev | 2 years ago | Apache Jenkins Server
    java.util.regex.PatternSyntaxException: Regex should be formatted as regex:<regular-expression>:<parameterized-string> near index 0 regex:(.*)@localhost ^
  3. 0

    {code} >>java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 0 >>')'! >>^ >> at java.util.regex.Pattern.error(Pattern.java:1713) >> at java.util.regex.Pattern.compile(Pattern.java:1464) >> at java.util.regex.Pattern.<init>(Pattern.java:1133) >> at java.util.regex.Pattern.compile(Pattern.java:823) >> at java.lang.String.replaceAll(String.java:2189) >> at org.zkoss.poi.xssf.usermodel.XSSFWorkbook.setSheetName(XSSFWorkbook.java:1357) >> at org.zkoss.zss.model.sys.impl.XSSFBookImpl.setSheetName(XSSFBookImpl.java:253) >> at org.zkoss.zss.model.sys.impl.XRangeImpl.setSheetName(XRangeImpl.java:2763) >> at org.zkoss.zss.api.impl.RangeImpl.setSheetName(RangeImpl.java:642) >> at org.zkoss.zss.api.SheetOperationUtil$3.run(SheetOperationUtil.java:355) >> at org.zkoss.zss.api.impl.RangeImpl.sync(RangeImpl.java:260) >> at org.zkoss.zss.api.SheetOperationUtil.renameSheet(SheetOperationUtil.java:344) >> at org.zkoss.zss.ui.impl.ua.RenameSheetHandler.processAction(RenameSheetHandler.java:52) >> at org.zkoss.zss.ui.impl.ua.AbstractHandler.process(AbstractHandler.java:57) >> at org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.dispatchAuxAction(DefaultUserActionManagerCtrl.java:272) >> at org.zkoss.zss.ui.impl.DefaultUserActionManagerCtrl.onEvent(DefaultUserActionManagerCtrl.java:395) >> at org.zkoss.zssex.ui.impl.UserActionManagerCtrlImpl.onEvent(UserActionManagerCtrlImpl.java:285) >> at org.zkoss.zss.ui.Spreadsheet$3.onEvent(Spreadsheet.java:388) >> at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2743) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2714) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2655) >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136) >> at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1720) >> at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1505) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1215) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:601) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:483) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:492) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) >> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) >> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401) >> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) >> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) >> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) >> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) >> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) >> at org.mortbay.jetty.Server.handle(Server.java:326) >> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) >> at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) >> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) >> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) >> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) >> at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) >> at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) {code}

    ZK-Tracker | 3 years ago | dennis
    java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 0 ')'! ^
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PatternSyntaxException when putting an invalid regexp in filter row

    Eclipse Bugzilla | 2 years ago | maroukhian
    java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0 *.0 ^
  6. 0

    Cannot use Value Lists in metric paths

    GitHub | 2 years ago | WrathOfChris
    java.util.regex.PatternSyntaxException: Illegal repetition near index 0 ^{test,test2}.*$ ^

    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

      Regex should be formatted as regex:<regular-expression>:<parameterized-string> near index 0 regex:(.*)@localhost ^

      at org.apache.james.rrt.lib.RecipientRewriteTableUtil.regexMap()
    2. org.apache.james
      AbstractRecipientRewriteTableTest.testStoreAndRetrieveRegexMapping
      1. org.apache.james.rrt.lib.RecipientRewriteTableUtil.regexMap(RecipientRewriteTableUtil.java:67)
      2. org.apache.james.rrt.lib.AbstractRecipientRewriteTable.getMappings(AbstractRecipientRewriteTable.java:137)
      3. org.apache.james.rrt.lib.AbstractRecipientRewriteTable.getMappings(AbstractRecipientRewriteTable.java:114)
      4. org.apache.james.rrt.lib.AbstractRecipientRewriteTableTest.testStoreAndRetrieveRegexMapping(AbstractRecipientRewriteTableTest.java:96)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      7. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      15. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      15 frames
    5. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    7. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:158)
      3. org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
      4. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)
      5 frames