Note that there are some explanatory texts on larger screens.

plurals
  1. POdroidText unstaisfiedLink error while creating Image instance
    text
    copied!<p>I keep on getting unstaisfied link error while creating a pdf using droidText lib.Its on random basis and doesnt happen everytime</p> <p>The line which throws it is:</p> <pre><code>Image image = Image.getInstance(url); </code></pre> <p>stacktrace</p> <pre><code>02-19 12:09:02.534: E/AndroidRuntime(14477): FATAL EXCEPTION: Thread-10 02-19 12:09:02.534: E/AndroidRuntime(14477): java.lang.UnsatisfiedLinkError: cmmOpenProfile 02-19 12:09:02.534: E/AndroidRuntime(14477): at org.apache.harmony.awt.gl.color.NativeCMM.cmmOpenProfile(Native Method) 02-19 12:09:02.534: E/AndroidRuntime(14477): at harmony.java.awt.color.ICC_Profile.&lt;init&gt;(ICC_Profile.java:324) 02-19 12:09:02.534: E/AndroidRuntime(14477): at harmony.java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:645) 02-19 12:09:02.534: E/AndroidRuntime(14477): at com.lowagie.text.pdf.codec.PngImage.readPng(PngImage.java:425) 02-19 12:09:02.534: E/AndroidRuntime(14477): at com.lowagie.text.pdf.codec.PngImage.getImage(PngImage.java:515) 02-19 12:09:02.534: E/AndroidRuntime(14477): at com.lowagie.text.pdf.codec.PngImage.getImage(PngImage.java:230) 02-19 12:09:02.534: E/AndroidRuntime(14477): at com.lowagie.text.pdf.codec.PngImage.getImage(PngImage.java:212) 02-19 12:09:02.534: E/AndroidRuntime(14477): at com.lowagie.text.Image.getInstance(Image.java:275) 02-19 12:09:02.534: E/AndroidRuntime(14477): at com.test.view.pdf.PdfCreation.getLogo(PdfCreation.java:1094) </code></pre> <p>Any pointers on what am i doing wrong or how i can resolve this.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload