Bug 14018

Summary: REGRESSION (r22014-22026): Applet fails to start in ToT WebKit
Product: WebKit Reporter: jørgen nørgaard <jnp>
Component: JavaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Major CC: ap, ddkilzer, mrowe
Priority: P1 Keywords: InRadar, NeedsReduction, Regression
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: http://anneli.dk/jnp/test/Java-JavaScript/JavaScript/applet/info.html
Attachments:
Description Flags
Activity viewer sample of webkit
none
Java crash log
none
Safari crash log none

jørgen nørgaard
Reported 2007-06-06 12:19:25 PDT
Today webkit stalled whwn starting a signed applet. Go to the URL, accept as ' Trusted'. A login form should appear, but does not. When forced quit (or there about), the following appears in the console: java.lang.NullPointerException at sun.plugin.viewer.WebKitPluginObject.getParameter(WebKitPluginObject.java:770) at sun.plugin.viewer.WebKitPluginObject.setWindow(WebKitPluginObject.java:427) 2007-06-06 21:09:55.172 WebKit[4357] WebKit failed to shut down cleanly. Checking for Safari extensions. This has worked before, probably a month ago or so is the last time I tried.
Attachments
Activity viewer sample of webkit (18.36 KB, text/plain)
2007-06-06 12:32 PDT, jørgen nørgaard
no flags
Java crash log (17.58 KB, text/plain)
2007-06-07 11:14 PDT, jørgen nørgaard
no flags
Safari crash log (28.81 KB, text/plain)
2007-06-07 11:15 PDT, jørgen nørgaard
no flags
jørgen nørgaard
Comment 1 2007-06-06 12:32:50 PDT
Created attachment 14885 [details] Activity viewer sample of webkit
David Kilzer (:ddkilzer)
Comment 2 2007-06-06 22:19:08 PDT
Hi Jørgen, thanks for filing this bug! Can you confirm that this works with shipping Safari 2.0.4? What are the steps to reproduce the bug? I don't see an applet when opening the URL on this bug.
jørgen nørgaard
Comment 3 2007-06-07 00:54:18 PDT
Ah, sorry about that. You will have to fill in "Brugernummer", for example 12345678912 (not a real account) and select "Jeg har anvendt Netbank før" before pressing "Næste". This should bring you to a page that ask you to trust the applet being loaded. This does work in the latest Safari. And has been working in webkit as well.
David Kilzer (:ddkilzer)
Comment 4 2007-06-07 06:00:06 PDT
The first time I tried the steps in Comment #3 I didn't get a "Trust this applet?" dialog, so I hit the browser Back button, turned off pop-up blocking (not sure if that's required yet or not), then hit the "Næste" button again. After that I got the "Trust this applet?" dialog, hit "Trust", then got the following output on the console: [4015] https://web47.prod.bec.dk/signon/servlet/Signon?ViewName=logonWebOldKey line 67: TypeError: Value undefined (result of expression signon.getAppletInfo) is not object. Still investigating.
David Kilzer (:ddkilzer)
Comment 5 2007-06-07 10:27:22 PDT
* STEPS TO REPRODUCE 1. Launch Safari/WebKit. 2. Go to URL: https://www.skandiabanken.dk/netbank/default.asp 3. Fill in an account number ("Brugernummer") of "12345678912". 4. Click radio button for "Jeg har anvendt Netbank før". 5. Click "Næste" button. 6. Wait for all frames to load, then click Browser Back button. 7. Click "Næste" button again. 8. After Java applet starts, a "Trust this certificate?" dialog will appear. 9. Click "Trust" in the dialog. * EXPECTED RESULTS The Java applet should start up with a text field, two buttons ("Gennemse" and "OK") and some other text. * ACTUAL RESULTS Nothing happens (Java applet doesn't start) and the JavaScript error message in Comment #4 appears on the console. * REGRESSION This is a regression from shipping Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135). Tested with a local debug build of WebKit r22026 with the above software. Note that the applet works on a (randomly-chosen) WebKit Nightly r21834, so I believe a binary search of the nightlies for the regression is in order. (I don't have time to do it now, so anyone else may feel free to do so.)
jørgen nørgaard
Comment 6 2007-06-07 11:14:21 PDT
Created attachment 14899 [details] Java crash log
jørgen nørgaard
Comment 7 2007-06-07 11:15:52 PDT
Created attachment 14900 [details] Safari crash log
jørgen nørgaard
Comment 8 2007-06-10 01:40:58 PDT
Changed URL, it seems that a much simpler applet is sufficient to crash webkit right now. The applet displays some system information and fonts list. (original URL https://www.skandiabanken.dk/netbank/default.asp)
Dave Hyatt
Comment 9 2007-06-10 01:48:15 PDT
Dup of 14037 maybe? (Which i just fixed.)
David Kilzer (:ddkilzer)
Comment 10 2007-06-10 04:18:32 PDT
(In reply to comment #9) > Dup of 14037 maybe? (Which i just fixed.) No, this is not bug Bug 14037. I updated and recompiled, but this bug still occurs.
David Kilzer (:ddkilzer)
Comment 11 2007-06-10 04:21:31 PDT
This URL is not found when I tried it: http://anneli.dk/jnp/test/Java-JavaScript/JavaScript/applet/info.htm Switching back to original. See Comment #5 for details on reproducing.
David Kilzer (:ddkilzer)
Comment 12 2007-06-10 04:22:37 PDT
(In reply to comment #11) > This URL is not found when I tried it: > > http://anneli.dk/jnp/test/Java-JavaScript/JavaScript/applet/info.htm > > Switching back to original. See Comment #5 for details on reproducing. *sigh* Was missing "l" at the end of "html". Switched back.
David Kilzer (:ddkilzer)
Comment 13 2007-06-10 04:41:51 PDT
A search of WebKit nightly builds (using the anneli.dk URL) shows the following: Fails: r22026 Works: r22014
David Kilzer (:ddkilzer)
Comment 14 2007-06-21 17:50:33 PDT
Alexey Proskuryakov
Comment 15 2007-06-22 06:33:42 PDT
FWIW, the steps from comment 5 lead to expected results for me with r23682 nightly. <http://anneli.dk/jnp/test/Java-JavaScript/JavaScript/applet/info.html> also loads just fine. Could be because I do not have the latest Java: $ java -version java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112) Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
David Kilzer (:ddkilzer)
Comment 16 2007-06-22 09:57:42 PDT
(In reply to comment #15) > FWIW, the steps from comment 5 lead to expected results for me with r23682 > nightly. Yes, this works for me with a local debug build of WebKit r23728 with Safari 3.0 (522.11) on Mac OS X 10.4.10 (8R218). Closing as RESOLVED/FIXED. Jørgen, if this isn't fixed for you in a recently WebKit nightly, please re-open this bug. Thanks!
David Kilzer (:ddkilzer)
Comment 17 2007-06-22 10:00:07 PDT
$ java -version java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164) Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode)
jørgen nørgaard
Comment 18 2007-06-24 14:25:31 PDT
Works for me with r23682.
Note You need to log in before you can comment on or make changes to this bug.