bugGCJ Java plugin - Bugs: bug #21271, parsing of width / height...

 
 

bug #21271: parsing of width / height attribute fails

Submitted by:  None
Submitted on:  Sat 06 Oct 2007 01:38:28 PM UTC  
 
Category: NoneSeverity: 5 - Average
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 07 Oct 2007 10:27:11 PM UTC, comment #1:

The gcjwebplugin Project was abandoned quite some time ago when it was merged into the GNU classpath project. Please test with current GNU classpath and report any bug at http://gcc.gnu.org/bugzilla/

Michael Koch <mkoch>
Project Administrator
Sat 06 Oct 2007 01:38:28 PM UTC, original submission:

Loading of the JBoss web-console Java applet fails with the following exception:

HTML parsing: incorrect value for width/height attribute
java.lang.NumberFormatException: For input string: "100%"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:66)
at java.lang.Integer.parseInt(Integer.java:485)
at java.lang.Integer.valueOf(Integer.java:576)
at sun.applet.AppletViewerPanel.getWidth(AppletViewerPanel.java:134)
at sun.applet.AppletPanel.init(AppletPanel.java:216)
at sun.applet.PluginAppletViewer.<init>(PluginAppletViewer.java:109)
at sun.applet.PluginAppletViewerFactory.createAppletViewer(PluginAppletViewer.java:56)
at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:808)
at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:744)
at sun.applet.PluginMain.start(PluginMain.java:193)
at sun.applet.PluginMain.main(PluginMain.java:73)

The applet is provided by the following JSP code:

<applet
width="100%"
height="100%"
code="org.jboss.console.navtree.AppletBrowser"
archive="applet.jar, jboss-common-core.jar, jboss-logging-spi.jar, jboss.jar"
>
<!-- An empty refresh value disables the background refresh thread -->
<param name="RefreshTime" value="">
<param name="SessionId" value="<%=request.getSession().getId()%>">
<param name="PMJMXName" value="jboss.admin:service=PluginManager">
</applet>

The problem seems to be incorrect parsing of the 100% value, which IMO is valid.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mkoch (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup