[
https://issues.apache.org/jira/browse/AIRAVATA-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251675#comment-13251675
]
Raminderjeet Singh commented on AIRAVATA-360:
---------------------------------------------
That can create problems. Default value of integer is 0 but if you will provide
Max wall time, min memory as 0 then these can be wrong parameter for the GFAC.
This can be handled in GFAC code if not already done. But for user point of
view I prefer to keep those parameter blank then 0's. If GUI validation is a
problem then we need to handle such validation at registry API level.
> 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