You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[INFO] reading props from ../config/prod.props
java.lang.NullPointerException
at com.devshawn.kafka.gitops.service.ParserService.parseStateFile(ParserService.java:84)
at com.devshawn.kafka.gitops.service.ParserService.parseStateFile(ParserService.java:42)
at com.devshawn.kafka.gitops.StateManager.getAndValidateStateFile(StateManager.java:72)
at com.devshawn.kafka.gitops.cli.ValidateCommand.call(ValidateCommand.java:26)
at com.devshawn.kafka.gitops.cli.ValidateCommand.call(ValidateCommand.java:15)
at picocli.CommandLine.executeUserObject(CommandLine.java:1783)
at picocli.CommandLine.access$900(CommandLine.java:145)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2141)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2108)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:1975)
at picocli.CommandLine.execute(CommandLine.java:1904)
at com.devshawn.kafka.gitops.MainCommand.main(MainCommand.java:69)
The text was updated successfully, but these errors were encountered:
I had a reference to a property in my state.yaml:
which I had failed to define in my props file.
The exception message is not very helpful.
[INFO] reading props from ../config/prod.props
java.lang.NullPointerException
at com.devshawn.kafka.gitops.service.ParserService.parseStateFile(ParserService.java:84)
at com.devshawn.kafka.gitops.service.ParserService.parseStateFile(ParserService.java:42)
at com.devshawn.kafka.gitops.StateManager.getAndValidateStateFile(StateManager.java:72)
at com.devshawn.kafka.gitops.cli.ValidateCommand.call(ValidateCommand.java:26)
at com.devshawn.kafka.gitops.cli.ValidateCommand.call(ValidateCommand.java:15)
at picocli.CommandLine.executeUserObject(CommandLine.java:1783)
at picocli.CommandLine.access$900(CommandLine.java:145)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2141)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2108)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:1975)
at picocli.CommandLine.execute(CommandLine.java:1904)
at com.devshawn.kafka.gitops.MainCommand.main(MainCommand.java:69)
The text was updated successfully, but these errors were encountered: