Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    POI 3.15

    Hello, I noticed that in the SDK for the more recent builds there are POI libraries version 3.15.

    With that POI version I've got a compatibility problem with Jasperreports libraries. So I'm asking: are they necessary for some new SmartClient feature, or can I use POI 3.14 ?

    #2
    You can safely use the older (3.14) version. Can you give us an idea of what the Jasper issue is wrt to the new POI libs?

    Comment


      #3
      Thanks.
      I must say that we're using a pretty old version of Jasperreports: 5.5.0, but I've tried also 6.3.1 with the same result.

      While exporting a report, I got this error:
      Code:
      2017-03-07 12:02:36,387 DEBUG DataSourceDMI Invocation threw exception 
      java.lang.NoSuchMethodError: org.apache.poi.hssf.util.HSSFColor.getTripletHash()Ljava/util/Hashtable;
          at net.sf.jasperreports.engine.export.JRXlsExporter.getNearestColor(JRXlsExporter.java:996)
          at net.sf.jasperreports.engine.export.JRXlsExporter.getWorkbookColor(JRXlsExporter.java:985)
          at net.sf.jasperreports.engine.export.JRXlsExporter.exportText(JRXlsExporter.java:640)
          at net.sf.jasperreports.engine.export.JRXlsAbstractExporter.exportPage(JRXlsAbstractExporter.java:1201)
          at net.sf.jasperreports.engine.export.JRXlsAbstractExporter.exportReportToStream(JRXlsAbstractExporter.java:998)
          at net.sf.jasperreports.engine.export.JRXlsAbstractExporter.exportReport(JRXlsAbstractExporter.java:671)
      ​
      this is the java code:
      Code:
                  JRXlsExporter exporter = new JRXlsExporter();
                  exporter.setParameter(JRXlsExporterParameter.IS_COLLAPSE_ROW_SPAN, true);
                  exporter.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_COLUMNS, true);
                  exporter.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, true);
                  printer.setProperty("net.sf.jasperreports.export.xls.ignore.graphics", "true");
                  exporter.setParameter(JRExporterParameter.JASPER_PRINT,
                          printer);
                  exporter.setParameter(JRXlsExporterParameter.OUTPUT_STREAM,
                          byteOutputStream);
                  exporter.exportReport();
      I can send the complete Jasperreports log if it helps.

      Comment


        #4
        Ok, I think I see what's going on here. In POI 3.15 beta 2, they made this change: https://bz.apache.org/bugzilla/show_bug.cgi?id=59748 which changed the return value of getTripletHash() from Hashtable to Map (which makes complete sense), but of course in Java a different return value alone is not sufficient for method signature disambiguation, and the getTripletHash() method takes no arguments so there isn't even a meaningful way to provide an args-based disambiguation, so they couldn't preserve runtime backcompat.

        So technically a recompile of Jasperreports would result in a working configuration, but that's not a reasonable option for most, so you're stuck with this runtime error. I think the downgrade to 3.14 makes complete sense and is the best option, however if you find yourself needing a feature/fix from POI 3.15, rebuilding Jasperreports from source could become an option.

        Thanks for the detailed report - good context for us and the community to have.

        Comment


          #5
          SmartClient Version: SNAPSHOT_v11.1d_2017-03-06/Enterprise Deployment (built 2017-03-06)
          Chrome on OSX

          Hello, unfortunately with POI 3.14 I've got an error while trying a SmartClient export in OOXML format:

          Code:
          elencoFattureListGrid.exportData({
                              exportFields: [
                                  "CONTRATTO_NUM_UPGRADATO", "VAL_CONTR_UPGRADATO_SCONTATO", "VALORE_CONTRATTO_SCONTATO", "differenzaUpgrade",
                                  "CONTRATTO_NUM", "SOGGETTO_DESC", "EMAIL", "NOTE_CLIENTE", "FATT_DA_COMPENSARE", "DATA_SOTTOSC_CLIENTE",
                                  "DATA_APP", "ggRitardo", "STATO_FATTURE", "DATA_INCASSO", "DATA_FATTURA", "IMPORTO", "TICKETING_LORDO",
                                  "NUM_FATTURA", "FILE_TEMP_DATE_CREATED"
                              ],
                              exportAs: 'ooxml', exportFilename: "Estrazione_Incassi"
                          });
          It was working with POI 3.9, and works with POI 3.15. This is the server log:

          Code:
          2017-03-08 15:07:14,518 INFO  DSResponse DSResponse: List with 674 items 
          2017-03-08 15:07:14,518 DEBUG DSRequest freeOnExecute is false for request of type fetch on DataSource JPC_FATTURE_CONTRATTI - not freeing resources! 
          2017-03-08 15:07:14,521 INFO  ProxyHttpServletResponse content-disposition set to: attachment;  - unwrapping response output stream (CompressionFilter) 
          2017-03-08 15:07:14,782 DEBUG SQLTransaction Committing dbJpcEP transaction "1048355170" 
          java.lang.NoSuchMethodError: org.apache.xmlbeans.XmlOptions.setLoadEntityBytesLimit(I)Lorg/apache/xmlbeans/XmlOptions;
              at org.apache.poi.POIXMLTypeLoader.<clinit>(POIXMLTypeLoader.java:50)
          2017-03-08 15:07:14,784 DEBUG SQLTransaction getConnection() looked for transactional connection for dbJpcEP:  hashcode "1048355170" 
          2017-03-08 15:07:14,784 DEBUG SQLTransaction Ending dbJpcEP transaction "1048355170" 
              at org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorkbook$Factory.newInstance(Unknown Source)
              at org.apache.poi.xssf.usermodel.XSSFWorkbook.onWorkbookCreate(XSSFWorkbook.java:425)
              at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:227)
              at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:218)
              at org.apache.poi.xssf.streaming.SXSSFWorkbook.<init>(SXSSFWorkbook.java:223)
              at org.apache.poi.xssf.streaming.SXSSFWorkbook.<init>(SXSSFWorkbook.java:192)
              at org.apache.poi.xssf.streaming.SXSSFWorkbook.<init>(SXSSFWorkbook.java:167)
              at org.apache.poi.xssf.streaming.SXSSFWorkbook.<init>(SXSSFWorkbook.java:258)
              at com.isomorphic.rpc.OOXMLDataExport.getSXSSFWorkbook(OOXMLDataExport.java:57)
              at com.isomorphic.rpc.OOXMLDataExport.getXSSFWorkbook(OOXMLDataExport.java:50)
              at com.isomorphic.rpc.ExcelDataExport.getExportObject(ExcelDataExport.java:357)
              at com.isomorphic.rpc.DataExport.exportResultSet(DataExport.java:631)
              at com.isomorphic.rpc.DataExport.exportResultSet(DataExport.java:452)
              at com.isomorphic.rpc.RPCManager.completeResponse(RPCManager.java:1279)
              at com.isomorphic.rpc.RPCManager.send(RPCManager.java:715)
              at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:187)
              at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:152)
              at com.isomorphic.servlet.IDACall._processRequest(IDACall.java:119)
              at com.isomorphic.servlet.IDACall.doPost(IDACall.java:79)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
              at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:176)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:200)
              at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:178)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at com.juve.utils.Log4jSessionFilter.doFilter(Log4jSessionFilter.java:65)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
              at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
              at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
          2017-03-08 15:07:14,787 DEBUG SQLConnectionManager About to close $Proxy35 with hashcode "1048355170" 
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:109)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:109)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
              at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
              at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at com.isomorphic.js.JSSyntaxScannerFilter._doFilter(JSSyntaxScannerFilter.java:262)
              at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:93)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
              at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:93)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
              at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
              at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:744)
          2017-03-08 15:07:14,789 DEBUG SQLDataSource About to clear SQLDriver state for DS instance 13 
          2017-03-08 15:07:14,789 DEBUG SQLDataSource About to clear SQLDriver state for DS instance 13 
          2017-03-08 15:07:14,789 DEBUG SQLDataSource About to clear SQLDriver state for DS instance 13 
          2017-03-08 15:07:14,789 DEBUG PoolableDataSourceFactory Cleared and passivated DataSource 13 of type 'JPC_FATTURE_CONTRATTI' 
          2017-03-08 15:07:14,790 ERROR IDACall com.isomorphic.servlet.IDACall top-level exception 
          java.lang.NullPointerException
              at com.isomorphic.datasource.DSResponse.setExportObject(DSResponse.java:1375)
              at com.isomorphic.rpc.DataExport.exportResultSet(DataExport.java:633)
              at com.isomorphic.rpc.DataExport.exportResultSet(DataExport.java:452)
              at com.isomorphic.rpc.RPCManager.completeResponse(RPCManager.java:1279)
              at com.isomorphic.rpc.RPCManager.send(RPCManager.java:715)
              at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:187)
              at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:152)
              at com.isomorphic.servlet.IDACall._processRequest(IDACall.java:119)
              at com.isomorphic.servlet.IDACall.doPost(IDACall.java:79)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
              at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:176)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:200)
              at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:178)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at com.juve.utils.Log4jSessionFilter.doFilter(Log4jSessionFilter.java:65)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
              at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
              at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:109)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:109)
              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
              at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
              at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
              at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at com.isomorphic.js.JSSyntaxScannerFilter._doFilter(JSSyntaxScannerFilter.java:262)
              at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:93)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
              at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:93)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
              at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
              at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:744)
          any clues of what's going on?

          Comment


            #6
            Hmm ok, quick sanity check - did you also downgrade the dependencies? Specifically do you now have these jars in your app instead of the 3.15 versions of the same:
            Code:
            poi-3.14-20160307.jar
            poi-ooxml-3.14-20160307.jar
            poi-ooxml-schemas-3.14-20160307.jar
            And do you also definitely have this jar file:

            Code:
            xmlbeans-2.6.0.jar

            Comment


              #7
              yes, I downloaded them from:
              https://repo1.maven.org/maven2/org/apache/poi/poi/3.14/
              https://repo1.maven.org/maven2/org/a...oi-ooxml/3.14/
              https://repo1.maven.org/maven2/org/a...-schemas/3.14/

              Actually I hadn't xmlbeans-2.6.0.jar, but after adding these dependency nothing changed, same error as above

              Comment


                #8
                Having trouble reproducing this on our end. I've downloaded our Eval SDK (03/09/2017 build) and replaced the 3.15 POI jars with the ones you linked to, started the server and tried this example: http://localhost:8080/showcase/?id=FSexport - the export still works. This shouldn't be different than what you're doing. Is it possible you have explicit classpath settings that are missing these or the xmlbeans-2.6.0.jar file? Because the method signature your error message references is in the xmlbeans jar...

                Comment


                  #9
                  ok, I found the problem: when I added the xmlbeans-2.6.0.jar file, I didn't noticed a xbean.jar file which actually was xmlBeans library version 2.4.
                  Removing it fixes the problem, thank you very much.

                  Comment


                    #10
                    Excellent. xmlbeans itself has been "retired" by Apache (in 2012), so I suspect POI will eventually move to something else.

                    Comment

                    Working...
                    X