Error checking image format
Posted: Tue Jun 09, 2015 7:17 pm
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.....
i have less time pls help me some one
thanks in advance....
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.....
i have less time pls help me some one
thanks in advance....