2 Replies Latest reply on May 29, 2017 8:36 AM by dbagirishpatil

    OPP Issue (oracle.apps.fnd.cp.opp.PostProcessorException: oracle.apps.fnd.cp.opp.PostProcessorException: oracle.apps.xdo.XDOException)

    dbagirishpatil

      Hi All ,

       

      In our production environment we are facing issue with one of report .

      Report completed with warning , Below error reported in log file .

      -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

      Executing request completion options...

       

       

      Output file size:

      559943284

       

       

      +--------- 1) POST-PROCESSING  ---------+

      Beginning post-processing of request 37424469 on node MEYERPLVAPP01 at 22-MAY-2017 20:03:26.

      -- Publishing output

       

       

       

      Post-processing of request 37424469 failed at 22-MAY-2017 20:04:03 with the error message:

      One or more post-processing actions failed. Consult the OPP service log for details.

       

      CONC-POST-PROCESSING RESULTS

       

       

      -- PUBLISH:

      oracle.apps.fnd.cp.opp.PostProcessorException: oracle.apps.fnd.cp.opp.PostProcessorException: oracle.apps.xdo.XDOException

      +---------------------------------------+

       

       

       

       

      Finished executing request completion options.

       

       

      +---------------------------------------------------------------------------+

      Concurrent request completed

      Current system time is 22-MAY-2017 20:04:03

       

       

      +-------------------------------------------

       

      -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

       

      Below is the entry in OPP log file.

       

       

      [5/23/17 11:43:06 AM] [OPPServiceThread1] Post-processing request 37440776.

      [5/23/17 11:43:06 AM] [1306194:RT37440776] Executing post-processing actions for request 37440776.

      [5/23/17 11:43:06 AM] [1306194:RT37440776] Starting XML Publisher post-processing action.

      [5/23/17 11:43:06 AM] [1306194:RT37440776]

      Template code: XXEITCGLCAPEXOPEX

      Template app:  XXEITC

      Language:      en

      Territory:     00

      Output type:   EXCEL

      Exception in thread "Cache Heap Tracker" Exception in thread "OPPServiceThread0" Exception in thread "CacheCleaner" java.lang.OutOfMemoryError: Java heap space

        at java.lang.StringCoding.encode(StringCoding.java:338)

        at java.lang.StringCoding.encode(StringCoding.java:387)

        at java.lang.String.getBytes(String.java:956)

        at java.lang.ProcessEnvironment$Variable.valueOfQueryOnly(ProcessEnvironment.java:165)

        at java.lang.ProcessEnvironment$Variable.valueOfQueryOnly(ProcessEnvironment.java:161)

        at java.lang.ProcessEnvironment$StringEnvironment.get(ProcessEnvironment.java:238)

        at java.lang.ProcessEnvironment$StringEnvironment.get(ProcessEnvironment.java:220)

        at java.util.Collections$UnmodifiableMap.get(Collections.java:1339)

        at java.lang.ProcessEnvironment.getenv(ProcessEnvironment.java:85)

        at java.lang.System.getenv(System.java:887)

        at oracle.ias.cache.AccessCheck.getenv(AccessCheck.java:102)

        at oracle.ias.cache.CacheCleaner.tryInitJOCBeans(CacheCleaner.java:229)

        at oracle.ias.cache.CacheCleaner.run(CacheCleaner.java:200)

      java.lang.OutOfMemoryError: Java heap space

      java.lang.OutOfMemoryError: Java heap space

      [5/23/17 11:46:20 AM] [Thread-34] Service thread starting up.

      [5/23/17 11:46:20 AM] [1306194:RT37440776] Output file was found but is zero sized - Deleted

      [5/23/17 11:46:20 AM] [UNEXPECTED] [1306194:RT37440776] java.lang.reflect.InvocationTargetException

      Caused by: java.lang.OutOfMemoryError: Java heap space

        at oracle.xdo.parser.v2.XMLText.addText(XMLText.java:357)

        at oracle.xdo.parser.v2.XMLDocument.createTextNode(XMLDocument.java:736)

        at oracle.xdo.parser.v2.DocumentBuilder.characters(DocumentBuilder.java:553)

        at oracle.xdo.parser.v2.NonValidatingParser.reportCharacters(NonValidatingParser.java:1680)

        at oracle.xdo.parser.v2.NonValidatingParser.parseText(NonValidatingParser.java:1391)

        at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1268)

        at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:338)

        at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:285)

        at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:289)

        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 oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(Unknown Source)

        at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)

        at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)

        at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)

        at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)

        at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)

        at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)

        at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5984)

        at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3475)

        at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3564)

        at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:311)

        at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:185)

       

       

      [5/23/17 11:46:20 AM] [1306194:RT37440776] Completed post-processing actions for request 37440776.

       

       

      ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

       

      We are having 3 OPP processes with 1 GB of Java Heap size .

       

      As per DEV team they have tested this report on DEV (2 GB of Java heap size) and UAT (1 GB of Java Heap size).

       

      Please advise How to deal with this issue .