Closed Bug 88501 Opened 25 years ago Closed 25 years ago

Java applet will not start.

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: maa.150, Assigned: edburns)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010628 BuildID: 2001062823 This homebanking uses java. Entering the page, a box turns up with the message : The certificate is expired, do you want to ignore this and continue ? Click yes and there is just a gray area in Mozilla, and at the bottom of the browser it says : start : applet not initialized. It works much better in Netscape 4.77 Reproducible: Always Steps to Reproduce: 1.Start Mozilla, install java. 2.Type in www.skandiabanken.dk 3.Klick on Demo Actual Results: Gray area in the screen where the java applet should have been. Expected Results: Demo of the netbank with working java applet.
I'm getting a couple of "java.lang.NullPointerException" when going to http://www.skandiabanken.dk/demo/ClientDS.html build 20010629 on win2k
- occurs on Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.2) Gecko/20010628 Once the status bar displayed "applet not inited" (could not reproduce). Each time the page is reloaded, the area in which the Java applet should appear changes its color (from gray to white or the other way round).
The problem still exists after upgrading to the latest JRE from Sun. But I have noticed that the JRE appletviewer does not run the applet correctly either.
moving to oji
Assignee: idk → edburns
Component: Java-Implemented Plugins → OJI
I load this page and the applet just takes forever to load. I can't even get to the point where I click on demo. I do see that it downloads the jar file: debug: edburns: HttpClient.writeRequests: sun.net.www.MessageHeader@65bbd6{GET http://www.skandiabanken.dk/demo/BECWeb4.jar HTTP/1.1: null}{User-Agent: Java1.3.1-rc1}{Host: www.skandiabanken.dk}{Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2}{Proxy-Connection: keep-alive}{null: null}{null: null}{null: null} debug: edburns: HttpClient.parseHTTPHeader: sun.net.www.MessageHeader@1563ff{null: HTTP/1.0 200 OK}{Server: Microsoft-IIS/5.0}{Date: Thu, 12 Jul 2001 01:01:23 GMT}{Content-Type: application/octet-stream}{Accept-Ranges: bytes}{Last-Modified: Sat, 05 May 2001 01:42:48 GMT}{ETag: "0dc40b04d5c01:834"}{Content-Length: 396284}{Age: 0}{X- Cache: MISS from webcache.eng.sun.com}{X-Cache-Lookup: MISS from webcache.eng.sun.com:8080}{Proxy-Connection: keep-alive}
I have installed the the java secure socket extensions into my java run time environment http://java.sun.com/products/jsse/ and this page points out that the certificate has expired for this demo page. Then it asks me to grant this session anyway to which I reply yes (to try the applet) but then it just leaves blank grey space anyway. However, the netbank mobil link seems to work fine with the applet running. Perhaps this is partly related to the lack of the sse in the current java run time environment? It will be included in 1.4 when it's released.
Java Console: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272) at java.security.AccessController.checkPermission(AccessController.java:399) at java.lang.SecurityManager.checkPermission(SecurityManager.java:545) at sun.applet.AppletSecurity.checkAccess(AppletSecurity.java:109) at java.lang.Thread.checkAccess(Thread.java:1053) at java.lang.Thread.stop(Thread.java:572) at Timer.action(Timer.java:162) at java.awt.Component.handleEvent(Component.java:3904) at java.awt.Component.postEvent(Component.java:2788) at java.awt.Component.postEvent(Component.java:2798) at java.awt.Component.postEvent(Component.java:2798) at java.awt.Component.dispatchEventImpl(Component.java:2605) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Marking NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I think this is not a bug. I tried to load this applet on Linux and Solaris (092 and 093 branches) and I used java plugin of jdk1.3.1. In java console I got the following exception: java.lang.ClassFormatError: dk/bec/webbank/clientDS/VIStack (Illegal Field name "?") at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:128) at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:252) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:108) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) at dk.bec.webbank.clientDS.ViewController.<init>(dk/bec/webbank/clientDS/ViewController) at dk.bec.webbank.clientDS.Main.init(dk/bec/webbank/clientDS/Main) at sun.applet.AppletPanel.run(AppletPanel.java:344) at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:127) at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:123) at java.lang.Thread.run(Thread.java:484) I ran aplletviewer (jdk1.3.1) with flag -J-verify and got the same exception. It may means that byte code is not completely compatible to java standards. Then I ran appletviewer without any flags and I got the following exception: java.lang.NoClassDefFoundError: netscape/security/ForbiddenTargetException at dk.bec.webbank.clientDS.ViewController.<init>(dk/bec/webbank/clientDS/ViewController) at dk.bec.webbank.clientDS.Main.init(dk/bec/webbank/clientDS/Main) at sun.applet.AppletPanel.run(AppletPanel.java:344) at java.lang.Thread.run(Thread.java:484) I downloaded applet archive and decompiled some sources and class dk.bec.webbank.clientDS.Main class imports netscape.security.ForbiddenTargetException. It means that apllet has been developed for running in Netscape internal java and couldn't be used in other JREs. I think that is not Mozilla bug because: 1) I couldn't run this applet by appletviewer and saw the same exception as Mozilla throws 2) apllet has been developed using not only public API I propose to close this bug as not a bug
Your analysis is impeccable. I agree completely. Please see bug 62025 for details.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.