Skip to content

Instantly share code, notes, and snippets.

@jrabbit
Created November 14, 2015 22:23
Show Gist options
  • Save jrabbit/09fc21fec861fcfc8fba to your computer and use it in GitHub Desktop.
Save jrabbit/09fc21fec861fcfc8fba to your computer and use it in GitHub Desktop.
✗ sbt run
[info] Loading project definition from /home/jack/Projects/whereat-server/project
[info] Set current project to whereat-server (in build file:/home/jack/Projects/whereat-server/)
[info] Running Main
[error] (run-main-0) java.lang.ExceptionInInitializerError
java.lang.ExceptionInInitializerError
at Main.main(Main.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
Caused by: com.typesafe.config.ConfigException$UnresolvedSubstitution: application.conf: 32: Could not resolve substitution to a value: ${WHEREAT_TEST_DATABASE_URL_1}
at com.typesafe.config.impl.ConfigReference.resolveSubstitutions(ConfigReference.java:87)
at com.typesafe.config.impl.ResolveSource.resolveCheckingReplacement(ResolveSource.java:110)
at com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:114)
at com.typesafe.config.impl.SimpleConfigObject$1.modifyChildMayThrow(SimpleConfigObject.java:341)
at com.typesafe.config.impl.SimpleConfigObject.modifyMayThrow(SimpleConfigObject.java:280)
at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(SimpleConfigObject.java:321)
at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(SimpleConfigObject.java:25)
at com.typesafe.config.impl.ResolveSource.resolveCheckingReplacement(ResolveSource.java:110)
at com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:114)
at com.typesafe.config.impl.SimpleConfigObject$1.modifyChildMayThrow(SimpleConfigObject.java:341)
at com.typesafe.config.impl.SimpleConfigObject.modifyMayThrow(SimpleConfigObject.java:280)
at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(SimpleConfigObject.java:321)
at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(SimpleConfigObject.java:25)
at com.typesafe.config.impl.ResolveSource.resolveCheckingReplacement(ResolveSource.java:110)
at com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:114)
at com.typesafe.config.impl.SimpleConfigObject$1.modifyChildMayThrow(SimpleConfigObject.java:341)
at com.typesafe.config.impl.SimpleConfigObject.modifyMayThrow(SimpleConfigObject.java:280)
at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(SimpleConfigObject.java:321)
at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(SimpleConfigObject.java:25)
at com.typesafe.config.impl.ResolveSource.resolveCheckingReplacement(ResolveSource.java:110)
at com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:114)
at com.typesafe.config.impl.SimpleConfigObject$1.modifyChildMayThrow(SimpleConfigObject.java:341)
at com.typesafe.config.impl.SimpleConfigObject.modifyMayThrow(SimpleConfigObject.java:280)
at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(SimpleConfigObject.java:321)
at com.typesafe.config.impl.SimpleConfigObject.resolveSubstitutions(SimpleConfigObject.java:25)
at com.typesafe.config.impl.ResolveSource.resolveCheckingReplacement(ResolveSource.java:110)
at com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:114)
at com.typesafe.config.impl.ResolveContext.resolve(ResolveContext.java:149)
at com.typesafe.config.impl.SimpleConfig.resolveWith(SimpleConfig.java:70)
at com.typesafe.config.impl.SimpleConfig.resolve(SimpleConfig.java:60)
at com.typesafe.config.impl.SimpleConfig.resolve(SimpleConfig.java:33)
at com.typesafe.config.ConfigFactory.load(ConfigFactory.java:202)
at com.typesafe.config.ConfigFactory.load(ConfigFactory.java:114)
at com.typesafe.config.ConfigFactory.load(ConfigFactory.java:136)
at com.typesafe.config.ConfigFactory.loadDefaultConfig(ConfigFactory.java:228)
at com.typesafe.config.ConfigFactory.access$000(ConfigFactory.java:38)
at com.typesafe.config.ConfigFactory$1.call(ConfigFactory.java:378)
at com.typesafe.config.ConfigFactory$1.call(ConfigFactory.java:375)
at com.typesafe.config.impl.ConfigImpl$LoaderCache.getOrElseUpdate(ConfigImpl.java:58)
at com.typesafe.config.impl.ConfigImpl.computeCachedConfig(ConfigImpl.java:86)
at com.typesafe.config.ConfigFactory.load(ConfigFactory.java:375)
at com.typesafe.config.ConfigFactory.load(ConfigFactory.java:299)
at com.typesafe.config.ConfigFactory.load(ConfigFactory.java:288)
at cfg.Config$class.$init$(Config.scala:16)
at Main$.<init>(Main.scala:18)
at Main$.<clinit>(Main.scala)
at Main.main(Main.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
[trace] Stack trace suppressed: run last compile:run for the full output.
java.lang.RuntimeException: Nonzero exit code: 1
at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last compile:run for the full output.
[error] (compile:run) Nonzero exit code: 1
[error] Total time: 1 s, completed Nov 14, 2015 5:22:52 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment