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.
Created attachment 14885 [details] Activity viewer sample of webkit
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.
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.
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.
* 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.)
Created attachment 14899 [details] Java crash log
Created attachment 14900 [details] Safari crash log
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)
Dup of 14037 maybe? (Which i just fixed.)
(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.
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.
(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.
A search of WebKit nightly builds (using the anneli.dk URL) shows the following: Fails: r22026 Works: r22014
<rdar://problem/5286583>
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)
(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!
$ 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)
Works for me with r23682.