Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8331527

NullPointerException in ICC_Profile.intFromBigEndian

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 23
    • client-libs
    • 2d
    • aarch64
    • linux

      Test: sun/java2d/cmm/ColorConvertOp/MTColConvTest.java

      ----------System.err:(65/4768)----------
      java.lang.NullPointerException: Cannot load from byte/boolean array because "array" is null
      at java.desktop/java.awt.color.ICC_Profile.intFromBigEndian(ICC_Profile.java:1280)
      at java.desktop/java.awt.color.ICC_Profile.getNumComponents(ICC_Profile.java:1137)
      at java.desktop/sun.java2d.cmm.lcms.LCMSTransform.<init>(LCMSTransform.java:85)
      at java.desktop/sun.java2d.cmm.lcms.LCMS.createTransform(LCMS.java:132)
      at java.desktop/java.awt.image.ColorConvertOp.updateBITransform(ColorConvertOp.java:406)
      at java.desktop/java.awt.image.ColorConvertOp.ICCBIFilter(ColorConvertOp.java:346)
      at java.desktop/java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:277)
      at ColConvCCMTest.testImage(ColConvCCMTest.java:80)
      at ColConvCCMTest.runTest(ColConvCCMTest.java:137)
      at ColConvTest.run(ColConvTest.java:117)
      at java.base/java.lang.Thread.run(Thread.java:1575)
      java.lang.RuntimeException: java.lang.NullPointerException: Cannot load from byte/boolean array because "array" is null
      at ColConvTest.run(ColConvTest.java:122)
      at java.base/java.lang.Thread.run(Thread.java:1575)
      Caused by: java.lang.NullPointerException: Cannot load from byte/boolean array because "array" is null
      at java.desktop/java.awt.color.ICC_Profile.intFromBigEndian(ICC_Profile.java:1280)
      at java.desktop/java.awt.color.ICC_Profile.getNumComponents(ICC_Profile.java:1137)
      at java.desktop/sun.java2d.cmm.lcms.LCMSTransform.<init>(LCMSTransform.java:85)
      at java.desktop/sun.java2d.cmm.lcms.LCMS.createTransform(LCMS.java:132)
      at java.desktop/java.awt.image.ColorConvertOp.updateBITransform(ColorConvertOp.java:406)
      at java.desktop/java.awt.image.ColorConvertOp.ICCBIFilter(ColorConvertOp.java:346)
      at java.desktop/java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:277)
      at ColConvCCMTest.testImage(ColConvCCMTest.java:80)
      at ColConvCCMTest.runTest(ColConvCCMTest.java:137)
      at ColConvTest.run(ColConvTest.java:117)
      ... 1 more
      java.lang.NullPointerException: Cannot load from byte/boolean array because "array" is null
      at java.desktop/java.awt.color.ICC_Profile.intFromBigEndian(ICC_Profile.java:1280)
      at java.desktop/java.awt.color.ICC_Profile.getProfileClass(ICC_Profile.java:980)
      at java.desktop/java.awt.image.ColorConvertOp.updateBITransform(ColorConvertOp.java:393)
      at java.desktop/java.awt.image.ColorConvertOp.ICCBIFilter(ColorConvertOp.java:346)
      at java.desktop/java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:277)
      at ColConvCCMTest.testImage(ColConvCCMTest.java:80)
      at ColConvCCMTest.runTest(ColConvCCMTest.java:137)
      at ColConvTest.run(ColConvTest.java:117)
      at java.base/java.lang.Thread.run(Thread.java:1575)
      java.lang.RuntimeException: java.lang.NullPointerException: Cannot load from byte/boolean array because "array" is null
      at ColConvTest.run(ColConvTest.java:122)
      at java.base/java.lang.Thread.run(Thread.java:1575)
      Caused by: java.lang.NullPointerException: Cannot load from byte/boolean array because "array" is null
      at java.desktop/java.awt.color.ICC_Profile.intFromBigEndian(ICC_Profile.java:1280)
      at java.desktop/java.awt.color.ICC_Profile.getProfileClass(ICC_Profile.java:980)
      at java.desktop/java.awt.image.ColorConvertOp.updateBITransform(ColorConvertOp.java:393)
      at java.desktop/java.awt.image.ColorConvertOp.ICCBIFilter(ColorConvertOp.java:346)
      at java.desktop/java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:277)
      at ColConvCCMTest.testImage(ColConvCCMTest.java:80)
      at ColConvCCMTest.runTest(ColConvCCMTest.java:137)
      at ColConvTest.run(ColConvTest.java:117)
      ... 1 more
      STATUS:Failed.java.lang.NullPointerException: Cannot load from byte/boolean array because "array" is null
      at java.desktop/java.awt.color.ICC_Profile.intFromBigEndian(ICC_Profile.java:1280)
      at java.desktop/java.awt.color.ICC_Profile.getProfileClass(ICC_Profile.java:980)
      at java.desktop/java.awt.image.ColorConvertOp.updateBITransform(ColorConvertOp.java:393)
      at java.desktop/java.awt.image.ColorConvertOp.ICCBIFilter(ColorConvertOp.java:346)
      at java.desktop/java.awt.image.ColorConvertOp.filter(ColorConvertOp.java:277)
      at ColConvCCMTest.testImage(ColConvCCMTest.java:80)
      at ColConvCCMTest.runTest(ColConvCCMTest.java:137)
      at ColConvTest.run(ColConvTest.java:117)
      at java.base/java.lang.Thread.run(Thread.java:1575)

            prr Philip Race
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: