incubator-sanselan-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Matthew Chen (JIRA)" <>
Subject [jira] Closed: (SANSELAN-23) NullPointerException(
Date Wed, 01 Jul 2009 01:48:47 GMT


Charles Matthew Chen closed SANSELAN-23.

    Resolution: Fixed

 * Fixed a possible NPE in Sanselan.getICCProfile pointed out by Jon Weygandt.

Thank you Jon.

> NullPointerException(
> ---------------------------------------
>                 Key: SANSELAN-23
>                 URL:
>             Project: Sanselan
>          Issue Type: Bug
>            Reporter: Jon Weygandt
> Static code analysis reveals that IccProfileParser.getICCProfileInfo can return a null
> Sanselan.getICCProfile(line 323) uses info, which can be null, without checking for the
> There is a test case in Shindig, JPEGOptimizerTest.testBadICC4, where the ICC count is
too large. On some JVMs (like Sun) you get an OutOfMemory error, on other like IBM null is
returned from getICCProfileInfo, resulting in a NPE.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message