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

NullPointerException thrown in applet startup in JPI because of wrong JNIEnv

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.4.0
    • 1.4.0
    • deploy
    • None
    • rc1
    • x86
    • windows_nt
    • Verified

      When running Merlin b80 with Java Plug-in, starting up an applet usually causes NullPointerException in sun/applet/AppletPanel.java. The NullPointerException is thrown in Thread.isInterrupted().

      java.lang.NullPointerException
      at sun.applet.AppletPanel.run(AppletPanel.java:298)
      at java.lang.Thread.run(Thread.java:539)

      Attaching a debugger with Internet Explorer and starts Java Plug-in, an Access violation is caught inside jvm.dll:

      03f3ec85()
      03f3306d()
      03f30177()
      JVM! 6d35c96f()
      JVM! 6d39092d()
      JVM! 6d35c883()
      JVM! 6d35c600()
      JVM! 6d37199b()
      JVM! 6d3af0fc()
      JVM! 6d3af0cc()
      MSVCRT! 7800265a()
      KERNEL32! 77f04ede()

      Apparently, the call in MSVCRT is end_threadex(), which causes jvm.dll to throw NullPointerException in other Java codes eventually.

      This problem can be reproduced very easy on Win32 with IE5.5 and Merlin b80.

            stanleyh Stanley Ho (Inactive)
            stanleyh Stanley Ho (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: