Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-47

Unable to export Showcase Sales report to Excel file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 6.0.3
    • BAM
    • None

      +++ This bug was initially created as a clone of Bug #1133691 +++

      +++ This bug was initially created as a clone of Bug #1133690 +++

      Description of problem:

      Unable to export to Excel file format. Getting the following error:

      Tx id=1512514025
      Tx Isolation=2
      Tx Auto commit=false
      Error id=1408998394380
      Error date=Mon Aug 25 15:26:34 CDT 2014
      Error stack trace=java.lang.IllegalArgumentException: Attempting to write a row[0] in the range [0,1700] that is already written to disk.
      at org.apache.poi.xssf.streaming.SXSSFSheet.createRow(SXSSFSheet.java:111)
      at org.apache.poi.ss.util.CellUtil.getRow(CellUtil.java:90)
      at org.apache.poi.ss.util.RegionUtil.setBorderRight(RegionUtil.java:118)
      at org.jboss.dashboard.displayer.table.ExportTool.exportExcel(ExportTool.java:162)
      at org.jboss.dashboard.ui.components.table.TableHandler.actionExportData(TableHandler.java:332)
      at org.jboss.dashboard.ui.components.table.TableViewer.actionExportData(TableViewer.java:59)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.jboss.dashboard.ui.components.BeanHandler.handle(BeanHandler.java:152)
      at org.jboss.dashboard.ui.components.BeanDispatcher.handle(BeanDispatcher.java:133)
      at org.jboss.dashboard.ui.components.BeanDispatcher.performRequestHandling(BeanDispatcher.java:124)
      at org.jboss.dashboard.ui.components.BeanDispatcher.handleRequest(BeanDispatcher.java:46)
      at org.jboss.dashboard.ui.components.BeanDispatcher$Proxy$$$_WeldClientProxy.handleRequest(BeanDispatcher$Proxy$$$_WeldClientProxy.java)
      at org.jboss.dashboard.ui.panel.PanelDriver.panelActionFactory(PanelDriver.java:1237)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.jboss.dashboard.ui.panel.PanelDriver._execute(PanelDriver.java:817)
      at org.jboss.dashboard.ui.panel.PanelDriver.execute(PanelDriver.java:780)
      at org.jboss.dashboard.ui.panel.kpi.KPIDriver$Proxy$$$_WeldClientProxy.execute(KPIDriver$Proxy$$$_WeldClientProxy.java)
      at org.jboss.dashboard.ui.controller.requestChain.RequestDispatcher.processRequest(RequestDispatcher.java:93)
      at org.jboss.dashboard.ui.controller.requestChain.RequestDispatcher$Proxy$$$_WeldClientProxy.processRequest(RequestDispatcher$Proxy$$$_WeldClientProxy.java)
      at org.jboss.dashboard.ui.controller.RequestProcessor.run(RequestProcessor.java:68)
      at org.jboss.dashboard.ui.controller.RequestProcessor$Proxy$$$_WeldClientProxy.run(RequestProcessor$Proxy$$$_WeldClientProxy.java)
      at org.jboss.dashboard.ui.controller.ControllerServlet$1.txFragment(ControllerServlet.java:174)
      at org.jboss.dashboard.database.hibernate.HibernateTransaction.executeFragment(HibernateTransaction.java:252)
      at org.jboss.dashboard.database.hibernate.HibernateTxFragment.executeInitiator(HibernateTxFragment.java:179)
      at org.jboss.dashboard.database.hibernate.HibernateTxFragment.execute(HibernateTxFragment.java:167)
      at org.jboss.dashboard.ui.controller.ControllerServlet.processTheRequest(ControllerServlet.java:170)
      at org.jboss.dashboard.ui.controller.ControllerServlet.service(ControllerServlet.java:135)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:512)
      at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)
      at java.lang.Thread.run(Thread.java:745)

      — Additional comment from JBoss Product and Program Management on 2014-08-25 16:40:07 EDT —

      Since this issue was entered in Red Hat Bugzilla, the release flag has been
      set to ? to ensure that it is properly evaluated for this release.

      — Additional comment from Jan on 2014-09-29 12:35:38 EDT —

      Fixed in master:
      https://github.com/droolsjbpm/dashboard-builder/commit/ec9c67b4b4bdd72bec89fbf38e84c9926774f1f5

      — Additional comment from David Gutierrez on 2014-10-14 08:26:50 EDT —

      Cherry picked into 6.0.x

      https://github.com/droolsjbpm/dashboard-builder/commit/b6d355d652af09c562e8728e3ba520f4b6d73ec6

      — Additional comment from Ryan Zhang on 2014-10-15 04:59:38 EDT —

      Dashbuilder brew build for 6.0.x branch is availabe at https://brewweb.devel.redhat.com/buildinfo?buildID=391356

      I think there is no need to package this for 6.0.3 rollup #1. Since this is requested only for DV release based on the disucssion in PM maillist.

      So no dashbuilder-displayer-core will be included in brms rollup patch.

      — Additional comment from Ryan Zhang on 2014-10-15 05:01:45 EDT —

      The dashbuilder version including this fixes is 6.0.3-redhat-7.
      Brew link: https://brewweb.devel.redhat.com/buildinfo?buildID=391356

      — Additional comment from Ryan Zhang on 2014-10-20 04:34:13 EDT —

      Packed into rollup patch now which is in http://dev138.mw.lab.eng.bos.redhat.com/patches/BPMS_6.0.3_1_2014/.

              david.magallanes David Gutierrez
              jhrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Cheng Zhang (Inactive), David Gutierrez, Jan Schatteman, Kris Verlaenen, Marek Baluch, Rajesh Rajasekaran, vhalbert2
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: