Bug 399221
Summary: | Applets with width="100%" crash | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Kratochvil <jan.kratochvil> |
Component: | java-1.7.0-icedtea | Assignee: | Lillian Angel <langel> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 8 | Keywords: | Reopened |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.newstin.cz/all-topics-startree.a | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-02-10 19:46:37 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jan Kratochvil
2007-11-26 08:31:49 UTC
Fixed the problem with the plugin upstream. The problem with the appletviewer should be fixed by sun. This will be in the next release 11 years vs. 2 weeks - that's a difference, thanks! Lookin' forward for the Rawhide build. Should be available in rawhide within the next couple of days. Sorry but I see no change on: java-1.7.0-icedtea-1.7.0.0-0.23.b24.snapshot.fc9.x86_64.rpm java-1.7.0-icedtea-1.7.0.0-0.24.b24.fc9.x86_64.rpm (running on F8 - I hope this cannot be a problem) # echo '<applet code="Width100" width="100%" height="100"></applet>' >Width100.html; appletviewer ./Width100.html HTML parsing: incorrect value for width/height attribute java.lang.NumberFormatException: For input string: "100%" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:484) at java.lang.Integer.valueOf(Integer.java:575) at sun.applet.AppletViewerPanel.getWidth(AppletViewerPanel.java:133) at sun.applet.AppletPanel.init(AppletPanel.java:215) at sun.applet.AppletViewer.<init>(AppletViewer.java:195) at sun.applet.StdAppletViewerFactory.createAppletViewer(AppletViewer.java:100) at sun.applet.AppletViewer.parse(AppletViewer.java:1140) at sun.applet.AppletViewer.parse(AppletViewer.java:1074) at sun.applet.Main.run(Main.java:156) at sun.applet.Main.main(Main.java:98) Exception in thread "main" java.lang.NumberFormatException: For input string: "100%" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:484) at java.lang.Integer.valueOf(Integer.java:575) at sun.applet.AppletViewerPanel.getWidth(AppletViewerPanel.java:133) at java.awt.Component.getNormalShape(Component.java:9525) at java.awt.Component.calculateCurrentShape(Component.java:9560) at java.awt.Component.applyCurrentShape(Component.java:9611) at java.awt.Container.recursiveApplyCurrentShape(Container.java:3945) at java.awt.Container.recursiveApplyCurrentShape(Container.java:3926) at java.awt.Container.mixOnShowing(Container.java:3962) at java.awt.Component.show(Component.java:1419) at java.awt.Window.show(Window.java:898) at java.awt.Component.show(Component.java:1455) at java.awt.Component.setVisible(Component.java:1407) at java.awt.Window.setVisible(Window.java:870) at sun.applet.AppletViewer.<init>(AppletViewer.java:200) at sun.applet.StdAppletViewerFactory.createAppletViewer(AppletViewer.java:100) at sun.applet.AppletViewer.parse(AppletViewer.java:1140) at sun.applet.AppletViewer.parse(AppletViewer.java:1074) at sun.applet.Main.run(Main.java:156) at sun.applet.Main.main(Main.java:98) The same problem is with: appletviewer http://www.newstin.cz/all-topics-startree.a And also firefox-2.0.0.10-3.fc8.x86_64 does not display the applet. This applet definitely works through the browser. I suspect you do not have the plugin properly installed. You might still have the old IcedTea plugin installed, that does not have this fix. be sure you have java-1.7.0-icedtea-plugin installed from rawhide. It will not work using appletviewer, and does not work with JDK1.6.0's appletviewer. Confirming it really works (F9 Firefox), really sorry. There was some other (JavaScript one as it seems) problem with F8 Firefox. |