Closed Bug 281350 Opened 20 years ago Closed 20 years ago

Page reloades due to some conflict with java applet

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: post, Assigned: bugzilla)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050206 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050206 Firefox/1.0+ In the mentioned URL, press the "Lotto" logo on the left side. The page that occurs has an Java applet called IpsBallanceApplet, this one does not work correctly in Firefox, and keeps firefox keeps reloading the whole page. The only thing to do is to close the whole window to get out. Reproducible: Always Steps to Reproduce: 1.Open the page. 2. 3. Actual Results: - Expected Results: The applet should have read a smartcard.. and the page should have displayed some info in the applet "window" Here is the info from the Javascript console: Error: Error in parsing value for property 'cursor'. Declaration dropped. Source File: http://www.norsk-tipping.no/css?id=1 Line: 1459
(In reply to comment #0) > Here is the info from the Javascript console: > > Error: Error in parsing value for property 'cursor'. Declaration dropped. > Source File: http://www.norsk-tipping.no/css?id=1 > Line: 1459 There ought to be an FAQ on: Java is not javascript. Java output and messages go to the java console (if you have it - I think that Firefox doesn't); Javascript and CSS output and messages go to the Javascript COnsole. The 'cursor' property is properly limited to a few values http://www.w3schools.com/css/pr_class_cursor.asp and you were using a non-standard one. The declaration is harmless.
Your page has 71 mark-up errors When I click on the log, there is some activity and the page reloads once. There is no problem with Firefox, and no evidence that the Java is running To see the applet you need to open the URL http://www.norsk-tipping.no/gar/wco?event=GETNETTMINIBANK&applettype=WEBTELLER and there is some javascript that should do this, but doesn't ...
Attached file Working page
This shortened file works as expected. This may be WFM, please reply if you think I am missing something
Maby this is way out of what you need to track down whats wrong but please guide me to get it right. I'm no Firefox or Java expert :-) At the bottom it is the outputs wich i get when I use IE. I have removed all Java installed in my computer and tryed to acces the page again, firefox told me that I needed a plugin, and i downloaded J2SE Runtime Environment 5.0 from firefox. Install went OK. Then I accesed the following page: http://www.norsk-tipping.no/page?id=17 Then tis is what's in the status field: Transfering data from www.norsk-tipping.no Waiting for www.norsk-tipping.no Done Transfering data from www.norsk-tipping.no Waiting for www.norsk-tipping.no And then it goen on & on again...... If I then open the Java console from the "Java Coffee Cup" in the System Tray It reads the following. Java Plug-in 1.5.0 Using JRE version 1.5.0 Java HotSpot(TM) Client VM User home directory = C:\Documents and Settings\Tor Harald Thorland ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging p: reload proxy configuration q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack x: clear classloader cache 0-5: set trace level to <n> ---------------------------------------------------- java.lang.NullPointerException at sun.plugin.util.GrayBoxPanel.paint(Unknown Source) at sun.plugin.util.GrayBoxPainter.paintGrayBox(Unknown Source) at sun.plugin.util.GrayBoxPainter.repaintGrayBox(Unknown Source) at sun.plugin.util.GrayBoxPainter.progressFinish(Unknown Source) at sun.plugin.util.EventMulticaster.progressFinish(Unknown Source) at sun.plugin.util.ProgressMonitor.unregisterSource(Unknown Source) at sun.net.ProgressSource.finishTracking(Unknown Source) at sun.net.www.http.KeepAliveStream.close(Unknown Source) at sun.net.www.MeteredStream.justRead(Unknown Source) at sun.net.www.MeteredStream.read(Unknown Source) at java.io.FilterInputStream.read(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read1(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at java.io.FilterInputStream.read(Unknown Source) at java.io.PushbackInputStream.read(Unknown Source) at java.util.zip.InflaterInputStream.fill(Unknown Source) at java.util.zip.InflaterInputStream.read(Unknown Source) at java.util.zip.ZipInputStream.read(Unknown Source) at sun.plugin.cache.CachedJarLoader.decompressWrite(Unknown Source) at sun.plugin.cache.CachedJarLoader.decompress(Unknown Source) at sun.plugin.cache.CachedJarLoader.access$500(Unknown Source) at sun.plugin.cache.CachedJarLoader$5.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin.cache.CachedJarLoader.download(Unknown Source) at sun.plugin.cache.CachedJarLoader.load(Unknown Source) at sun.plugin.cache.JarCache.get(Unknown Source) at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source) at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source) at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source) at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source) at sun.misc.URLClassPath$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(Unknown Source) at sun.misc.URLClassPath.getLoader(Unknown Source) at sun.misc.URLClassPath.getResource(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at sun.applet.AppletClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.lang.NullPointerException at sun.plugin.util.GrayBoxPanel.paint(Unknown Source) at sun.plugin.util.GrayBoxPainter.paintGrayBox(Unknown Source) at sun.plugin.util.GrayBoxPainter.repaintGrayBox(Unknown Source) at sun.plugin.util.GrayBoxPainter.progressUpdate(Unknown Source) at sun.plugin.util.EventMulticaster.progressUpdate(Unknown Source) at sun.plugin.util.ProgressMonitor.updateProgress(Unknown Source) at sun.net.ProgressSource.updateProgress(Unknown Source) at sun.net.www.MeteredStream.justRead(Unknown Source) at sun.net.www.MeteredStream.read(Unknown Source) at java.io.FilterInputStream.read(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source) at sun.plugin.net.protocol.http.HttpUtils.cleanupConnection(Unknown Source) at sun.plugin.cache.CachedJarLoader.decompress(Unknown Source) at sun.plugin.cache.CachedJarLoader.access$500(Unknown Source) at sun.plugin.cache.CachedJarLoader$5.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin.cache.CachedJarLoader.download(Unknown Source) at sun.plugin.cache.CachedJarLoader.load(Unknown Source) at sun.plugin.cache.JarCache.get(Unknown Source) at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source) at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source) at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source) at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source) at sun.misc.URLClassPath$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(Unknown Source) at sun.misc.URLClassPath.getLoader(Unknown Source) at sun.misc.URLClassPath.getResource(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at sun.applet.AppletClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) From IE: The page loads once, and this is the output of the Java Coffee cup console. Java Plug-in 1.5.0 Using JRE version 1.5.0 Java HotSpot(TM) Client VM User home directory = C:\Documents and Settings\Tor Harald Thorland ---------------------------------------------------- c: clear console window f: finalize objects on finalization queue g: garbage collect h: display this help message l: dump classloader list m: print memory usage o: trigger logging p: reload proxy configuration q: hide console r: reload policy configuration s: dump system and deployment properties t: dump thread list v: dump thread stack x: clear classloader cache 0-5: set trace level to <n> ---------------------------------------------------- Config.setModulePropertyFile: ips/ipsclientconfig
(In reply to comment #4) > Maybe this is way out of what you need to track down what's wrong but > please guide me to get it right. > I'm no Firefox or Java expert :-) > At the bottom it is the outputs which I get when I use IE. This is Bugzilla. You are analysing a problem with Java. Very people here have deep knowledge of IE. You are unlikely to get a resolution of your problem here, unless someone recognises what is going on. I would suggest that you find a forum that deals with Java, or enagage a Consultant to debug your appplet. I suspect that the first thing to do is ascertain how it is that the Java libraries are reporting errors. Do you still have the source of the applet?
I don't think you understand me correctly... the reason why I put the Java thing in here is that this web page loads CORRECTLY with Internet Explorer. When I fire up the same page in Firefox the page got unnormal behavior, and I cant use the page. Thats why I brought the question in here. I don't have anything from the applet, since it belongs to a big norwegian company dealing with lottery/football bets etc. So my question is: why does'nt this page work in Firefox.. when the other web readers can take it?
(In reply to comment #6) > So my question is: why does'nt this page work in Firefox.. when the other web > readers can take it? Are Comment 2 or Comment 3 of any help here? Do either work for you?
Comment 2 works perfectly. shows what it is supposed to do. Comment 3 sends med to a "white" page whith the text "nettminibank>>" and if I press that i'm sendt to the www.norsk-tipping.no. but the page in comment #4 (and #1) is still not working.
(In reply to comment #8) > Comment 2 works perfectly. shows what it is supposed to do. > Comment 3 sends med to a "white" page whith the text "nettminibank>>" and if I > press that I'm send to the www.norsk-tipping.no. The 'white page' is a small test case which should either show the bug without any accidental complications, or show that Firefox is working correctly. When I click the link, the applet pops up in its window, and the page re-directs. To be honest, I think that this shows that Firefox is working correctly (and that therefore you may need to adjust the scripts or markup on your page).
(In reply to comment #8) > ... > but the page in comment #4 (and #1) is still not working. I have already replied to comment 4 . I certainly get some java errors (and if you need to see them, I could attach a copy), but these are of no help as they just show that I don't have installed some necessary libraries (probably for reading a smartcard). Unlike yours, my errors are in applet code e.g. java.lang.UnsatisfiedLinkError: no JniPcsc5 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1344) at java.lang.Runtime.loadLibrary0(Runtime.java:744) at java.lang.System.loadLibrary(System.java:815) at jni.pcsc5.Pcsc5.<clinit>(Pcsc5.java:6) at a.a.e.a.c.<init>(c.java) Analysing Java errors is almost certainly outside (even if only just) the mission of Bugzilla, and I would suggest that you ask someone who knows your code. I am quite happy to look at this again, if you are persuaded that there is a possibility of a problem with Firefox, however, I do think that I would need to see your sources, and this is another reason for thinking that Bugzilla is not the appropriate place. I can't be absolutely certain, but this Report may be WFM.
View the attached video files (run them in 1024X768 / full screen) It shows the Firefox, and then the IE (takes a little time)
(In reply to comment #11) > View the attached video files (run them in 1024X768 / full screen) > It shows the Firefox, and then the IE (takes a little time) I will upload it to:www.techmarsystems.com/ie.avi & firefox.avi 600 & 800Kb is to large for bugzilla)
http://www.norsk-tipping.no just WFM on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050909 Firefox/1.6a1
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: