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

 
 

bug #21271: parsing of width / height attribute fails

Submitter:  None
Submitted:  Sat 06 Oct 2007 01:38:28 PM UTC
   
 
Category:  None Severity:  5 - Average
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code