Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException: Cannot invoke String.toUpperCase() #19

Open
linforestzhang opened this issue Oct 14, 2024 · 3 comments
Open

NullPointerException: Cannot invoke String.toUpperCase() #19

linforestzhang opened this issue Oct 14, 2024 · 3 comments

Comments

@linforestzhang
Copy link

linforestzhang commented Oct 14, 2024

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
`

@jawalonoski
Copy link
Member

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.

@linforestzhang
Copy link
Author

Got it. Thank you so much, Jason. And looking forward to it.

@pmedvedev
Copy link

Is there a recommended previous version to fall back to? I believe the question I posted here: #8 (comment) is around the same issue I'm having.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants