Hi, do you think that a nullpointer exception is t...
# http4k
r
Hi, do you think that a nullpointer exception is the right one when getting env from an nonexistent file ?
Copy code
Environment.fromResource("confs.properties")
gives a:
Copy code
Exception in thread "main" java.lang.NullPointerException: Companion::<http://class.java.ge|class.java.ge>…urce.removePrefix("/")}") must not be null
	at org.http4k.cloudnative.env.Environment$Companion.fromResource(Environment.kt:57)