{"action":"opened","issue":{"url":"https://api.github.com/repos/iheartradio/play-swagger/issues/215","repository_url":"https://api.github.com/repos/iheartradio/play-swagger","labels_url":"https://api.github.com/repos/iheartradio/play-swagger/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/iheartradio/play-swagger/issues/215/comments","events_url":"https://api.github.com/repos/iheartradio/play-swagger/issues/215/events","html_url":"https://github.com/iheartradio/play-swagger/issues/215","id":306504182,"number":215,"title":"play-swagger crashes  for play 2.6 scala 2.12","user":{"login":"yurir","id":695168,"avatar_url":"https://avatars3.githubusercontent.com/u/695168?v=4","gravatar_id":"","url":"https://api.github.com/users/yurir","html_url":"https://github.com/yurir","followers_url":"https://api.github.com/users/yurir/followers","following_url":"https://api.github.com/users/yurir/following{/other_user}","gists_url":"https://api.github.com/users/yurir/gists{/gist_id}","starred_url":"https://api.github.com/users/yurir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurir/subscriptions","organizations_url":"https://api.github.com/users/yurir/orgs","repos_url":"https://api.github.com/users/yurir/repos","events_url":"https://api.github.com/users/yurir/events{/privacy}","received_events_url":"https://api.github.com/users/yurir/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-19T15:10:57Z","updated_at":"2018-03-19T15:10:57Z","closed_at":null,"author_association":"NONE","body":"```\r\n[info] Running com.iheart.playSwagger.SwaggerSpecRunner /Users/yurironin/git/Eagle-2.6/target/swagger/swagger.json routes com.clarizen.model.api  false\r\n[error] (run-main-0) java.lang.NumberFormatException: For input string: \"null\"\r\n[error] java.lang.NumberFormatException: For input string: \"null\"\r\n[error] \tat java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)\r\n[error] \tat java.lang.Long.parseLong(Long.java:589)\r\n[error] \tat java.lang.Long.parseLong(Long.java:631)\r\n[error] \tat scala.collection.immutable.StringLike.toLong(StringLike.scala:306)\r\n[error] \tat scala.collection.immutable.StringLike.toLong$(StringLike.scala:306)\r\n[error] \tat scala.collection.immutable.StringOps.toLong(StringOps.scala:29)\r\n[error] \tat com.iheart.playSwagger.SwaggerParameterMapper$.$anonfun$mapParam$5(SwaggerParameterMapper.scala:33)\r\n[error] \tat scala.Option.map(Option.scala:146)\r\n[error] \tat com.iheart.playSwagger.SwaggerParameterMapper$.mapParam(SwaggerParameterMapper.scala:31)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecGenerator.$anonfun$endPointSpec$4(SwaggerSpecGenerator.scala:364)\r\n[error] \tat scala.collection.TraversableLike$WithFilter.$anonfun$map$2(TraversableLike.scala:739)\r\n[error] \tat scala.collection.immutable.List.foreach(List.scala:389)\r\n[error] \tat scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:738)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecGenerator.$anonfun$endPointSpec$2(SwaggerSpecGenerator.scala:362)\r\n[error] \tat scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:241)\r\n[error] \tat scala.collection.immutable.List.foreach(List.scala:389)\r\n[error] \tat scala.collection.TraversableLike.flatMap(TraversableLike.scala:241)\r\n[error] \tat scala.collection.TraversableLike.flatMap$(TraversableLike.scala:238)\r\n[error] \tat scala.collection.immutable.List.flatMap(List.scala:352)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecGenerator.endPointSpec(SwaggerSpecGenerator.scala:361)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecGenerator.endPointEntry(SwaggerSpecGenerator.scala:327)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecGenerator.$anonfun$paths$1(SwaggerSpecGenerator.scala:303)\r\n[error] \tat scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:241)\r\n[error] \tat scala.collection.immutable.List.foreach(List.scala:389)\r\n[error] \tat scala.collection.TraversableLike.flatMap(TraversableLike.scala:241)\r\n[error] \tat scala.collection.TraversableLike.flatMap$(TraversableLike.scala:238)\r\n[error] \tat scala.collection.immutable.List.flatMap(List.scala:352)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecGenerator.paths(SwaggerSpecGenerator.scala:303)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecGenerator.$anonfun$generateFromRoutes$1(SwaggerSpecGenerator.scala:118)\r\n[error] \tat scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)\r\n[error] \tat scala.collection.Iterator.foreach(Iterator.scala:929)\r\n[error] \tat scala.collection.Iterator.foreach$(Iterator.scala:929)\r\n[error] \tat scala.collection.AbstractIterator.foreach(Iterator.scala:1417)\r\n[error] \tat scala.collection.IterableLike.foreach(IterableLike.scala:71)\r\n[error] \tat scala.collection.IterableLike.foreach$(IterableLike.scala:70)\r\n[error] \tat scala.collection.AbstractIterable.foreach(Iterable.scala:54)\r\n[error] \tat scala.collection.TraversableLike.map(TraversableLike.scala:234)\r\n[error] \tat scala.collection.TraversableLike.map$(TraversableLike.scala:227)\r\n[error] \tat scala.collection.AbstractTraversable.map(Traversable.scala:104)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecGenerator.generateFromRoutes(SwaggerSpecGenerator.scala:115)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecGenerator.$anonfun$generateFromRoutesFile$16(SwaggerSpecGenerator.scala:100)\r\n[error] \tat scala.util.Success.flatMap(Try.scala:247)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecGenerator.generateFromRoutesFile(SwaggerSpecGenerator.scala:99)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecGenerator.generate(SwaggerSpecGenerator.scala:45)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecRunner$.swaggerJson(SwaggerSpecRunner.scala:27)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecRunner$.delayedEndpoint$com$iheart$playSwagger$SwaggerSpecRunner$1(SwaggerSpecRunner.scala:30)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecRunner$delayedInit$body.apply(SwaggerSpecRunner.scala:7)\r\n[error] \tat scala.Function0.apply$mcV$sp(Function0.scala:34)\r\n[error] \tat scala.Function0.apply$mcV$sp$(Function0.scala:34)\r\n[error] \tat scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)\r\n[error] \tat scala.App.$anonfun$main$1$adapted(App.scala:76)\r\n[error] \tat scala.collection.immutable.List.foreach(List.scala:389)\r\n[error] \tat scala.App.main(App.scala:76)\r\n[error] \tat scala.App.main$(App.scala:74)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecRunner$.main(SwaggerSpecRunner.scala:7)\r\n[error] \tat com.iheart.playSwagger.SwaggerSpecRunner.main(SwaggerSpecRunner.scala)\r\n[error] \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n[error] \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n[error] \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n[error] \tat java.lang.reflect.Method.invoke(Method.java:498)\r\n[error] \tat sbt.Run.invokeMain(Run.scala:89)\r\n[error] \tat sbt.Run.run0(Run.scala:83)\r\n[error] \tat sbt.Run.execute$1(Run.scala:61)\r\n[error] \tat sbt.Run.$anonfun$run$4(Run.scala:73)\r\n[error] \tat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)\r\n[error] \tat sbt.util.InterfaceUtil$$anon$1.get(InterfaceUtil.scala:10)\r\n[error] \tat sbt.TrapExit$App.run(TrapExit.scala:252)\r\n[error] \tat java.lang.Thread.run(Thread.java:745)\r\n[error] java.lang.RuntimeException: Nonzero exit code: 1\r\n[error] \tat scala.sys.package$.error(package.scala:27)\r\n[error] \tat com.iheart.sbtPlaySwagger.SwaggerPlugin$.$anonfun$projectSettings$11(SwaggerPlugin.scala:45)\r\n[error] \tat scala.util.Success.foreach(Try.scala:249)\r\n[error] \tat com.iheart.sbtPlaySwagger.SwaggerPlugin$.$anonfun$projectSettings$10(SwaggerPlugin.scala:45)\r\n[error] \tat scala.Function1.$anonfun$compose$1(Function1.scala:44)\r\n[error] \tat sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:42)\r\n[error] \tat sbt.std.Transform$$anon$4.work(System.scala:64)\r\n[error] \tat sbt.Execute.$anonfun$submit$2(Execute.scala:257)\r\n[error] \tat sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)\r\n[error] \tat sbt.Execute.work(Execute.scala:266)\r\n[error] \tat sbt.Execute.$anonfun$submit$1(Execute.scala:257)\r\n[error] \tat sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:167)\r\n[error] \tat sbt.CompletionService$$anon$2.call(CompletionService.scala:32)\r\n[error] \tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n[error] \tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n[error] \tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n[error] \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n[error] \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n[error] \tat java.lang.Thread.run(Thread.java:745)\r\n[error] (*:swagger) Nonzero exit code: 1\r\n\r\n```"}}
{"actor":{"display_login":"yurir"}}