APSIMInitiative / APSIM710

APSIM
https://www.apsim.info
31 stars 47 forks source link

ApsimX: null reference error if datastore not in simulations node #1422

Closed ApsimBot closed 5 years ago

ApsimBot commented 5 years ago

Legacy Bug ID: 1992 Author: Justin Date: 2014-11-28 11:22:07 +0000 UTC

Tried to use one of the completed exercises from the training toolbox by just copying the entire Exercise 1 folder to a simulation and deleting everything else. Gave error above. Datastore must be in the Simulations node ir it won't work.

ApsimBot commented 5 years ago

Author: hol353 Date: 2014-11-28 12:18:00 +0000 UTC

The error is quite right. You must have a 'Simulations' node. I'm guessing that you copied 'Exercise 1' from the training toolbox. This is a folder node, not a Simulations node. Perhaps try changing  it to a Simulations node in the toolbox OR copy everything inside of 'Excercise 1' in your toolbox to under your existing 'Simulations' node.