0 Replies Latest reply on May 12, 2010 3:01 AM by Jahnini

    OutputException

    Jahnini

      I have this error:

      com.adobe.livecycle.output.exception.OutputException: ALC-DSC-000-000: com.adobe.idp.dsc.DSCException: Internal error.

       

      when I try to create a pdf with

      generatePDFOutput

       

      And I cannt find the way to log the probleme in the OuputService ...

      ( in a jboss turnkey )

       

      My code looks like this:

       

      protected function button1_clickHandler(event:MouseEvent):void
                  {
                      var outputService:Outputservice = new Outputservice();
                      var outputOption:OutputOptionsSpec = new OutputOptionsSpec();
                      var renderOption:RenderOptionsSpec = new RenderOptionsSpec();
                      var PDFOutputOption:PDFOutputOptionsSpec = new PDFOutputOptionsSpec();
                      var outputClient:OutputResult = new OutputResult();
                      var blob:BLOB = new BLOB();
                      blob.contentType = 'application/pdf'
                     
                      outputService.addEventListener(ResultEvent.RESULT,onResult);
                      outputService.addEventListener(FaultEvent.FAULT,onFault);
                     
                      var byteArray:ByteArray = new ByteArray()
                      byteArray.writeObject(xml)
                      byteArray.position = 0;
                      blob.binaryData = byteArray
                     
                      renderOption.renderAtClient = 'true';
                     
                      var res:AsyncToken = outputService.generatePDFOutput('PDF','myPDF.pdf','myPath',PDFOutputOption,renderOption,b lob);
                     
                  }
                 
                  protected function onResult(event:ResultEvent):void{
                     
                  }
                 
                  protected function onFault(event:FaultEvent):void{
                     
                  }

       

      if someone as an answer ?