Endless loop in com.aspose.psd.Image.load

This document causes an endless loop when loaded:
test2.7z (3.1 MB)

  public static void main(String[] args) throws IOException {
    String fname = test2.ai";
    File file = new File(fname);
    try (InputStream istream = new FileInputStream(file)) {
      AiImage image = (AiImage)com.aspose.psd.Image.load(istream);
      System.out.println("image=" + image);

Since a static variable of ImageLoadersRegistry is kept locked in the loop, all other threads that call the load function are blocked.


We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PSDJAVA-535

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.