Menu

#10 IllegalArgumentException when loading page

v2.1
closed-fixed
4
2009-03-07
2009-03-03
George P
No

Some pages cannot load because browser throws an IllegalArgumentException (can be seen in http://m.hi5.com\). From what I have tested this might has to do with an <hr/> tag, for some reason when it is going to be created, as an image, it's length is <= 0.
Stack trace:
java.lang.IllegalArgumentException
at javax.microedition.lcdui.Image.createImage(+15)
at gr.fire.browser.BlockTag.handleTagEnd(+474)
at gr.fire.browser.Browser.loadPageFromStream(+382)
at gr.fire.browser.Browser.loadPage(+238)
at gr.fire.browser.Browser$1.run(+23)

Discussion

  • Pashalis Padeleris

    • labels: --> browser components
    • milestone: --> v2.1
    • priority: 5 --> 4
    • assigned_to: nobody --> padeler
    • status: open --> closed-fixed
     
  • Pashalis Padeleris

    I could not reproduce the bug in hi5, but i found a possible problem on the creation of the <hr> image if the ruler's container width is less that 3 pixels. I added a check to work with that case. post here if the problem is not fixed.

     

Log in to post a comment.

MongoDB Logo MongoDB