Uploaded image for project: 'ZK Spreadsheet'
  1. ZK Spreadsheet
  2. ZSS-473

get exception if renamed sheet contains '(' or ')'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • ZPOI, ZSS Range & Model
    • None

      >>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)
      

            dennis dennis
            dennis dennis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: