ivargrimstad/snoopee

null check needed on SnoopEERegistrationClient # 192

Opened this issue · 1 comments

if snoopee: is missing in snoopee.yml (and if it exists as snoop:) a NPE gets thrown.

Caused by: java.lang.NullPointerException
	at eu.agilejava.snoopee.scan.SnoopEERegistrationClient.lambda$null$11(SnoopEERegistrationClient.java:192)

That is actually a misconfiguration, and should at least give a warning at startup. The user clearly want som in-app config, but has made an error. It should be pretty straightforward to fix.