Page 1 of 1

Error checking image format

PostPosted: Tue Jun 09, 2015 7:17 pm
by usharanicnp
i got exception given below, when i run jar file....

org.docx4j.openpackaging.exceptions.Docx4JException: Error checking image format

at org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractIma
ge.ensureFormatIsSupported(BinaryPartAbstractImage.java:598)
at org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractIma
ge.ensureFormatIsSupported(BinaryPartAbstractImage.java:500)
at org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractIma
ge.createImagePart(BinaryPartAbstractImage.java:264)
at org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractIma
ge.createImagePart(BinaryPartAbstractImage.java:172)
at cnp.TestForLineBr.retrieveParticularCell(TestForLineBr.java:148)
at cnp.TestForLineBr.main(TestForLineBr.java:191)
Caused by: java.io.FileNotFoundException: Image not found: file://C:/Users/USHAR
A~1.COD/AppData/Local/Temp/img1187846489083172396.img
at org.apache.xmlgraphics.image.loader.impl.AbstractImageSessionContext.
needSource(AbstractImageSessionContext.java:282)
at org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(Im
ageCache.java:123)
at org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageMa
nager.java:122)
at org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractIma
ge.getImageInfo(BinaryPartAbstractImage.java:865)
at org.docx4j.openpackaging.parts.WordprocessingML.BinaryPartAbstractIma
ge.ensureFormatIsSupported(BinaryPartAbstractImage.java:590)

how to resolve the issue..... :cry:
i have less time pls help me some one
thanks in advance....

Re: Error checking image format

PostPosted: Tue Jun 09, 2015 10:59 pm
by jason
Please don't make duplicate posts, particularly when your earlier post is already answered!

Caused by: java.io.FileNotFoundException: Image not found: file://C:/Users/USHAR
A~1.COD/AppData/Local/Temp/img1187846489083172396.img


Locking; will delete this thread later.