Subscribed unsubscribe Subscribe Subscribe

@peccul is peccu

(love peccu '(emacs lisp cat outdoor bicycle mac linux coffee))

GitBucketでプルリクにコメントを書くとエラーが出て困った

GitBucketでプルリクにコメントを書くと下記エラーが発生する。 再現させるのが難しい。そのプルリクで起こるとずっと発生するし、コメントをかけるプルリクもある。

困った。

org.h2.jdbc.JdbcSQLException: The object is already closed; SQL statement:
insert into "ISSUE_COMMENT" ("USER_NAME","REPOSITORY_NAME","ISSUE_ID","ACTION","COMMENTED_USER_NAME","CONTENT","REGISTERED_DATE","UPDATED_DATE")  values (?,?,?,?,?,?,?,?) [90007-180]
    at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
    at org.h2.message.DbException.get(DbException.java:179)
    at org.h2.message.DbException.get(DbException.java:155)
    at org.h2.message.DbException.get(DbException.java:144)
    at org.h2.store.LobStorageMap.createClob(LobStorageMap.java:166)
    at org.h2.value.ValueLobDb.link(ValueLobDb.java:256)
    at org.h2.mvstore.db.MVPrimaryIndex.add(MVPrimaryIndex.java:120)
    at org.h2.mvstore.db.MVTable.addRow(MVTable.java:620)
    at org.h2.command.dml.Insert.insertRows(Insert.java:156)
    at org.h2.command.dml.Insert.update(Insert.java:114)
    at org.h2.command.CommandContainer.update(CommandContainer.java:78)
    at org.h2.command.Command.executeUpdate(Command.java:254)
    at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:157)
    at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:143)
    at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:1449)
    at scala.slick.driver.JdbcInsertInvokerComponent$BaseInsertInvoker$$anonfun$internalInsert$1.apply(JdbcInsertInvokerComponent.scala:183)
    at scala.slick.driver.JdbcInsertInvokerComponent$BaseInsertInvoker$$anonfun$internalInsert$1.apply(JdbcInsertInvokerComponent.scala:180)
    at scala.slick.jdbc.JdbcBackend$SessionDef$class.withPreparedInsertStatement(JdbcBackend.scala:198)
    at scala.slick.jdbc.JdbcBackend$BaseSession.withPreparedInsertStatement(JdbcBackend.scala:389)
    at scala.slick.driver.JdbcInsertInvokerComponent$ReturningInsertInvoker.preparedInsert(JdbcInsertInvokerComponent.scala:301)
    at scala.slick.driver.JdbcInsertInvokerComponent$BaseInsertInvoker.internalInsert(JdbcInsertInvokerComponent.scala:180)
    at scala.slick.driver.JdbcInsertInvokerComponent$BaseInsertInvoker.insert(JdbcInsertInvokerComponent.scala:175)
    at gitbucket.core.service.IssuesService$class.createComment(IssuesService.scala:283)
    at gitbucket.core.controller.IssuesController.createComment(IssuesController.scala:18)
    at gitbucket.core.controller.IssuesControllerBase$$anonfun$gitbucket$core$controller$IssuesControllerBase$$handleComment$1$$anonfun$apply$92.apply(IssuesController.scala:386)
    at gitbucket.core.controller.IssuesControllerBase$$anonfun$gitbucket$core$controller$IssuesControllerBase$$handleComment$1$$anonfun$apply$92.apply(IssuesController.scala:368)
    at scala.Option.flatMap(Option.scala:171)
    at gitbucket.core.controller.IssuesControllerBase$$anonfun$gitbucket$core$controller$IssuesControllerBase$$handleComment$1.apply(IssuesController.scala:368)
    at gitbucket.core.controller.IssuesControllerBase$$anonfun$gitbucket$core$controller$IssuesControllerBase$$handleComment$1.apply(IssuesController.scala:365)
    at gitbucket.core.util.ControlUtil$.defining(ControlUtil.scala:14)
    at gitbucket.core.controller.IssuesControllerBase$class.gitbucket$core$controller$IssuesControllerBase$$handleComment(IssuesController.scala:365)
    at gitbucket.core.controller.IssuesControllerBase$$anonfun$14.apply(IssuesController.scala:177)
    at gitbucket.core.controller.IssuesControllerBase$$anonfun$14.apply(IssuesController.scala:176)
    at gitbucket.core.util.ReadableUsersAuthenticator$$anonfun$readableUsersOnly$1$$anonfun$apply$14.apply(Authenticator.scala:143)
    at gitbucket.core.util.ReadableUsersAuthenticator$$anonfun$readableUsersOnly$1$$anonfun$apply$14.apply(Authenticator.scala:143)
    at gitbucket.core.util.ReadableUsersAuthenticator$$anonfun$gitbucket$core$util$ReadableUsersAuthenticator$$authenticate$1$$anonfun$apply$15.apply(Authenticator.scala:150)
    at gitbucket.core.util.ReadableUsersAuthenticator$$anonfun$gitbucket$core$util$ReadableUsersAuthenticator$$authenticate$1$$anonfun$apply$15.apply(Authenticator.scala:148)
    at scala.Option.map(Option.scala:146)
    at gitbucket.core.util.ReadableUsersAuthenticator$$anonfun$gitbucket$core$util$ReadableUsersAuthenticator$$authenticate$1.apply(Authenticator.scala:148)
    at gitbucket.core.util.ReadableUsersAuthenticator$$anonfun$gitbucket$core$util$ReadableUsersAuthenticator$$authenticate$1.apply(Authenticator.scala:147)
    at gitbucket.core.util.ControlUtil$.defining(ControlUtil.scala:14)
    at gitbucket.core.util.ReadableUsersAuthenticator$class.gitbucket$core$util$ReadableUsersAuthenticator$$authenticate(Authenticator.scala:147)
    at gitbucket.core.util.ReadableUsersAuthenticator$$anonfun$readableUsersOnly$1.apply(Authenticator.scala:143)
    at jp.sf.amateras.scalatra.forms.ClientSideValidationFormSupport$$anonfun$post$1$$anonfun$apply$2.apply(ClientSideValidationFormSupport.scala:24)
    at jp.sf.amateras.scalatra.forms.package$.withValidation(package.scala:21)
    at jp.sf.amateras.scalatra.forms.ClientSideValidationFormSupport$$anonfun$post$1.apply(ClientSideValidationFormSupport.scala:23)
    at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$liftAction(ScalatraBase.scala:270)
    at org.scalatra.ScalatraBase$$anonfun$invoke$1.apply(ScalatraBase.scala:265)
    at org.scalatra.ScalatraBase$$anonfun$invoke$1.apply(ScalatraBase.scala:265)
    at org.scalatra.ApiFormats$class.withRouteMultiParams(ApiFormats.scala:182)
    at gitbucket.core.controller.ControllerBase.withRouteMultiParams(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$class.invoke(ScalatraBase.scala:264)
    at gitbucket.core.controller.ControllerBase.org$scalatra$json$JsonSupport$$super$invoke(ControllerBase.scala:27)
    at org.scalatra.json.JsonSupport$$anonfun$invoke$1.apply(JsonSupport.scala:88)
    at org.scalatra.json.JsonSupport$$anonfun$invoke$1.apply(JsonSupport.scala:82)
    at org.scalatra.ApiFormats$class.withRouteMultiParams(ApiFormats.scala:182)
    at gitbucket.core.controller.ControllerBase.withRouteMultiParams(ControllerBase.scala:27)
    at org.scalatra.json.JsonSupport$class.invoke(JsonSupport.scala:82)
    at gitbucket.core.controller.ControllerBase.invoke(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$$anonfun$runRoutes$1$$anonfun$apply$8.apply(ScalatraBase.scala:240)
    at org.scalatra.ScalatraBase$$anonfun$runRoutes$1$$anonfun$apply$8.apply(ScalatraBase.scala:238)
    at scala.Option.flatMap(Option.scala:171)
    at org.scalatra.ScalatraBase$$anonfun$runRoutes$1.apply(ScalatraBase.scala:238)
    at org.scalatra.ScalatraBase$$anonfun$runRoutes$1.apply(ScalatraBase.scala:237)
    at scala.collection.immutable.Stream.flatMap(Stream.scala:493)
    at org.scalatra.ScalatraBase$class.runRoutes(ScalatraBase.scala:237)
    at gitbucket.core.controller.ControllerBase.runRoutes(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$class.runActions$1(ScalatraBase.scala:163)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply$mcV$sp(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$cradleHalt(ScalatraBase.scala:193)
    at org.scalatra.ScalatraBase$class.executeRoutes(ScalatraBase.scala:175)
    at gitbucket.core.controller.ControllerBase.executeRoutes(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply$mcV$sp(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:80)
    at gitbucket.core.controller.ControllerBase.withResponse(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:60)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:59)
    at gitbucket.core.controller.ControllerBase.withRequestResponse(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$class.handle(ScalatraBase.scala:111)
    at gitbucket.core.controller.ControllerBase.org$scalatra$servlet$ServletBase$$super$handle(ControllerBase.scala:27)
    at org.scalatra.servlet.ServletBase$class.handle(ServletBase.scala:43)
    at gitbucket.core.controller.ControllerBase.org$scalatra$FlashMapSupport$$super$handle(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply$mcV$sp(flashMap.scala:162)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$class.handle(flashMap.scala:136)
    at gitbucket.core.controller.ControllerBase.handle(ControllerBase.scala:27)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply$mcV$sp(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.ScalatraFilter$class.doFilter(ScalatraFilter.scala:32)
    at gitbucket.core.controller.ControllerBase.doFilter(ControllerBase.scala:64)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply$mcV$sp(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraBase$$anonfun$2$$anonfun$apply$4.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$$anonfun$2.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$class.runActions$1(ScalatraBase.scala:165)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply$mcV$sp(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$cradleHalt(ScalatraBase.scala:193)
    at org.scalatra.ScalatraBase$class.executeRoutes(ScalatraBase.scala:175)
    at gitbucket.core.controller.ControllerBase.executeRoutes(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply$mcV$sp(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:80)
    at gitbucket.core.controller.ControllerBase.withResponse(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:60)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:59)
    at gitbucket.core.controller.ControllerBase.withRequestResponse(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$class.handle(ScalatraBase.scala:111)
    at gitbucket.core.controller.ControllerBase.org$scalatra$servlet$ServletBase$$super$handle(ControllerBase.scala:27)
    at org.scalatra.servlet.ServletBase$class.handle(ServletBase.scala:43)
    at gitbucket.core.controller.ControllerBase.org$scalatra$FlashMapSupport$$super$handle(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply$mcV$sp(flashMap.scala:162)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$class.handle(flashMap.scala:136)
    at gitbucket.core.controller.ControllerBase.handle(ControllerBase.scala:27)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply$mcV$sp(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.ScalatraFilter$class.doFilter(ScalatraFilter.scala:32)
    at gitbucket.core.controller.ControllerBase.doFilter(ControllerBase.scala:64)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply$mcV$sp(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraBase$$anonfun$2$$anonfun$apply$4.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$$anonfun$2.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$class.runActions$1(ScalatraBase.scala:165)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply$mcV$sp(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$cradleHalt(ScalatraBase.scala:193)
    at org.scalatra.ScalatraBase$class.executeRoutes(ScalatraBase.scala:175)
    at gitbucket.core.controller.ControllerBase.executeRoutes(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply$mcV$sp(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:80)
    at gitbucket.core.controller.ControllerBase.withResponse(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:60)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:59)
    at gitbucket.core.controller.ControllerBase.withRequestResponse(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$class.handle(ScalatraBase.scala:111)
    at gitbucket.core.controller.ControllerBase.org$scalatra$servlet$ServletBase$$super$handle(ControllerBase.scala:27)
    at org.scalatra.servlet.ServletBase$class.handle(ServletBase.scala:43)
    at gitbucket.core.controller.ControllerBase.org$scalatra$FlashMapSupport$$super$handle(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply$mcV$sp(flashMap.scala:162)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$class.handle(flashMap.scala:136)
    at gitbucket.core.controller.ControllerBase.handle(ControllerBase.scala:27)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply$mcV$sp(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.ScalatraFilter$class.doFilter(ScalatraFilter.scala:32)
    at gitbucket.core.controller.ControllerBase.doFilter(ControllerBase.scala:64)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply$mcV$sp(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraBase$$anonfun$2$$anonfun$apply$4.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$$anonfun$2.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$class.runActions$1(ScalatraBase.scala:165)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply$mcV$sp(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$cradleHalt(ScalatraBase.scala:193)
    at org.scalatra.ScalatraBase$class.executeRoutes(ScalatraBase.scala:175)
    at gitbucket.core.controller.ControllerBase.executeRoutes(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply$mcV$sp(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:80)
    at gitbucket.core.controller.ControllerBase.withResponse(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:60)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:59)
    at gitbucket.core.controller.ControllerBase.withRequestResponse(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$class.handle(ScalatraBase.scala:111)
    at gitbucket.core.controller.ControllerBase.org$scalatra$servlet$ServletBase$$super$handle(ControllerBase.scala:27)
    at org.scalatra.servlet.ServletBase$class.handle(ServletBase.scala:43)
    at gitbucket.core.controller.ControllerBase.org$scalatra$FlashMapSupport$$super$handle(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply$mcV$sp(flashMap.scala:162)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$class.handle(flashMap.scala:136)
    at gitbucket.core.controller.ControllerBase.handle(ControllerBase.scala:27)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply$mcV$sp(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.ScalatraFilter$class.doFilter(ScalatraFilter.scala:32)
    at gitbucket.core.controller.ControllerBase.doFilter(ControllerBase.scala:64)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply$mcV$sp(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraBase$$anonfun$2$$anonfun$apply$4.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$$anonfun$2.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$class.runActions$1(ScalatraBase.scala:165)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply$mcV$sp(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$cradleHalt(ScalatraBase.scala:193)
    at org.scalatra.ScalatraBase$class.executeRoutes(ScalatraBase.scala:175)
    at gitbucket.core.controller.ControllerBase.executeRoutes(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply$mcV$sp(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:80)
    at gitbucket.core.controller.ControllerBase.withResponse(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:60)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:59)
    at gitbucket.core.controller.ControllerBase.withRequestResponse(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$class.handle(ScalatraBase.scala:111)
    at gitbucket.core.controller.ControllerBase.org$scalatra$servlet$ServletBase$$super$handle(ControllerBase.scala:27)
    at org.scalatra.servlet.ServletBase$class.handle(ServletBase.scala:43)
    at gitbucket.core.controller.ControllerBase.org$scalatra$FlashMapSupport$$super$handle(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply$mcV$sp(flashMap.scala:162)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$class.handle(flashMap.scala:136)
    at gitbucket.core.controller.ControllerBase.handle(ControllerBase.scala:27)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply$mcV$sp(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.ScalatraFilter$class.doFilter(ScalatraFilter.scala:32)
    at gitbucket.core.controller.ControllerBase.doFilter(ControllerBase.scala:64)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply$mcV$sp(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraBase$$anonfun$2$$anonfun$apply$4.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$$anonfun$2.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$class.runActions$1(ScalatraBase.scala:165)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply$mcV$sp(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$cradleHalt(ScalatraBase.scala:193)
    at org.scalatra.ScalatraBase$class.executeRoutes(ScalatraBase.scala:175)
    at gitbucket.core.controller.ControllerBase.executeRoutes(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply$mcV$sp(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:80)
    at gitbucket.core.controller.ControllerBase.withResponse(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:60)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:59)
    at gitbucket.core.controller.ControllerBase.withRequestResponse(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$class.handle(ScalatraBase.scala:111)
    at gitbucket.core.controller.ControllerBase.org$scalatra$servlet$ServletBase$$super$handle(ControllerBase.scala:27)
    at org.scalatra.servlet.ServletBase$class.handle(ServletBase.scala:43)
    at gitbucket.core.controller.ControllerBase.org$scalatra$FlashMapSupport$$super$handle(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply$mcV$sp(flashMap.scala:162)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$class.handle(flashMap.scala:136)
    at gitbucket.core.controller.ControllerBase.handle(ControllerBase.scala:27)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply$mcV$sp(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.ScalatraFilter$class.doFilter(ScalatraFilter.scala:32)
    at gitbucket.core.controller.ControllerBase.doFilter(ControllerBase.scala:64)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply$mcV$sp(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraBase$$anonfun$2$$anonfun$apply$4.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$$anonfun$2.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$class.runActions$1(ScalatraBase.scala:165)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply$mcV$sp(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$cradleHalt(ScalatraBase.scala:193)
    at org.scalatra.ScalatraBase$class.executeRoutes(ScalatraBase.scala:175)
    at gitbucket.core.controller.ControllerBase.executeRoutes(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply$mcV$sp(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:80)
    at gitbucket.core.controller.ControllerBase.withResponse(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:60)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:59)
    at gitbucket.core.controller.ControllerBase.withRequestResponse(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$class.handle(ScalatraBase.scala:111)
    at gitbucket.core.controller.ControllerBase.org$scalatra$servlet$ServletBase$$super$handle(ControllerBase.scala:27)
    at org.scalatra.servlet.ServletBase$class.handle(ServletBase.scala:43)
    at gitbucket.core.controller.ControllerBase.org$scalatra$FlashMapSupport$$super$handle(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply$mcV$sp(flashMap.scala:162)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$class.handle(flashMap.scala:136)
    at gitbucket.core.controller.ControllerBase.handle(ControllerBase.scala:27)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply$mcV$sp(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.ScalatraFilter$class.doFilter(ScalatraFilter.scala:32)
    at gitbucket.core.controller.ControllerBase.doFilter(ControllerBase.scala:64)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply$mcV$sp(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraBase$$anonfun$2$$anonfun$apply$4.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$$anonfun$2.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$class.runActions$1(ScalatraBase.scala:165)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply$mcV$sp(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$cradleHalt(ScalatraBase.scala:193)
    at org.scalatra.ScalatraBase$class.executeRoutes(ScalatraBase.scala:175)
    at gitbucket.core.controller.ControllerBase.executeRoutes(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply$mcV$sp(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:80)
    at gitbucket.core.controller.ControllerBase.withResponse(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:60)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:59)
    at gitbucket.core.controller.ControllerBase.withRequestResponse(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$class.handle(ScalatraBase.scala:111)
    at gitbucket.core.controller.ControllerBase.org$scalatra$servlet$ServletBase$$super$handle(ControllerBase.scala:27)
    at org.scalatra.servlet.ServletBase$class.handle(ServletBase.scala:43)
    at gitbucket.core.controller.ControllerBase.org$scalatra$FlashMapSupport$$super$handle(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply$mcV$sp(flashMap.scala:162)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$class.handle(flashMap.scala:136)
    at gitbucket.core.controller.ControllerBase.handle(ControllerBase.scala:27)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply$mcV$sp(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.ScalatraFilter$class.doFilter(ScalatraFilter.scala:32)
    at gitbucket.core.controller.ControllerBase.doFilter(ControllerBase.scala:64)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply$mcV$sp(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraBase$$anonfun$2$$anonfun$apply$4.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$$anonfun$2.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$class.runActions$1(ScalatraBase.scala:165)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply$mcV$sp(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$cradleHalt(ScalatraBase.scala:193)
    at org.scalatra.ScalatraBase$class.executeRoutes(ScalatraBase.scala:175)
    at gitbucket.core.controller.ControllerBase.executeRoutes(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply$mcV$sp(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:80)
    at gitbucket.core.controller.ControllerBase.withResponse(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:60)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:59)
    at gitbucket.core.controller.ControllerBase.withRequestResponse(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$class.handle(ScalatraBase.scala:111)
    at gitbucket.core.controller.ControllerBase.org$scalatra$servlet$ServletBase$$super$handle(ControllerBase.scala:27)
    at org.scalatra.servlet.ServletBase$class.handle(ServletBase.scala:43)
    at gitbucket.core.controller.ControllerBase.org$scalatra$FlashMapSupport$$super$handle(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply$mcV$sp(flashMap.scala:162)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$class.handle(flashMap.scala:136)
    at gitbucket.core.controller.ControllerBase.handle(ControllerBase.scala:27)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply$mcV$sp(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.ScalatraFilter$class.doFilter(ScalatraFilter.scala:32)
    at gitbucket.core.controller.ControllerBase.doFilter(ControllerBase.scala:64)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply$mcV$sp(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraBase$$anonfun$2$$anonfun$apply$4.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$$anonfun$2.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$class.runActions$1(ScalatraBase.scala:165)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply$mcV$sp(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$cradleHalt(ScalatraBase.scala:193)
    at org.scalatra.ScalatraBase$class.executeRoutes(ScalatraBase.scala:175)
    at gitbucket.core.controller.ControllerBase.executeRoutes(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply$mcV$sp(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:80)
    at gitbucket.core.controller.ControllerBase.withResponse(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:60)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:59)
    at gitbucket.core.controller.ControllerBase.withRequestResponse(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$class.handle(ScalatraBase.scala:111)
    at gitbucket.core.controller.ControllerBase.org$scalatra$servlet$ServletBase$$super$handle(ControllerBase.scala:27)
    at org.scalatra.servlet.ServletBase$class.handle(ServletBase.scala:43)
    at gitbucket.core.controller.ControllerBase.org$scalatra$FlashMapSupport$$super$handle(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply$mcV$sp(flashMap.scala:162)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$class.handle(flashMap.scala:136)
    at gitbucket.core.controller.ControllerBase.handle(ControllerBase.scala:27)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply$mcV$sp(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.ScalatraFilter$class.doFilter(ScalatraFilter.scala:32)
    at gitbucket.core.controller.ControllerBase.doFilter(ControllerBase.scala:64)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply$mcV$sp(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraBase$$anonfun$2$$anonfun$apply$4.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$$anonfun$2.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$class.runActions$1(ScalatraBase.scala:165)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply$mcV$sp(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$cradleHalt(ScalatraBase.scala:193)
    at org.scalatra.ScalatraBase$class.executeRoutes(ScalatraBase.scala:175)
    at gitbucket.core.controller.ControllerBase.executeRoutes(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply$mcV$sp(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:80)
    at gitbucket.core.controller.ControllerBase.withResponse(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:60)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:59)
    at gitbucket.core.controller.ControllerBase.withRequestResponse(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$class.handle(ScalatraBase.scala:111)
    at gitbucket.core.controller.ControllerBase.org$scalatra$servlet$ServletBase$$super$handle(ControllerBase.scala:27)
    at org.scalatra.servlet.ServletBase$class.handle(ServletBase.scala:43)
    at gitbucket.core.controller.ControllerBase.org$scalatra$FlashMapSupport$$super$handle(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply$mcV$sp(flashMap.scala:162)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$class.handle(flashMap.scala:136)
    at gitbucket.core.controller.ControllerBase.handle(ControllerBase.scala:27)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply$mcV$sp(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.ScalatraFilter$class.doFilter(ScalatraFilter.scala:32)
    at gitbucket.core.controller.ControllerBase.doFilter(ControllerBase.scala:64)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply$mcV$sp(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraFilter$$anonfun$1.apply(ScalatraFilter.scala:71)
    at org.scalatra.ScalatraBase$$anonfun$2$$anonfun$apply$4.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$$anonfun$2.apply(ScalatraBase.scala:166)
    at scala.Option.getOrElse(Option.scala:121)
    at org.scalatra.ScalatraBase$class.runActions$1(ScalatraBase.scala:165)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply$mcV$sp(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$$anonfun$executeRoutes$1.apply(ScalatraBase.scala:175)
    at org.scalatra.ScalatraBase$class.org$scalatra$ScalatraBase$$cradleHalt(ScalatraBase.scala:193)
    at org.scalatra.ScalatraBase$class.executeRoutes(ScalatraBase.scala:175)
    at gitbucket.core.controller.ControllerBase.executeRoutes(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply$mcV$sp(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at org.scalatra.ScalatraBase$$anonfun$handle$1.apply(ScalatraBase.scala:113)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withResponse(DynamicScope.scala:80)
    at gitbucket.core.controller.ControllerBase.withResponse(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$$anonfun$withRequestResponse$1.apply(DynamicScope.scala:60)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.DynamicScope$class.withRequestResponse(DynamicScope.scala:59)
    at gitbucket.core.controller.ControllerBase.withRequestResponse(ControllerBase.scala:27)
    at org.scalatra.ScalatraBase$class.handle(ScalatraBase.scala:111)
    at gitbucket.core.controller.ControllerBase.org$scalatra$servlet$ServletBase$$super$handle(ControllerBase.scala:27)
    at org.scalatra.servlet.ServletBase$class.handle(ServletBase.scala:43)
    at gitbucket.core.controller.ControllerBase.org$scalatra$FlashMapSupport$$super$handle(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply$mcV$sp(flashMap.scala:162)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at org.scalatra.FlashMapSupport$$anonfun$handle$1.apply(flashMap.scala:136)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.DynamicScope$class.withRequest(DynamicScope.scala:71)
    at gitbucket.core.controller.ControllerBase.withRequest(ControllerBase.scala:27)
    at org.scalatra.FlashMapSupport$class.handle(flashMap.scala:136)
    at gitbucket.core.controller.ControllerBase.handle(ControllerBase.scala:27)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply$mcV$sp(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at org.scalatra.ScalatraFilter$$anonfun$doFilter$1.apply(ScalatraFilter.scala:33)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at org.scalatra.ScalatraFilter$class.doFilter(ScalatraFilter.scala:32)
    at gitbucket.core.controller.ControllerBase.doFilter(ControllerBase.scala:64)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1484)
    at gitbucket.core.servlet.TransactionFilter$$anonfun$doFilter$1.apply(TransactionFilter.scala:30)
    at gitbucket.core.servlet.TransactionFilter$$anonfun$doFilter$1.apply(TransactionFilter.scala:27)
    at scala.slick.backend.DatabaseComponent$DatabaseDef$$anonfun$withTransaction$1$$anonfun$apply$1.apply(DatabaseComponent.scala:54)
    at scala.slick.jdbc.JdbcBackend$BaseSession.withTransaction(JdbcBackend.scala:426)
    at scala.slick.backend.DatabaseComponent$DatabaseDef$$anonfun$withTransaction$1.apply(DatabaseComponent.scala:54)
    at scala.slick.backend.DatabaseComponent$DatabaseDef$$anonfun$withTransaction$1.apply(DatabaseComponent.scala:54)
    at scala.slick.backend.DatabaseComponent$DatabaseDef$class.withSession(DatabaseComponent.scala:34)
    at scala.slick.jdbc.JdbcBackend$DatabaseFactoryDef$$anon$3.withSession(JdbcBackend.scala:46)
    at scala.slick.backend.DatabaseComponent$DatabaseDef$class.withTransaction(DatabaseComponent.scala:54)
    at scala.slick.jdbc.JdbcBackend$DatabaseFactoryDef$$anon$3.withTransaction(JdbcBackend.scala:46)
    at gitbucket.core.servlet.TransactionFilter.doFilter(TransactionFilter.scala:27)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1476)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
    at org.eclipse.jetty.server.Server.handle(Server.java:370)
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
    at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
    at java.lang.Thread.run(Thread.java:745)