{"action":"created","issue":{"url":"https://api.github.com/repos/playframework/playframework/issues/5859","repository_url":"https://api.github.com/repos/playframework/playframework","labels_url":"https://api.github.com/repos/playframework/playframework/issues/5859/labels{/name}","comments_url":"https://api.github.com/repos/playframework/playframework/issues/5859/comments","events_url":"https://api.github.com/repos/playframework/playframework/issues/5859/events","html_url":"https://github.com/playframework/playframework/issues/5859","id":140057408,"number":5859,"title":"Underscore in the routes file causes runtime error","user":{"login":"tenorviol","id":157127,"avatar_url":"https://avatars.githubusercontent.com/u/157127?v=3","gravatar_id":"","url":"https://api.github.com/users/tenorviol","html_url":"https://github.com/tenorviol","followers_url":"https://api.github.com/users/tenorviol/followers","following_url":"https://api.github.com/users/tenorviol/following{/other_user}","gists_url":"https://api.github.com/users/tenorviol/gists{/gist_id}","starred_url":"https://api.github.com/users/tenorviol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tenorviol/subscriptions","organizations_url":"https://api.github.com/users/tenorviol/orgs","repos_url":"https://api.github.com/users/tenorviol/repos","events_url":"https://api.github.com/users/tenorviol/events{/privacy}","received_events_url":"https://api.github.com/users/tenorviol/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-11T01:20:14Z","updated_at":"2016-03-11T01:50:02Z","closed_at":null,"body":"### Play Version (2.5.x / etc)\r\n\r\n2.5.0\r\n\r\n### API (Scala / Java / Neither / Both)\r\n\r\nNeither\r\n\r\n### Operating System (Ubuntu 15.10 / MacOS 10.10 / Windows 10)\r\n\r\nN/A\r\n\r\n### JDK (Oracle 1.8.0_72, OpenJDK 1.8.x, Azul Zing)\r\n\r\nN/A\r\n\r\n### Library Dependencies\r\n\r\nN/A\r\n\r\n### Expected Behavior\r\n\r\nShould run without runtime exception\r\n\r\n### Actual Behavior\r\n\r\n```\r\nplay.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[RuntimeException: java.lang.NoSuchMethodError: play.api.libs.functional.syntax.package$.functionalCanBuildApplicative(Lplay/api/libs/functional/Applicative;)Lplay/api/libs/functional/FunctionalCanBuild;]]\r\n\tat play.api.http.HttpErrorHandlerExceptions$.throwableToUsefulException(HttpErrorHandler.scala:269)\r\n\tat play.api.http.DefaultHttpErrorHandler.onServerError(HttpErrorHandler.scala:195)\r\n\tat play.api.GlobalSettings$class.onError(GlobalSettings.scala:160)\r\n\tat play.api.DefaultGlobal$.onError(GlobalSettings.scala:188)\r\n\tat play.api.http.GlobalSettingsHttpErrorHandler.onServerError(HttpErrorHandler.scala:98)\r\n\tat play.core.server.netty.PlayRequestHandler$$anonfun$2$$anonfun$apply$1.applyOrElse(PlayRequestHandler.scala:99)\r\n\tat play.core.server.netty.PlayRequestHandler$$anonfun$2$$anonfun$apply$1.applyOrElse(PlayRequestHandler.scala:98)\r\n\tat scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:344)\r\n\tat scala.concurrent.Future$$anonfun$recoverWith$1.apply(Future.scala:343)\r\n\tat scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)\r\n```\r\n\r\n### Reproducible Test Case\r\n\r\nIt seems to happen from the underscore, `_type`:\r\n\r\n```scala\r\nGET     /services/:_type            controllers.HomeController.services(_type: String)\r\n```"},"comment":{"url":"https://api.github.com/repos/playframework/playframework/issues/comments/195138759","html_url":"https://github.com/playframework/playframework/issues/5859#issuecomment-195138759","issue_url":"https://api.github.com/repos/playframework/playframework/issues/5859","id":195138759,"user":{"login":"gmethvin","id":171663,"avatar_url":"https://avatars.githubusercontent.com/u/171663?v=3","gravatar_id":"","url":"https://api.github.com/users/gmethvin","html_url":"https://github.com/gmethvin","followers_url":"https://api.github.com/users/gmethvin/followers","following_url":"https://api.github.com/users/gmethvin/following{/other_user}","gists_url":"https://api.github.com/users/gmethvin/gists{/gist_id}","starred_url":"https://api.github.com/users/gmethvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmethvin/subscriptions","organizations_url":"https://api.github.com/users/gmethvin/orgs","repos_url":"https://api.github.com/users/gmethvin/repos","events_url":"https://api.github.com/users/gmethvin/events{/privacy}","received_events_url":"https://api.github.com/users/gmethvin/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T01:50:02Z","updated_at":"2016-03-11T01:50:02Z","body":"Hi @tenorviol,\r\n\r\nI'm unable to reproduce this myself on a new Play 2.5 project, and the error you are getting seems to have nothing to do with the underscore in the routes. Are you able to provide an example project that demonstrates the issue?"}}