Bug 451052 - MOOSE Launcher throws pre-disposed widget error when trying to launch with no input file
Summary: MOOSE Launcher throws pre-disposed widget error when trying to launch with no...
Status: CLOSED FIXED
Alias: None
Product: Ice
Classification: Science
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: ---   Edit
Assignee: Jordan Deyton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-11 16:07 EST by Anna Wojtowicz CLA
Modified: 2015-04-20 17:50 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anna Wojtowicz CLA 2014-11-11 16:07:37 EST
The MOOSE Launcher will throw an EntryComposite disposed widget error and halt the launching process (FormStatus = InfoError) if no input file specified.

There are 2 different ways this fails:

* I don't allow the YAML/syntax generator to have any Input File entries (as it should be)
* I try to launch a BISON problem without all the additional input files (power history, fast neutron flux, etc.) specified

For the former scenario, the MOOSE Launcher pointlessly has an Input File entry that does nothing (since the uploadInput flag is false), that allows it to be at least functional for now.

The latter scenario should eventually become a non-issue once the filename validator is implemented, but for now, all fields need to have a filename put in whether or not they actually get used.
Comment 1 Anna Wojtowicz CLA 2014-12-11 14:56:53 EST
I guess this was fixed

*** This bug has been marked as a duplicate of bug 454640 ***
Comment 2 Jordan Deyton CLA 2014-12-11 15:04:44 EST
It was fixed.

This was not a MOOSE-specific issue, but yes, it has been fixed. My apologies for creating a duplicate.
Comment 3 Anna Wojtowicz CLA 2015-01-15 13:01:58 EST
This still occurs for me. To reproduce it:

1.) Delete your itemDB and all CSV and exodus files from your workspace.
2.) Set up a MOOSE Launcher and specify a BISON input file that references other additional files (mesh, power history, etc.)
3.) The additional input FileEntries will render, but leave them blank.
4.) Try to run the job.

Obviously the BISON problem will not solve without those additional files, but ICE doesn't not even attempt to launch the job. We could throw an error to say the user must specify all files, but I don't think a pre-disposed widget error is the way to do it...
Comment 4 Anna Wojtowicz CLA 2015-04-20 17:50:09 EDT
Added a check on the JobLauncher to throw FormStatus = InfoError and print a console message if any Entries on the Form's "Input File" DataComponent have an invalid value (null or empty). This way the issue will never reach the UI so it doesn't have to be addressed there.