javax/imageio/ReadAbortTest.java throw NPE when x11 unavailable

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 11, 27
    • Component/s: client-libs
    • None
    • In Review
    • generic
    • linux

      Test javax/imageio/ReadAbortTest.java and javax/imageio/WriteAbortTest.java throw java.lang.NullPointerException when x11 display unavailable.

      The test log snippet show below:
      STDOUT:
      Test for format bmp
      STDERR:
      Maximum number of clients reachedjava.lang.NullPointerException: Cannot invoke "java.io.File.toPath()" because "this.file" is null
      at ReadAbortTest.<init>(ReadAbortTest.java:106)
      at ReadAbortTest.main(ReadAbortTest.java:149)

            Assignee:
            Sendao Yan
            Reporter:
            Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: