[ 
https://issues.apache.org/jira/browse/AIRAVATA-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251835#comment-13251835
 ] 

Saminda Wijeratne commented on AIRAVATA-360:
--------------------------------------------

The value in the schema has by default "0". When using this schema object we 
have no way of knowing whether this value was specified by the user or its the 
default value that was initialized with. A simple fix I could do is to not to 
show 0 in text boxes if the value is 0. But in that case if the user does enter 
0, next time he/she opens the dialog will not see the 0 that was entered 
earlier. 
                
> New Application description
> ---------------------------
>
>                 Key: AIRAVATA-360
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-360
>             Project: Airavata
>          Issue Type: Bug
>          Components: XBaya
>            Reporter: Raminderjeet Singh
>
> I am trying to create a new application without configuring Min Memory and 
> CPU count and i am getting following error on console.  
> Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For 
> input string: ""
>         at 
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>         at java.lang.Integer.parseInt(Integer.java:470)
>         at java.lang.Integer.parseInt(Integer.java:499)
>         at 
> org.apache.airavata.xbaya.appwrapper.ApplicationDescriptionHostAdvancedOptionDialog.saveApplicationDescriptionAdvancedOptions(ApplicationDescriptionHostAdvancedOptionDialog.java:217)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to