Bug 487452
Summary: | Using avatar editor applet on meez.com causes "IllegalArgumentException" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard Shaw <hobbes1069> |
Component: | java-1.6.0-openjdk | Assignee: | Deepak Bhole <dbhole> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | dbhole, langel, lkundrak, mjw, mjw |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
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:09:24 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
Richard Shaw
2009-02-26 04:04:00 UTC
(In reply to comment #0) > Description of problem: > When using the avatar editor applet on meez.com the applet never fully loads > and console output shows an IllegalArgumentException. > [...] > Caused by: > java.lang.IllegalArgumentException: name > at sun.misc.URLClassPath$Loader.getResource(URLClassPath.java:510) > at sun.misc.URLClassPath.getResource(URLClassPath.java:185) > [...] Bah, what an uniformative exception. The code just does: try { url = new URL(base, ParseUtil.encodePath(name, false)); } catch (MalformedURLException e) { throw new IllegalArgumentException("name"); } Grrr. Eating the original exception and the given argument. At least this code should be changed to something like: try { url = new URL(base, ParseUtil.encodePath(name, false)); } catch (MalformedURLException e) { IllegalArgumentException iae; iae = new IllegalArgumentException("name: " + name); iae.initCause(e); throw iae; } That said, it might be that: > at net.sourceforge.jnlp.runtime.JNLPClassLoader.findClass(JNLPClassLoader.java:773) Should actually catch RuntimeException or Error instead of letting those "escape". The problem is actually in the applet/object tag parser code. The code param is specified as "java:..." and that "java:" is messing up the parsing. I have fixed in my local copy and the applet works perfectly for me now. I will commit it upstream by the end of the day along with another fix I am working on. 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 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 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. 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. |