Bug 501391

Summary: Java plugin fails to display certificate which has error
Product: [Fedora] Fedora Reporter: Robin Green <greenrd>
Component: java-1.6.0-openjdkAssignee: Lillian Angel <langel>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dbhole, langel, lkundrak, mjw
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: http://www.adrive.com/home/uploadfile?dir=%2F
Whiteboard:
Fixed In Version: 1.6.0.0-18.b16.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-29 14:11:23 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 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.