Bug 501391 - Java plugin fails to display certificate which has error
Summary: Java plugin fails to display certificate which has error
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.6.0-openjdk
Version: rawhide
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Lillian Angel
QA Contact: Fedora Extras Quality Assurance
URL: http://www.adrive.com/home/uploadfile...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-18 21:17 UTC by Robin Green
Modified: 2009-06-02 14:31 UTC (History)
4 users (show)

Fixed In Version: 1.6.0.0-18.b16.fc10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-29 14:11:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robin Green 2009-05-18 21:17:07 UTC
Description of problem:
ADrive is an online file storage / sharing website which uses Java. When I go to the URL above (after signing up for the site and logging in), Java says the certificate has an error, but when I look into it and press the button to look at the cert, nothing happens.

Version-Release number of selected component (if applicable):
java-1.6.0-openjdk-plugin-1.6.0.0-20.b14.fc11.i586

How reproducible:
Always

Steps to Reproduce:
1. Sign up for a free account at ADrive.com
2. Log in
3. Go to URL above
4. When applet loads and warning dialog appears, click "More information"
5. Click "Certificate details"
  
Actual results:
"Certificate details" button stays depressed until you move the mouse away. Nothing else happens.

Expected results:
Certificate details should be shown

Additional info:
The warning dialog says "The application's digital signature has an error. Do you want to run the application?"

This is with firefox-3.5-0.20.beta4.fc11.i586

Comment 1 Lillian Angel 2009-05-19 20:46:01 UTC
I will fix this. This is the error:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:571)
        at java.util.ArrayList.get(ArrayList.java:349)
        at net.sourceforge.jnlp.security.CertsInfoPane.buildTree(CertsInfoPane.java:90)
        at net.sourceforge.jnlp.security.CertsInfoPane.installComponents(CertsInfoPane.java:182)
        at net.sourceforge.jnlp.security.SecurityDialogUI.installUI(SecurityDialogUI.java:93)
        at javax.swing.JComponent.setUI(JComponent.java:660)
        at javax.swing.JOptionPane.setUI(JOptionPane.java:1856)
        at net.sourceforge.jnlp.security.SecurityWarningDialog.updateUI(SecurityWarningDialog.java:413)
        at net.sourceforge.jnlp.security.SecurityWarningDialog.<init>(SecurityWarningDialog.java:121)
        at net.sourceforge.jnlp.security.SecurityWarningDialog.showCertInfoDialog(SecurityWarningDialog.java:273)
        at net.sourceforge.jnlp.security.MoreInfoPane$CertInfoButtonListener.actionPerformed(MoreInfoPane.java:122)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)

Comment 2 Lillian Angel 2009-05-20 20:16:14 UTC
Fixed upstream. will be in the next release.

Comment 3 Fedora Update System 2009-05-30 14:15:50 UTC
java-1.6.0-openjdk-1.6.0.0-18.b16.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/java-1.6.0-openjdk-1.6.0.0-18.b16.fc10

Comment 4 Fedora Update System 2009-05-30 14:16:50 UTC
java-1.6.0-openjdk-1.6.0.0-22.b16.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/java-1.6.0-openjdk-1.6.0.0-22.b16.fc11

Comment 5 Fedora Update System 2009-06-02 14:22:34 UTC
java-1.6.0-openjdk-1.6.0.0-22.b16.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2009-06-02 14:30:11 UTC
java-1.6.0-openjdk-1.6.0.0-18.b16.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.


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