moja-global/FLINT-UI

Bug: exception when trying to run a simulation of GCBM

Akronix opened this issue · 2 comments

Describe the bug.

There's an exception when trying to run a simulation of GCBM using the docker-compose setup.
This is the output of the terminal when I press the "Run simulation" button:

flint.gcbm.api       | <2022-04-26 09:01:53.785220> (info) - Config has files: 7
flint.gcbm.api       | <2022-04-26 09:01:53.785779> (info) - Using Logging Configuration: /app/input/test1234/logging.conf
flint.gcbm.api       | <2022-04-26 09:01:53.785857> (info) - Using configurations: 
flint.gcbm.api       | <2022-04-26 09:01:53.785917> (info) - localdomain.json
flint.gcbm.api       | <2022-04-26 09:01:53.785992> (info) - pools_cbm.json
flint.gcbm.api       | <2022-04-26 09:01:53.786041> (info) - modules_cbm.json
flint.gcbm.api       | <2022-04-26 09:01:53.786076> (info) - modules_output.json
flint.gcbm.api       | <2022-04-26 09:01:53.786105> (info) - spinup.json
flint.gcbm.api       | <2022-04-26 09:01:53.786135> (info) - variables.json
flint.gcbm.api       | <2022-04-26 09:01:53.786165> (info) - internal_variables.json
flint.gcbm.api       | <2022-04-26 09:01:53.786195> (info) - Using provider configurations: 
flint.gcbm.api       | <2022-04-26 09:01:53.786239> (info) - provider_config.json
flint.gcbm.api       | <2022-04-26 09:01:53.863274> (info) - Using operation manager: 
flint.gcbm.api       | <2022-04-26 09:01:53.863466> (info) - spinup ON, sequencer - CBMSpinupSequencer
flint.gcbm.api       | <2022-04-26 09:01:53.897075> (info) - GCBM version: 1.0.0
flint.gcbm.api       | <2022-04-26 09:01:53.937289> (info) -   0:Queuing tile: ( 12674) 1 of 1
flint.gcbm.api       | <2022-04-26 09:01:53.938711> (info) -   0:Total Blocks queued for simulation: 100
flint.gcbm.api       | <2022-04-26 09:01:53.938870> (info) -   0:Run ID = '849158c6-c53f-11ec-b562-0242ac120002'
flint.gcbm.api       | <2022-04-26 09:01:53.938923> (info) -   0:Threads created for processing: 4
flint.gcbm.api       | <2022-04-26 09:01:53.943151> (info) - GCBM version: 1.0.0
flint.gcbm.api       | <2022-04-26 09:01:53.958396> (info) - 100:Run ID = '849158c6-c53f-11ec-b562-0242ac120002'
flint.gcbm.api       | <2022-04-26 09:01:53.958776> (info) - 100:Thread Created
flint.gcbm.api       | <2022-04-26 09:01:53.963687> (info) - GCBM version: 1.0.0
flint.gcbm.api       | <2022-04-26 09:01:53.978950> (info) - 101:Run ID = '849158c6-c53f-11ec-b562-0242ac120002'
flint.gcbm.api       | <2022-04-26 09:01:53.979049> (info) - 101:Thread Created
flint.gcbm.api       | <2022-04-26 09:01:53.982793> (info) - GCBM version: 1.0.0
flint.gcbm.api       | <2022-04-26 09:01:54.001343> (info) - 102:Run ID = '849158c6-c53f-11ec-b562-0242ac120002'
flint.gcbm.api       | <2022-04-26 09:01:54.001558> (info) - 102:Thread Created
flint.gcbm.api       | <2022-04-26 09:01:54.006846> (info) - GCBM version: 1.0.0
flint.gcbm.api       | <2022-04-26 09:01:54.021038> (info) - 103:Run ID = '849158c6-c53f-11ec-b562-0242ac120002'
flint.gcbm.api       | <2022-04-26 09:01:54.021313> (info) - 103:Thread Created
flint.gcbm.api       | <2022-04-26 09:01:54.021413> (info) - modules loaded: 
flint.gcbm.api       | <2022-04-26 09:01:54.021635> (info) - 	library: internal.flint, module name: TransactionManagerAfterSubmitModule
flint.gcbm.api       | <2022-04-26 09:01:54.021708> (info) - 	library: moja.modules.cbm, module name: CBMAgeIndicators
flint.gcbm.api       | <2022-04-26 09:01:54.021749> (info) - 	library: moja.modules.cbm, module name: CBMAggregatorLandUnitData
flint.gcbm.api       | <2022-04-26 09:01:54.021790> (info) - 	library: moja.modules.cbm, module name: CBMAggregatorSQLiteWriter
flint.gcbm.api       | <2022-04-26 09:01:54.021831> (info) - 	library: moja.modules.cbm, module name: CBMBuildLandUnitModule
flint.gcbm.api       | <2022-04-26 09:01:54.021871> (info) - 	library: moja.modules.cbm, module name: CBMDecayModule
flint.gcbm.api       | <2022-04-26 09:01:54.021906> (info) - 	library: moja.modules.cbm, module name: CBMDisturbanceEventModule
flint.gcbm.api       | <2022-04-26 09:01:54.021940> (info) - 	library: moja.modules.cbm, module name: CBMDisturbanceListener
flint.gcbm.api       | <2022-04-26 09:01:54.021980> (info) - 	library: moja.modules.cbm, module name: CBMGrowthModule
flint.gcbm.api       | <2022-04-26 09:01:54.022025> (info) - 	library: moja.modules.cbm, module name: CBMLandClassTransitionModule
flint.gcbm.api       | <2022-04-26 09:01:54.022058> (info) - 	library: moja.modules.cbm, module name: CBMSequencer
flint.gcbm.api       | <2022-04-26 09:01:54.022094> (info) - 	library: moja.modules.cbm, module name: CBMTransitionRulesModule
flint.gcbm.api       | <2022-04-26 09:01:54.022138> (info) - 	library: moja.modules.gdal, module name: WriteVariableGeotiff
flint.gcbm.api       | <2022-04-26 09:01:54.022176> (info) - Operation manager: Simple, Version: 1.0, Config: (Kahan[OFF], ZeroTransfers[OFF], AllowNegativeTransfers[ON], WarnNegativeTransfers[OFF])
flint.gcbm.api       | <2022-04-26 09:01:54.024317> (info) - 100:Thread Started 
flint.gcbm.api       | <2022-04-26 09:01:54.024872> (info) - 101:Thread Started 
flint.gcbm.api       | <2022-04-26 09:01:54.025122> (info) - 102:Thread Started 
flint.gcbm.api       | <2022-04-26 09:01:54.025431> (info) - 103:Thread Started 
flint.gcbm.api       | <2022-04-26 09:01:54.599780> (fatal) - startup(1403) - Exception caught at LocalDomain level, exiting. | Library: moja.modules.cbm | Module: CBMDisturbanceListener | Details: Bad cast exception
``

### Describe the steps to reproduce the behavior.

Using the docker-compose images to build the web application, follow all the steps to run a GCBM simulation, press "run simulation", check the terminal.

### Expected behavior.

The simulation ends successfully and you can download the output of the simulation

### Screenshots.

_No response_

### Operating Environment

Ubuntu 20.04

### Additional Information

_No response_

This issue has not seen any activity for the past 30 days. If this Issue would not see any further updates in the next 7 days, it would be automatically closed. Please comment on the issue if you would like to discuss on this further.

Thanks for raising an issue! We at moja global appreciate your concerns and views to help us improve. We capitalize on fostering a welcoming environment for all our contributors. This issue was closed because it has been stalled for 7 days with no activity. If you would like to discuss it further, please create another issue or reach out to a maintainer on the prospects of getting it resolved.