Free Support Forum - aspose.com

Error when I try to insert images into docx files

called this function : DocumentBuilder.insertImage(bufferedImage), when I debugger it , I found this function do not work.image.png (4.3 KB)
the called stack as below:image.png (7.6 KB)
it dont throws any exception. My project worked when i use jdk 1.6, when i update jdk to 1.8 ,it occurs.
Anyone helps? thanks.

@czqkerlin,

Thanks for your inquiry. Have you also tried the latest version of Aspose.Words for Java i.e. 20.1 on your end? In case the problem still remains, please ZIP and upload your input Word document, the Image file you are getting this problem with and piece of Java source code to be able to reproduce the same problem on our end. We will then investigate the scenario on our end and provide you more information.