Eduardo Ruesta
05/30/2024, 1:29 PMException in thread "main" java.lang.NullPointerException: getenv(...) must not be null
May 29 11:19:13 AM at com.exxample.kobweb.data.MongoDB.<init>(MongoDB.kt:36)
May 29 11:19:13 AM at com.exxample.kobweb.data.MongoDBKt.initMongoDB(MongoDB.kt:
Any idea? Has anyone had the same experience?? thanksCLOVIS
05/30/2024, 2:43 PMEduardo Ruesta
05/30/2024, 2:46 PMCLOVIS
05/30/2024, 2:55 PMCLOVIS
05/30/2024, 2:55 PMprintenv
on the command line to see what environment variables exist.CLOVIS
05/30/2024, 2:59 PMSystem.getenv().forEach { println("Environment: ${it.key}: ${it.value}") }
Eduardo Ruesta
05/30/2024, 3:01 PMCLOVIS
05/30/2024, 3:02 PMCLOVIS
05/30/2024, 3:03 PM