4 Replies Latest reply on Jul 24, 2012 10:02 AM by David Weber

    XML Publisher - OPP log: Output file was found but is zero sized - Deleted

    Priyanka Pawar
      Hi,

      I have created one Main template and sub-template is called from it. I am working with Oracle Apps version 12.1.1. XML Source file gets created using rdf file attached to the concurrent program. Now after registering main template with the required concurrent program when i tried to execute it "View Output" button shows XML souce data instead of PDF report which i have called using main template. Log file was showing following error,
      Executing request completion options...

      Output file size:
      33140

      ------------- 1) PUBLISH -------------
      Beginning post-processing of request 3739501 on node ORAAPP13 at 09-AUG-2011 22:16:38.
      Post-processing of request 3739501 failed at 09-AUG-2011 22:16:51 with the error message:
      One or more post-processing actions failed. Consult the OPP service log for details.
      --------------------------------------

      ------------- 2) PRINT   -------------
      Not printing the output of this request because post-processing failed.
      --------------------------------------


      Finished executing request completion options.

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

      And the OPP service log has following error, Can anyone guide me to solve this error.

      Template code: AERO_INV_MAIN
      Template app: XXAV
      Language: en
      Territory: US
      Output type: PDF
      [8/9/11 10:16:51 PM] [339827:RT3739501] Output file was found but is zero sized - Deleted
      [8/9/11 10:16:51 PM] [UNEXPECTED] [339827:RT3739501] java.lang.reflect.InvocationTargetException
           at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:611)
           at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:239)
           at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
           at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
           at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
           at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
           at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
           at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
           at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
           at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
           at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
           at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:302)
           at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:176)
      Caused by: java.lang.StackOverflowError
           at java.text.DecimalFormat.subformat(DecimalFormat.java:877)
           at java.text.DecimalFormat.format(DecimalFormat.java:674)
           at java.text.DecimalFormat.format(DecimalFormat.java:608)
           at java.text.SimpleDateFormat.zeroPaddingNumber(SimpleDateFormat.java:1203)
           at java.text.SimpleDateFormat.subFormat(SimpleDateFormat.java:1142)
           at java.text.SimpleDateFormat.format(SimpleDateFormat.java:899)
           at java.text.SimpleDateFormat.format(SimpleDateFormat.java:869)
           at java.text.DateFormat.format(DateFormat.java:316)
           at oracle.apps.fnd.security.CallStack.getInstance(CallStack.java:97)
           at oracle.apps.fnd.security.DBConnObj.setBorrowingThread(DBConnObj.java:990)
           at oracle.apps.fnd.security.DBConnObj.setBorrowingThread(DBConnObj.java:973)
           at oracle.apps.fnd.common.Pool.costBasedSelection(Pool.java:1885)
           at oracle.apps.fnd.common.Pool.selectObject(Pool.java:1686)
           at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:950)
           at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:584)
           at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:330)
           at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1719)
           at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2314)
           at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2251)
           at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2108)
           at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1918)
           at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1762)
           at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1775)
           at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1453)
           at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:170)
           at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1500)
           at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:362)
           at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211)
           at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171)
           at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
           at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1294)
           at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1149)
           at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1118)
           at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1085)
           at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1072)
           at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)
           at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:602)
           at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:579)
           at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:533)
           at oracle.apps.fnd.common.AppsContext.<init>(AppsContext.java:301)
           at oracle.apps.xdo.oa.schema.server.OAURLConnection.getAppsContext(OAURLConnection.java:121)
           at oracle.apps.xdo.oa.schema.server.TemplateURLConnection.getInputStream(TemplateURLConnection.java:89)
           at java.net.URL.openStream(URL.java:1009)
           at oracle.xdo.parser.v2.XMLReader.openURL(XMLReader.java:2353)
           at oracle.xdo.parser.v2.XMLReader.pushXMLReader(XMLReader.java:270)
           at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:256)
           at oracle.xdo.parser.v2.XSLBuilder.processIncludeHref(XSLBuilder.java:1045)
           at oracle.xdo.parser.v2.XSLBuilder.processImportHref(XSLBuilder.java:984)
           at oracle.xdo.parser.v2.XSLBuilder.processImport(XSLBuilder.java:949)
           at oracle.xdo.parser.v2.XSLBuilder.startElement(XSLBuilder.java:373)
           at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1252)
           at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:338)
           at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:285)

      Regards,
      Priyanka