[ http://issues.apache.org/jira/browse/BEEHIVE-214?page=all ]
     
Rich Feit resolved BEEHIVE-214:
-------------------------------

     Assign To: Alejandro Ramirez  (was: Rich Feit)
    Resolution: Won't Fix

I tried this on WebLogic -- it's actually an issue with their generated JSP 
Servlet.  The exception looks like this:

java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:468)
at java.lang.Integer.valueOf(Integer.java:553)
at jsp_servlet._ttt.__index._jspService(__index.java:189)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) 

It appears that this would happen with *any* integer attribute on a tag.  
Probaly something to bring up with the WLS folks (although they may consider 
this to be expected behavior).

> NumberFormatException thrown in browser when passing "" to 
> netui:configurePopup Integer attributes
> --------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-214
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-214
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>  Environment: WLS 9.0 Diablo Beta, IE 6.0, FireFox v1
>     Reporter: Jason Dunckley
>     Assignee: Alejandro Ramirez
>     Priority: Minor
>      Fix For: V1

>
> -Attempt to go to a JSP page that has the following tag
> <netui:imageAnchor action="getZip" popup="true" 
> src="/Pictures/needsMoreCowbell.gif">
>           
> <netui:configurePopup left=""> </netui:configurePopup>
>                
> </netui:imageAnchor>
> Result- Netui error is thrown in the browser with NumberFormatException
> java.lang.NumberFormatException: For input string: ""
> Expected- either throw error in the compiler or maybe substitute 0 for empty 
> attributes of Integer type

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to