play.api.Application$$anon$1

Execution exception[[IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null]]

Samebug tips1

If you're unit testing, you should instantiate only the service and mock the dependencies. If you're testing integration, you should add all the mocking to the configurations file.

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

Solutions on the web498

  • via Spring JIRA by Tom Persons, 9 months ago
    Execution exception[[IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null]]
  • via Spring JIRA by Tom Persons, 1 year ago
    Execution exception[[IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null]]
  • via GitHub by T00mm
    , 1 year ago
    Execution exception[[IllegalArgumentException: argument type mismatch]]
  • Stack trace

    • play.api.Application$$anon$1: Execution exception[[IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null]] at play.api.Application$class.handleError(Application.scala:296)[play_2.11-2.3.8.jar:2.3.8] at play.api.DefaultApplication.handleError(Application.scala:402)[play_2.11-2.3.8.jar:2.3.8] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320)[play_2.11-2.3.8.jar:2.3.8] at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$3$$anonfun$applyOrElse$4.apply(PlayDefaultUpstreamHandler.scala:320)[play_2.11-2.3.8.jar:2.3.8] at scala.Option.map(Option.scala:145)[scala-library-2.11.4.jar:na] Caused by: java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null at org.springframework.util.Assert.notNull(Assert.java:112)[spring-core-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.util.Assert.notNull(Assert.java:123)[spring-core-4.0.9.RELEASE.jar:4.0.9.RELEASE] at org.springframework.data.solr.core.convert.MappingSolrConverter$SolrPropertyValueProvider.readValue(MappingSolrConverter.java:341)[spring-data-solr-1.4.1.RELEASE.jar:na] at org.springframework.data.solr.core.convert.MappingSolrConverter$SolrPropertyValueProvider.readCollection(MappingSolrConverter.java:481)[spring-data-solr-1.4.1.RELEASE.jar:na] at org.springframework.data.solr.core.convert.MappingSolrConverter$SolrPropertyValueProvider.readValue(MappingSolrConverter.java:355)[spring-data-solr-1.4.1.RELEASE.jar: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

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    190 more bugmates