My Oracle Support Banner

"org.apache.poi.POIXMLException:+org.apache.poi.openxml4j.exceptions.InvalidFormatException" Error When Creating WebADI Documents (Doc ID 2495167.1)

Last updated on APRIL 22, 2019

Applies to:

Oracle Web Applications Desktop Integrator - Version 12.2.7 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.7 version, SUPPORT

When attempting to create WEB ADI documents usiing "General Ledger - Journals" or "Fixed Assets - Additions" or "IEX bankruptcy Approval" or "IEX bankruptcy Creation", it returns errorn
The same issue does not occur when setting profile "BNE: Enable OOXML Standard" to NO.

ERROR
-----------------------
An unexpected error occurred while creating this document. Please contact your system administrator for further assistance.



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. create WEB ADI documents usiing "General Ledger - Journals"


BNE log
-----------------------
2018-11-14 15:35:02:683 [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' ERROR          BneExcelViewer:createDocument+error+while+reading+template+org.apache.poi.POIXMLException:+org.apache.poi.openxml4j.exceptions.InvalidFormatException:+Package+should+contain+a+content+type+part+[M1.13] at+org.apache.poi.util.PackageHelper.open(PackageHelper.java:41) at+org.apache.poi.xssf.usermodel.XSSFWorkbook.(XSSFWorkbook.java:218) at+oracle.apps.bne.integrator.document.ooxml.BneWorkbook.(BneWorkbook.java:56) at+oracle.apps.bne.integrator.document.ooxml.BneWorkbookHelper.createWorkbookUsingTemplate(BneWorkbookHelper.java:70) at+oracle.apps.bne.integrator.document.ooxml.viewers.BneExcelViewer.createDocument(BneExcelViewer.java:373) at+oracle.apps.bne.integrator.document.ooxml.BneCreateDocumentService.handleRequest(BneCreateDocumentService.java:305) at+oracle.apps.bne.integrator.document.BneAbstractDocumentService.doRequest(BneAbstractDocumentService.java:169) at+oracle.apps.bne.framework.BneBaseServlet.doGet(BneBaseServlet.java:82) at+javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at+javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at+weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at+weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at+weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at+weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at+weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at+oracle.apps.fnd.security.WLFilter.doFilter(WLFilter.java:161) at+weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at+oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.doFilter(JTFWrapperFilter.java:149) at+weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at+oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(Unknown+Source) at+weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at+oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:501) at+weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at+oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:138) at+java.security.AccessController.doPrivileged(AccessController.java:456) at+oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324) at+oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:464) at+oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:121) at+oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:211) at+oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at+weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at+oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163) at+weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at+weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3748) at+weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714) at+weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at+weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at+weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283) at+weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182) at+weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1499) at+weblogic.work.ExecuteThread.execute(ExecuteThread.java:263) at+weblogic.work.ExecuteThread.run(ExecuteThread.java:221) Caused+by:+org.apache.poi.openxml4j.exceptions.InvalidFormatException:+Package+should+contain+a+content+type+part+[M1.13] at+org.apache.poi.openxml4j.opc.ZipPackage.getPartsImpl(ZipPackage.java:199) at+org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:665) at+org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:274) at+org.apache.poi.util.PackageHelper.open(PackageHelper.java:39) ...+41+more
2018-11-14 15:35:02:694 [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' CRITICAL ERROR BneCreateDocumentService.handleRequest()+Cannot+obtain+document+data+for+documentId:+JDGWQMKBLVJ15Z7BFW8TQ1AK443XHCL2YVJQ0KVK,+Exception:+An+unexpected+error+occurred+while+creating+this+document.
2018-11-14 15:35:02:696 [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' CRITICAL ERROR BneCreateDocumentService.handleRequest()+Stack+Traceoracle.apps.bne.exception.BneFatalException:+An+unexpected+error+occurred+while+creating+this+document. at+oracle.apps.bne.integrator.document.ooxml.viewers.BneExcelViewer.createDocument(BneExcelViewer.java:380) at+oracle.apps.bne.integrator.document.ooxml.BneCreateDocumentService.handleRequest(BneCreateDocumentService.java:305) at+oracle.apps.bne.integrator.document.BneAbstractDocumentService.doRequest(BneAbstractDocumentService.java:169) at+oracle.apps.bne.framework.BneBaseServlet.doGet(BneBaseServlet.java:82) at+javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at+javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at+weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at+weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at+weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at+weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at+weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at+oracle.apps.fnd.security.WLFilter.doFilter(WLFilter.java:161) at+weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at+oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.doFilter(JTFWrapperFilter.java:149) at+weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at+oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(Unknown+Source) at+weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at+oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:501) at+weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at+oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:138) at+java.security.AccessController.doPrivileged(AccessController.java:456) at+oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324) at+oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:464) at+oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:121) at+oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:211) at+oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at+weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at+oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163) at+weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60) at+weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3748) at+weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714) at+weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at+weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at+weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283) at+weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182) at+weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1499) at+weblogic.work.ExecuteThread.execute(ExecuteThread.java:263) at+weblogic.work.ExecuteThread.run(ExecuteThread.java:221)


Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.