{"action":"created","issue":{"url":"https://api.github.com/repos/pauljamescleary/scala-pet-store/issues/105","repository_url":"https://api.github.com/repos/pauljamescleary/scala-pet-store","labels_url":"https://api.github.com/repos/pauljamescleary/scala-pet-store/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/pauljamescleary/scala-pet-store/issues/105/comments","events_url":"https://api.github.com/repos/pauljamescleary/scala-pet-store/issues/105/events","html_url":"https://github.com/pauljamescleary/scala-pet-store/issues/105","id":388020745,"node_id":"MDU6SXNzdWUzODgwMjA3NDU=","number":105,"title":"`sbt run` not working","user":{"login":"leeshangqian","id":6016312,"node_id":"MDQ6VXNlcjYwMTYzMTI=","avatar_url":"https://avatars0.githubusercontent.com/u/6016312?v=4","gravatar_id":"","url":"https://api.github.com/users/leeshangqian","html_url":"https://github.com/leeshangqian","followers_url":"https://api.github.com/users/leeshangqian/followers","following_url":"https://api.github.com/users/leeshangqian/following{/other_user}","gists_url":"https://api.github.com/users/leeshangqian/gists{/gist_id}","starred_url":"https://api.github.com/users/leeshangqian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeshangqian/subscriptions","organizations_url":"https://api.github.com/users/leeshangqian/orgs","repos_url":"https://api.github.com/users/leeshangqian/repos","events_url":"https://api.github.com/users/leeshangqian/events{/privacy}","received_events_url":"https://api.github.com/users/leeshangqian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-06T01:43:35Z","updated_at":"2018-12-28T03:55:03Z","closed_at":null,"author_association":"NONE","body":"When using `sbt run` to start the project, it appears that `pureconfig.loadConfig` cannot find the `reference.conf` file. It complains that the `petstore` key is missing even though it's there.\r\n\r\n```\r\npureconfig.error.ConfigReaderException: Cannot convert configuration to a io.github.pauljamescleary.petstore.config.PetStoreConfig. Failures are:\r\n  at the root:\r\n    - Key not found: 'petstore'.\r\n```"},"comment":{"url":"https://api.github.com/repos/pauljamescleary/scala-pet-store/issues/comments/450284572","html_url":"https://github.com/pauljamescleary/scala-pet-store/issues/105#issuecomment-450284572","issue_url":"https://api.github.com/repos/pauljamescleary/scala-pet-store/issues/105","id":450284572,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDI4NDU3Mg==","user":{"login":"zakpatterson","id":1987109,"node_id":"MDQ6VXNlcjE5ODcxMDk=","avatar_url":"https://avatars1.githubusercontent.com/u/1987109?v=4","gravatar_id":"","url":"https://api.github.com/users/zakpatterson","html_url":"https://github.com/zakpatterson","followers_url":"https://api.github.com/users/zakpatterson/followers","following_url":"https://api.github.com/users/zakpatterson/following{/other_user}","gists_url":"https://api.github.com/users/zakpatterson/gists{/gist_id}","starred_url":"https://api.github.com/users/zakpatterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zakpatterson/subscriptions","organizations_url":"https://api.github.com/users/zakpatterson/orgs","repos_url":"https://api.github.com/users/zakpatterson/repos","events_url":"https://api.github.com/users/zakpatterson/events{/privacy}","received_events_url":"https://api.github.com/users/zakpatterson/received_events","type":"User","site_admin":false},"created_at":"2018-12-28T03:55:03Z","updated_at":"2018-12-28T03:55:03Z","author_association":"CONTRIBUTOR","body":"I'm still seeing it, here's the full trace:\r\n\r\n```\r\n⟩ sbt run\r\n[info] Loading settings for project global-plugins from idea.sbt,sbt-updates.sbt,plugins.sbt,metals.sbt ...\r\n[info] Loading global plugins from /Users/zak/.sbt/1.0/plugins\r\n[info] Loading settings for project scala-pet-store-build from plugins.sbt ...\r\n[info] Loading project definition from /Users/zak/projects/clovellytech/oss/scala-pet-store/project\r\n[info] Loading settings for project scala-pet-store from build.sbt ...\r\n[info] Set current project to scala-pet-store (in build file:/Users/zak/projects/clovellytech/oss/scala-pet-store/)\r\n[info] Compiling 2 Scala sources to /Users/zak/projects/clovellytech/oss/scala-pet-store/target/scala-2.12/classes ...\r\n[info] Done compiling.\r\nWARNING: An illegal reflective access operation has occurred\r\nWARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/Users/zak/.sbt/boot/scala-2.12.7/org.scala-sbt/sbt/1.2.6/protobuf-java-3.3.1.jar) to field java.nio.Buffer.address\r\nWARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil\r\nWARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations\r\nWARNING: All illegal access operations will be denied in a future release\r\n[info] Packaging /Users/zak/projects/clovellytech/oss/scala-pet-store/target/scala-2.12/scala-pet-store_2.12-0.0.1-SNAPSHOT.jar ...\r\n[info] Done packaging.\r\n[info] Running io.github.pauljamescleary.petstore.Server \r\npureconfig.error.ConfigReaderException: Cannot convert configuration to a io.github.pauljamescleary.petstore.config.PetStoreConfig. Failures are:\r\n  at the root:\r\n    - Key not found: 'petstore'.\r\n\r\n\tat io.github.pauljamescleary.petstore.config.PetStoreConfig$.$anonfun$load$3(PetStoreConfig.scala:20)\r\n\tat cats.effect.internals.IORunLoop$.cats$effect$internals$IORunLoop$$loop(IORunLoop.scala:137)\r\n\tat cats.effect.internals.IORunLoop$.start(IORunLoop.scala:34)\r\n\tat cats.effect.internals.IOBracket$.$anonfun$apply$1(IOBracket.scala:36)\r\n\tat cats.effect.internals.IOBracket$.$anonfun$apply$1$adapted(IOBracket.scala:33)\r\n\tat cats.effect.internals.IORunLoop$RestartCallback.start(IORunLoop.scala:328)\r\n\tat cats.effect.internals.IORunLoop$.cats$effect$internals$IORunLoop$$loop(IORunLoop.scala:117)\r\n\tat cats.effect.internals.IORunLoop$RestartCallback.signal(IORunLoop.scala:336)\r\n\tat cats.effect.internals.IORunLoop$RestartCallback.apply(IORunLoop.scala:357)\r\n\tat cats.effect.internals.IORunLoop$RestartCallback.apply(IORunLoop.scala:303)\r\n\tat cats.effect.internals.IOShift$Tick.run(IOShift.scala:36)\r\n\tat java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426)\r\n\tat java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)\r\n\tat java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)\r\n\tat java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)\r\n\tat java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)\r\n\tat java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)\r\n\r\nException: sbt.TrapExitSecurityException thrown from the UncaughtExceptionHandler in thread \"run-main-0\"\r\n[error] Nonzero exit code: 1\r\n[error] (Compile / run) Nonzero exit code: 1\r\n[error] Total time: 7 s, completed Dec 27, 2018, 10:53:44 PM\r\n```"}}
{"actor":{"display_login":"zakpatterson"}}