java.lang.NullPointerException

null content [error] application - ! @6la374p0p - Internal server error, for (GET) [/contacts] -> play.api.Application$$anon$1: Execution exception[[NullPointerException: null content]]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via GitHub by shellSmart
    ,
  • Stack trace

    • java.lang.NullPointerException: null content [error] application - ! @6la374p0p - Internal server error, for (GET) [/contacts] -> play.api.Application$$anon$1: Execution exception[[NullPointerException: null content]] at play.api.Application$class.handleError(Application.scala:296)[na:na] at play.api.DefaultApplication.handleError(Application.scala:402)[na:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320)[na:na] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320)[na:na] at scala.Option.map(Option.scala:145)[na:na] Caused by: java.lang.NullPointerException: null content at play.mvc.Results$Status.<init>(Results.java:1326)[na:na] at play.mvc.Results.ok(Results.java:171)[na:na] at controllers.Application$2.apply(Application.java:42)[classes/:na] at controllers.Application$2.apply(Application.java:39)[classes/:na] at play.core.j.FPromiseHelper$$anonfun$map$1.apply(FPromiseHelper.scala:98)[na:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.