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

NPE in hoot-services derive changeset command building #5686

Closed
brianhatchl opened this issue Jul 21, 2023 · 1 comment
Closed

NPE in hoot-services derive changeset command building #5686

brianhatchl opened this issue Jul 21, 2023 · 1 comment

Comments

@brianhatchl
Copy link
Contributor

Something is passing a null value in the command substitution map

java.lang.RuntimeException: Failed to execute: hoot.bin changeset-derive --${DEBUG_LEVEL} -C DeriveChangeset.conf ${HOOT_OPTIONS} -D bounds=${BOUNDS} ${INPUT1} ${INPUT2} ${OSC_FILE} ${ADV_OPTIONS} --stats ${STATS_FILE} --replacement

Caused by: java.lang.NullPointerException
	at hoot.services.command.ExternalCommandRunnerImpl.expandSensitiveProperties(ExternalCommandRunnerImpl.java:330) ~[classes/:?]
	at hoot.services.command.ExternalCommandRunnerImpl.exec(ExternalCommandRunnerImpl.java:172) ~[classes/:?]
	at hoot.services.command.ExternalCommandManagerImpl.exec(ExternalCommandManagerImpl.java:82) ~[classes/:?]
	... 18 more

and that is being handled poorly here https://github.com/ngageoint/hootenanny/blob/master/hoot-services/src/main/java/hoot/services/command/ExternalCommandRunnerImpl.java#L324-L332

@brianhatchl brianhatchl changed the title NPE in derive changeset NPE in hoot-services derive changeset command building Jul 21, 2023
@brianhatchl
Copy link
Contributor Author

fixed in #5687

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

1 participant