Bug 903406 - java.com can't verify java version because icedtea-web doesn't support 'javascript:' protocol URLs
Summary: java.com can't verify java version because icedtea-web doesn't support 'javas...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: icedtea-web
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: jiri vanek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 985089 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-23 22:27 UTC by Allen Halsey
Modified: 2014-01-13 14:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-13 14:34:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Allen Halsey 2013-01-23 22:27:13 UTC
Description of problem:

When I go to:
http://java.com/en/download/installed.jsp?detect=jre
the spinner spins.


Version-Release number of selected component (if applicable):

firefox.x86_64       18.0-1.fc18
icedtea-web.x86_64   1.3.1-3.fc18

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Firefox prints the following to STDOUT:
java version "1.7.0_09-icedtea"
OpenJDK Runtime Environment (fedora-2.3.4.fc18-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)

Other sample java applets work fine.

Comment 1 Adam Domurad 2013-01-28 21:55:56 UTC
Confirmed, this is a problem with icedtea-web not installing a 'javascript:' URL handler. The applet actually fails silently; the spinning disc is just a looping image.

As a work-around you can use http://javatester.org/version.html.

Bug filed:
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1271

Comment 2 Adam Domurad 2013-08-01 14:09:38 UTC
*** Bug 985089 has been marked as a duplicate of this bug. ***

Comment 3 Fedora End Of Life 2013-12-21 10:45:58 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Garrett Mitchener 2013-12-21 15:50:28 UTC
I still see this on Fedora 19:

icedtea-web-1.4.1-0.fc19.x86_64

but I have no way to update this bug.

Comment 5 John Hein 2014-01-05 18:43:20 UTC
java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc19.i686
icedtea-web-1.4.1-1.fc19.i686

When I go to http://www.java.com/en/download/installed.jsp?detect=jre, the java applet that gets run causes this in ~/.icedtea/log/java.stderr:

Exception in thread "NetxPanelThread@http://java.com/en/download/installed.jsp?detect=jre" java.lang.NullPointerException
        at sun.applet.AppletPanel.showAppletStatus(AppletPanel.java:944)
        at sun.applet.AppletPanel.run(AppletPanel.java:604)
        at java.lang.Thread.run(Thread.java:744)

(logging was enabled for icedtea using itweb-settings.itweb -> Debugging -> Enable logging)

Comment 6 John Hein 2014-01-05 18:44:30 UTC
re: comment 5 - and I just get the infamous gray box on the browser page, of course.

Comment 7 John Hein 2014-01-05 22:35:11 UTC
I removed the icedtea-web-1.4.1-1 and built a new package based on the latest icedtea-web (hg changeset 6ec72d653144), and now the java.com detection page works (detected java 7, update 45).  [FYI, I didn't use the christmasSplash3.diff patch when I built a new package]

If a new upstream release is not imminent, maybe adding a patch with the 0fbf6f4ac546 changeset would be useful.

Comment 8 jiri vanek 2014-01-06 12:15:16 UTC
(In reply to John Hein from comment #7)
> I removed the icedtea-web-1.4.1-1 and built a new package based on the
> latest icedtea-web (hg changeset 6ec72d653144), and now the java.com
> detection page works (detected java 7, update 45).  [FYI, I didn't use the
> christmasSplash3.diff patch when I built a new package]
> 
> If a new upstream release is not imminent, maybe adding a patch with the
> 0fbf6f4ac546 changeset would be useful.

I will try the backport and see the results. In case that no evil (or evil depndence) will be founf I will Include it into january 1.4 release.


Note You need to log in before you can comment on or make changes to this bug.