Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2744

Not able to create asset of Xlsx spreedsheet type in business-central console.

    XMLWordPrintable

Details

    • Hide
      • Start RHPAM with JDK 11
      • Login into business-central console of RHAPM 7.6.0 release
      • Download attached xlsx sheet, goto any project.
      • "Add Assets"==> "Decision Table(spreedsheet)" ==>File type xlsx
      • Try to upload provided xlsx sheet, it fails with exception.
      Show
      Start RHPAM with JDK 11 Login into business-central console of RHAPM 7.6.0 release Download attached xlsx sheet, goto any project. "Add Assets"==> "Decision Table(spreedsheet)" ==>File type xlsx Try to upload provided xlsx sheet, it fails with exception.

    Description

      Not able to create an asset of Xlsx spreadsheet type in business-central console, it fails with exception:

      15:53:36,968 ERROR [org.guvnor.common.services.backend.exceptions.ExceptionUtilities] (default task-6) Exception thrown: Fail to save: an error occurs while saving the package : class org.apache.poi.openxml4j.util.ZipSecureFile$ThresholdInputStream cannot be cast to class java.util.zip.ZipFile$ZipFileInputStream (org.apache.poi.openxml4j.util.ZipSecureFile$ThresholdInputStream is in unnamed module of loader 'deployment.business-central.war' @1bf45515; java.util.zip.ZipFile$ZipFileInputStream is in module java.base of loader 'bootstrap'): org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException: Fail to save: an error occurs while saving the package : class org.apache.poi.openxml4j.util.ZipSecureFile$ThresholdInputStream cannot be cast to class java.util.zip.ZipFile$ZipFileInputStream (org.apache.poi.openxml4j.util.ZipSecureFile$ThresholdInputStream is in unnamed module of loader 'deployment.business-central.war' @1bf45515; java.util.zip.ZipFile$ZipFileInputStream is in module java.base of loader 'bootstrap')
      	at deployment.business-central.war//org.apache.poi.openxml4j.opc.ZipPackage.saveImpl(ZipPackage.java:595)
      	at deployment.business-central.war//org.apache.poi.openxml4j.opc.OPCPackage.save(OPCPackage.java:1539)
      	at deployment.business-central.war//org.apache.poi.openxml4j.opc.OPCPackage.save(OPCPackage.java:1522)
      	at deployment.business-central.war//org.apache.poi.openxml4j.opc.ZipPackage.closeImpl(ZipPackage.java:450)
      	at deployment.business-central.war//org.apache.poi.openxml4j.opc.OPCPackage.close(OPCPackage.java:479)
      	at deployment.business-central.war//org.apache.poi.POIXMLDocument.close(POIXMLDocument.java:189)
      	at deployment.business-central.war//org.drools.workbench.screens.dtablexls.backend.server.DecisionTableXLSServiceImpl.validate(DecisionTableXLSServiceImpl.java:258)
      	at deployment.business-central.war//org.drools.workbench.screens.dtablexls.backend.server.DecisionTableXLSServiceImpl.writeToFile(DecisionTableXLSServiceImpl.java:187)
      	at deployment.business-central.war//org.drools.workbench.screens.dtablexls.backend.server.DecisionTableXLSServiceImpl.create(DecisionTableXLSServiceImpl.java:146)
      	at deployment.business-central.war//org.drools.workbench.screens.dtablexls.backend.server.DecisionTableXLSServiceImpl$Proxy$_$$_WeldClientProxy.create(Unknown Source)
      

      Attachments

        Activity

          People

            eignatow Eder Ignatowicz
            rhn-support-abhumbe Abhijit Humbe
            Jozef Marko Jozef Marko
            Jozef Marko Jozef Marko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: