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

Plugin2: bank's login applet throws NPE and fails to initialized

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 6u10
    • Fix Version/s: None
    • Component/s: deploy
    • Labels:
      None
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows

      Description

      This CR is opened on behalf of the report on:
      http://forums.java.net/jive/thread.jspa?threadID=40414&tstart=0

      I am able to reproduce the problem with maybank's login applet: https://sslsecure.maybank.com.sg/cgi-bin/mbs/scripts/mbb_login.jsp
      using latest 6u10 nightly build (dated 5/7/08) and FF3 or IE7.

      Note that: maybank's login page loads fine with OJI Plugin on FF3 and IE7.

      This bank's login page loads 2 applets: tmdisplay.class and encn2n.class.
      With Plugin2, tmdisplay applet loaded fine.
      But encn2n.class results in the following NPE during Applet.init():

      java.lang.NullPointerExclogieption
      at encn2n.a(Unknown Source)
      at encn2n.init(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1353)
      at java.lang.Thread.run(Thread.java:619)

      JODE-ing the applet's source shows that during init(), encn2n applet tries to verify the user's login info against RSA keys. If initialization is successful, Applet.start() will set a status string to "OK". A stream of LiveConnect JS - J is continuously retrieving this status string from the applet and only proceed if the string received is "OK".

      Since applet initialization fails, so does everything else.

      Per the forum, maybank's login fails with 6u10 b14 and b23, but seems to work fine with b22.

      Also per the forum's report, citibank's login applet also fails to work with b23:
      https://www.citibank.com.sg/SGGCB/JSO/signon/DisplayCinSignon.do

      However, citibank works fine for me with latest 6u10.
      I'll continue with the investigation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hdongorcl Hao Dong (Inactive)
                Reporter:
                dphamsunw Danielle Pham (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: