synthetichealth / synthea-international

Synthea metadata and configuration files for international locations
Apache License 2.0
31 stars 34 forks source link

NullPointerException: Cannot invoke String.toUpperCase() #19

Open linforestzhang opened 20 hours ago

linforestzhang commented 20 hours ago

Copy synthea-international-master\fi\* to my local synthea-3.3.0

CMD: run_synthea.bat -p 1

CMD Console Output: ` ARG = -p ARG = 1 ARG = syntheaArgs = '-p','1',

Task :run FAILED Exception in thread "main" java.lang.NullPointerException: Cannot invoke "String.toUpperCase()" because the return value of "org.mitre.synthea.world.geography.Location.getAbbreviation(String)" is null at org.mitre.synthea.world.agents.PayerManager.loadPayers(PayerManager.java:137) at org.mitre.synthea.world.agents.PayerManager.loadPayers(PayerManager.java:107) at org.mitre.synthea.engine.Generator.init(Generator.java:265) at org.mitre.synthea.engine.Generator.(Generator.java:209) at App.main(App.java:274)

FAILURE: Build failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.2.1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 2s 4 actionable tasks: 3 executed, 1 up-to-date `

jawalonoski commented 10 hours ago

Yes, many of these configurations are broken with the latest version of Synthea. A fixes branch is in progress, but the priority is low, so it might take a while to fix all of them.