Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Assembler
Viewing all articles
Browse latest Browse all 10743

ALC-ASM-S00-002 NumberFormatException on attachment filename or source

$
0
0

DDX:

<DDX xmlns="http://ns.adobe.com/DDX/1.0/">  <PDF result="pdfWithAttachments" format="PDF">   <PDF source="pdfWithoutAttachments"/>   <FileAttachments source="pic_20140917135051.bmp">    <File filename="pic_20140917135051.bmp"/>    <Description>null</Description>   </FileAttachments>  </PDF></DDX>

 

Error:

INFO  [com.adobe.livecycle.assembler.AssemblerServiceImpl] ALC-ASM-N00-001: Execute: invoke() begin on thread WorkerThread#1[192.168.126.196:59718] 186
INFO  [com.adobe.internal.ddxm.Executive] DDXM_N00000: Started processing result named pdfWithAttachments
ERROR [com.adobe.internal.ddxm.Executive] DDXM_S00001: Failed to assemble result named pdfWithAttachments
ERROR [com.adobe.livecycle.assembler.AssemblerServiceImpl] ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.
com.adobe.livecycle.assembler.client.ProcessingException: ALC-ASM-S00-002: Failed to execute the DDX - error messages provided.
 at com.adobe.livecycle.assembler.AssemblerServiceImpl.makeResult(AssemblerServiceImpl.java:906)
 at com.adobe.livecycle.assembler.AssemblerServiceImpl.execute(AssemblerServiceImpl.java:510)
 at com.adobe.livecycle.assembler.AssemblerServiceImpl.invoke(AssemblerServiceImpl.java:454)
Caused by: java.lang.NumberFormatException: For input string: "20140917135051"
 at java.lang.NumberFormatException.forInputString(Unknown Source)
 at java.lang.Integer.parseInt(Unknown Source)
 at java.lang.Integer.parseInt(Unknown Source)
 at com.adobe.internal.pdfm.embeddedfiles.EmbeddedFilesHandler.updateBaseDocEmbeddedFilenames(EmbeddedFilesHandler.java:947)
 at com.adobe.internal.pdfm.embeddedfiles.EmbeddedFilesHandler.addEmbeddedFile(EmbeddedFilesHandler.java:691)
 at com.adobe.internal.pdfm.embeddedfiles.EmbeddedFilesHandler.importEmbeddedFiles(EmbeddedFilesHandler.java:285)
 at com.adobe.internal.pdfm.attachments.Attachments.importAttachments(Attachments.java:370)
 at com.adobe.internal.ddxm.task.attachments.ImportAttachments.execute(ImportAttachments.java:216)
 at com.adobe.internal.ddxm.ddx.Node.execute(Node.java:353)

 

 

The assembler is parsing the filename or source string (not sure which) and cast the timestamp part to a number ??

The assembler proces works fine with source and filename "pic_1.bmp"

 

Livecycle ES2.0


Viewing all articles
Browse latest Browse all 10743

Trending Articles