java.util.regex.PatternSyntaxException: Unmatched closing ')' 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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via ZK-Tracker by dennis, 1 year ago
Unmatched closing ')' near index 0 ')'! ^
via ZK-Tracker by dennis, 1 year ago
Unmatched closing ')' near index 0 ')'! ^
via Oracle Community by 807603, 1 month ago
Unexpected internal error near index 1 \ ^
via Google Groups by K McNeil, 1 month ago
Unexpected internal error near index 1 \ ^
via Oracle Community by 843854, 1 year ago
Unexpected internal error near index 1 \ ^
via Netbeans Bugzilla by lmartinek, 1 year ago
Unexpected internal error near index 1 \ ^
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.(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)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 4 weeks ago

Write tip

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