Error Handling |
Top Previous Next |
Checklists if you encounter problems.
1.Did the program compile without errors?
2.Did you provide the right solution file?
3.Is the solution xml wellformed? All tags closed (<tag>bla</tag> or <tag .. />)? All attributes in qoutes( at="bla")? No blanks in id attribute?
4.Are the id's unique? Interfaces, resources, simcomponents, outputs must have an unique id.
5.Are all paths and filenames correct?
6.Did you provide the right file type (csv, xml)?
7.Is the resource description for the interface correct? Count the columns in the csv file and the elements in the resource? Compare the names in the resource and the xml file? Are the datatypes (DOUBLE, INT etc.) correct?
8.Did you indicate a key column/element?
9.Is the value of the key element pointing to an existing variable (variable can be from resource, transformer, simcomponent or defined in the solution)?
10.Did you check the transformers? Do they refer to an existing resource?
11.Are the classpath for the simcomponents correct?
12.Did you spell the id's (SimVariables?) in the simcomponent correct? Compare them with the createVariable section in the source code of the simcomponent. Names are case sensitive.
13.Are the name of the sources correct? Check both parts of source="component.variable": is component a valid resource, transformer or simcomponent? Does variable exists in the resource/transformer/simcomponent.
14.Does the datatype of Simvariables match the datatype of the source?
15.Did you properly define the vVariables in the simulation section?
16.Did you set a start and end date? Are the start and end date in the range of your weatherdata? Are they in the range of other data (e.g. yearly sowing dates)?
17.Are the id's inside an output unique?
18.Do all source variables for output exist?
19.Did you give an aggregation method (MIN, MAX etc.) when using YEARLY output?
After checking all the items above - did you make a ten minutes walk in fresh air, before checking your solution again? Oxygen and change of sight sometimes peform miracles.