java.lang.NullPointerException

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

Solutions on the web21858

  • via GitHub by shellSmart
    , 9 months ago
    null content [error] application - ! @6la374p0p - Internal server error, for (GET) [/contacts] -> play.api.Application$$anon$1: Execution exception[[NullPointerException: null content]]
  • null content
  • 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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.