Skip to content

NullPointerException: Cannot invoke String.toUpperCase() #19

@linforestzhang

Description

@linforestzhang

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.

  • What went wrong:
    Execution failed for task ':run'.

Process 'command '...\jdk-17.0.7+7\bin\java.exe'' finished with non-zero exit value 1

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

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
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions