java.lang.IllegalArgumentException: No field annotated with interface org.springframework.data.annotation.Id found!

GitHub | neilstevenson | 4 months ago
  1. 0

    GitHub comment 24#234978253

    GitHub | 4 months ago | neilstevenson
    java.lang.IllegalArgumentException: No field annotated with interface org.springframework.data.annotation.Id found!
  2. 0

    GitHub comment 13#254308257

    GitHub | 2 months ago | neilstevenson
    java.lang.IllegalArgumentException: No field annotated with interface org.springframework.data.annotation.Id found!
  3. 0

    NPE if @Id omitted

    GitHub | 4 months ago | neilstevenson
    java.lang.IllegalArgumentException: No field annotated with interface org.springframework.data.annotation.Id found!
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NPE if @Id omitted

    GitHub | 2 months ago | neilstevenson
    java.lang.IllegalArgumentException: No field annotated with interface org.springframework.data.annotation.Id found!

  1. batwalrus76 4 times, last 2 weeks ago
  2. serious2monkeys 1 times, last 2 weeks ago
  3. tvrmsmith 1 times, last 3 weeks ago
  4. fima 1 times, last 2 months ago
  5. dafman 2 times, last 2 months ago
8 more registered users
87 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    No field annotated with interface org.springframework.data.annotation.Id found!

    at org.springframework.util.Assert.notNull()
  2. Spring Core
    Assert.notNull
    1. org.springframework.util.Assert.notNull(Assert.java:115)
    1 frame
  3. Spring Data Core
    ReflectionEntityInformation.<init>
    1. org.springframework.data.repository.core.support.ReflectionEntityInformation.<init>(ReflectionEntityInformation.java:72)
    2. org.springframework.data.repository.core.support.ReflectionEntityInformation.<init>(ReflectionEntityInformation.java:48)
    2 frames
  4. org.springframework.data
    SimpleKeyValueRepositoryUnitTests.setUp
    1. org.springframework.data.keyvalue.repository.SimpleKeyValueRepositoryUnitTests.setUp(SimpleKeyValueRepositoryUnitTests.java:49)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  6. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
    5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    13. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    13 frames
  7. Mockito
    MockitoJUnitRunner.run
    1. org.mockito.internal.runners.JUnit45AndHigherRunnerImpl.run(JUnit45AndHigherRunnerImpl.java:37)
    2. org.mockito.runners.MockitoJUnitRunner.run(MockitoJUnitRunner.java:62)
    2 frames
  8. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    1 frame
  9. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
    5 frames