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

Delete rows cause XmlValueDisconnectedException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.6.0, 3.0.0 RC
    • 2.5.0, 2.6.0, 3.0.0 RC
    • ZPOI
    • None

      Reproducing Step

      Simpler steps:

      1. load ZSS-demo_sample.xlsx
      2. delete one row above row 41 (Value of collateral or property)
      3. delete 2 rows 40~41 (close to bottom border)

      another reproduce step:

      1. run zsapp.war.
      2. deleting 2 rows 36 - 38 and then deleting 38 - 40 (those rows below and above bottom border)

      another reproduce step:

      1. remove rows 24-25
      2. remove rows 39-40

      Error we met

      Aug 08, 2013 3:31:12 PM org.zkoss.zk.ui.impl.UiEngineImpl handleError:1352
      SEVERE: >>org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
      >> at org.apache.xmlbeans.impl.values.XmlObjectBase.check_orphaned(XmlObjectBase.java:1213)
      >> at org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTCellImpl.isSetS(Unknown Source)
      >> at org.zkoss.poi.xssf.usermodel.XSSFCell.getCellStyle(XSSFCell.java:488)
      >> at org.zkoss.poi.xssf.usermodel.XSSFCell.getCellStyle(XSSFCell.java:66)
      >> at org.zkoss.zss.ui.impl.CellFormatHelper.processBottomBorder(CellFormatHelper.java:177)
      >> at org.zkoss.zss.ui.impl.CellFormatHelper.getHtmlStyle(CellFormatHelper.java:101)
      >> at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.getCellAttr(Spreadsheet.java:3032)
      >> at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.getRangeAttrs(Spreadsheet.java:2878)
      >> at org.zkoss.zss.ui.Spreadsheet.responseUpdateCell(Spreadsheet.java:2547)
      >> at org.zkoss.zss.ui.Spreadsheet.updateCell(Spreadsheet.java:2495)
      >> at org.zkoss.zss.ui.Spreadsheet.access$4100(Spreadsheet.java:179)
      >> at org.zkoss.zss.ui.Spreadsheet$ExtraCtrl.removeRows(Spreadsheet.java:3347)
      >> at org.zkoss.zss.ui.Spreadsheet$InnerDataListener.onRangeDelete(Spreadsheet.java:2242)
      >> at org.zkoss.zss.ui.Spreadsheet$InnerDataListener.access$1500(Spreadsheet.java:1954)
      >> at org.zkoss.zss.ui.Spreadsheet$InnerDataListener$11.onEvent(Spreadsheet.java:2021)
      >> at org.zkoss.zss.engine.event.EventDispatchListener.onEvent(EventDispatchListener.java:43)
      >> at org.zkoss.zssex.engine.impl.RefBookImpl$DelegateListener.onEvent(Unknown Source)
      >> at org.zkoss.zk.ui.event.impl.DesktopEventQueue$QueueListener.onEvent(DesktopEventQueue.java:145)
      >> at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2732)
      >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2703)
      >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2644)
      >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136)
      >> at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1710)
      >> at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1495)
      >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1205)
      >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:583)
      >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:481)
      >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:489)

            paowang paowang
            samchuang samchuang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: