PersistentEntityResourceAssembler.wrap() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
Javadoc
Thrown to indicate that a method has been passed an illegal or inappropriate argument. @author unascribed @since JDK1.0
at org.springframework.util.Assert.notNull
(source)
at org.springframework.data.rest.webmvc.PersistentEntityResource$Builder.<init>
(source)
at org.springframework.data.rest.webmvc.PersistentEntityResource$Builder.<init>
(source)
at org.springframework.data.rest.webmvc.PersistentEntityResource.build
(source)
at org.springframework.data.rest.webmvc.PersistentEntityResourceAssembler.wrap
(source)
4 frames hidden

Typical Exception Messages

  1. PersistentEntity must not be null!

Origin

Assert.notNull() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
org.springframework.util.Assert.notNull
472Web pages

Similar

Specific cases

External results for this pattern (11)

  1. ofbizvia Spring JIRA3 months ago
    PersistentEntity must not be null!
    Show stack trace
  2. apurvvia Stack Overflow3 months ago
    PersistentEntity must not be null!
    Show stack trace
  3. Thomas Darimontvia Spring JIRA3 months ago
    PersistentEntity must not be null!
    Show stack trace
  4. Karsten Ludwig Hauservia Spring JIRA3 months ago
    PersistentEntity must not be null!
    Show stack trace
  5. SFAHvia Stack Overflow5 months ago
    PersistentEntity must not be null!
    Show stack trace
  6. drendavia Stack Overflow8 months ago
    PersistentEntity must not be null!
    Show stack trace
  7. sm4via Stack Overflow1 year ago
    PersistentEntity must not be null!
    Show stack trace
  8. PersistentEntity must not be null!
    Show stack trace