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

Test java/awt/im/memoryleak/InputContextMemoryLeakTest.java failed with NullPointerException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 24
    • client-libs

      ----------System.err:(12/1028)----------
      java.lang.NullPointerException: Cannot invoke "javax.swing.JTextField.getCaret()" because the return value of "java.lang.ref.WeakReference.get()" is null
      at InputContextMemoryLeakTest.init(InputContextMemoryLeakTest.java:88)
      at InputContextMemoryLeakTest.main(InputContextMemoryLeakTest.java:115)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:588)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

            azvegint Alexander Zvegintsev
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: