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

Setting competition.simulationBaseTime through config produces a warning #1083

Open
jecollins opened this issue Apr 27, 2021 · 0 comments
Open

Comments

@jecollins
Copy link
Member

When the server starts, one of its first activities is to run the configuration process. Many of the config variables are in Competition, and one of the consistently posts a warning when the server starts, as

47120 WARN  config.Configurator: Type mismatch, class org.powertac.common.Competition: cannot use default value (org.joda.time.Instant) for  (java.lang.String)

This is happening because the setter withSimulationBaseTime() takes a String, while the getter returns an Instant. The time appears to be set correctly, but this should be fixed.

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

No branches or pull requests

1 participant