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

[macosx] java/awt/Modal/LWModalTest/LWModalTest.java fails with NPE

XMLWordPrintable

    • x86
    • os_x

      FULL PRODUCT VERSION :
      $ java -version
      java version "1.8.0_112"
      Java(TM) SE Runtime Environment (build 1.8.0_112-b16)
      Java HotSpot(TM) 64-Bit Server VM (build 25.112-b16, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Darwin mac-20 15.6.0 Darwin Kernel Version 15.6.0: Fri Feb 17 10:21:18 PST 2017; root:xnu-3248.60.11.4.1~1/RELEASE_X86_64 x86_64

      A DESCRIPTION OF THE PROBLEM :
      The test java/awt/Modal/LWModalTest/LWModalTest.java fails with NPE Mac OSX/Java 8
      It was not observed on Linux, Windows.
      Please note there is a bug describing this issue which was closed as 'Cannot Reproduce' - https://bugs.openjdk.java.net/browse/JDK-7081081

      The issue is intermittent, reproducibility ~20%
      I could not reproduce this issue in standalone mode. It can be reproduced running the test package java/awt


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      #section:main
      ----------messages:(4/123)----------
      command: main LWModalTest
      reason: User specified action: run main LWModalTest
      Mode: othervm
      elapsed time (seconds): 4.459
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(25/1342)----------
      WARNING: GL pipe is running in software mode (Renderer ID=0x1020400)
      java.lang.NullPointerException
              at LWModalTest.init(LWModalTest.java:89)
              at LWModalTest.main(LWModalTest.java:129)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
              at java.lang.Thread.run(Thread.java:745)
      java.lang.RuntimeException
              at LWModalTest.fail(LWModalTest.java:180)
              at LWModalTest.init(LWModalTest.java:101)
              at LWModalTest.main(LWModalTest.java:129)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
              at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException


      REPRODUCIBILITY :
      This bug can be reproduced occasionally.

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: