java.lang.IllegalArgumentException: can't serialize class org.springframework.data.geo.Point

Spring JIRA | Thomas Darimont | 2 years ago
  1. 0

    It seems that the point given to {{Criteria.nearSphere}} isn't passed through the mapping infrastructure. {code:java} @Test public void serializePoinInCriteriaNearSphere() throws Exception { Point p = new Point(1.0, 2.0); Aggregation agg = newAggregation( match(new Criteria().andOperator(Criteria.where("eventTime").gte(1), Criteria.where("location").nearSphere(p) .maxDistance(5.0))), sort(Direction.DESC, "vanId", "eventTime"), group("vanId").first(Aggregation.ROOT).as("first")); mongoTemplate.aggregate(agg, "foo", DBObject.class); } {code} Produces: {code} java.lang.IllegalArgumentException: can't serialize class org.springframework.data.geo.Point at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:299) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:194) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:255) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:194) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:255) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:208) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:255) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:194) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:255) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:194) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:255) at org.bson.BasicBSONEncoder.putIterable(BasicBSONEncoder.java:324) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:263) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:194) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:136) at com.mongodb.DefaultDBEncoder.writeObject(DefaultDBEncoder.java:36) at com.mongodb.OutMessage.putObject(OutMessage.java:289) at com.mongodb.OutMessage.writeQuery(OutMessage.java:211) at com.mongodb.OutMessage.query(OutMessage.java:86) at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:81) at com.mongodb.DB.command(DB.java:320) at com.mongodb.DB.command(DB.java:299) at com.mongodb.DB.command(DB.java:374) at com.mongodb.DB.command(DB.java:246) at org.springframework.data.mongodb.core.MongoTemplate$2.doInDB(MongoTemplate.java:357) at org.springframework.data.mongodb.core.MongoTemplate$2.doInDB(MongoTemplate.java:1) at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:442) at org.springframework.data.mongodb.core.MongoTemplate.executeCommand(MongoTemplate.java:355) at org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1497) at org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1432) at org.springframework.data.mongodb.core.aggregation.AggregationTests.serializePoinInCriteriaNearSphere(AggregationTests.java:1083) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82) at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:239) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:224) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) {code}

    Spring JIRA | 2 years ago | Thomas Darimont
    java.lang.IllegalArgumentException: can't serialize class org.springframework.data.geo.Point
  2. 0

    It seems that the point given to {{Criteria.nearSphere}} isn't passed through the mapping infrastructure. {code:java} @Test public void serializePoinInCriteriaNearSphere() throws Exception { Point p = new Point(1.0, 2.0); Aggregation agg = newAggregation( match(new Criteria().andOperator(Criteria.where("eventTime").gte(1), Criteria.where("location").nearSphere(p) .maxDistance(5.0))), sort(Direction.DESC, "vanId", "eventTime"), group("vanId").first(Aggregation.ROOT).as("first")); mongoTemplate.aggregate(agg, "foo", DBObject.class); } {code} Produces: {code} java.lang.IllegalArgumentException: can't serialize class org.springframework.data.geo.Point at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:299) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:194) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:255) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:194) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:255) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:208) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:255) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:194) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:255) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:194) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:255) at org.bson.BasicBSONEncoder.putIterable(BasicBSONEncoder.java:324) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:263) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:194) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:136) at com.mongodb.DefaultDBEncoder.writeObject(DefaultDBEncoder.java:36) at com.mongodb.OutMessage.putObject(OutMessage.java:289) at com.mongodb.OutMessage.writeQuery(OutMessage.java:211) at com.mongodb.OutMessage.query(OutMessage.java:86) at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:81) at com.mongodb.DB.command(DB.java:320) at com.mongodb.DB.command(DB.java:299) at com.mongodb.DB.command(DB.java:374) at com.mongodb.DB.command(DB.java:246) at org.springframework.data.mongodb.core.MongoTemplate$2.doInDB(MongoTemplate.java:357) at org.springframework.data.mongodb.core.MongoTemplate$2.doInDB(MongoTemplate.java:1) at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:442) at org.springframework.data.mongodb.core.MongoTemplate.executeCommand(MongoTemplate.java:355) at org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1497) at org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1432) at org.springframework.data.mongodb.core.aggregation.AggregationTests.serializePoinInCriteriaNearSphere(AggregationTests.java:1083) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82) at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:239) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:224) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192) {code}

    Spring JIRA | 2 years ago | Thomas Darimont
    java.lang.IllegalArgumentException: can't serialize class org.springframework.data.geo.Point
  3. 0

    Spring Data MongoDB NearQuery EnumList IllegalArgumentException

    Stack Overflow | 2 years ago
    java.lang.IllegalArgumentException: can't serialize class com.testarea.model.enums.TestEnum
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I have an aggregation pipeline with two stages (match, project) and a custom converter for the entity being matched by. When {{MongoTemplate#aggregate}} is called with {{Aggregation.newAggregation(match, project)}} everything works as expected, but when it is called with {{Aggregation.newAggregation(project, match)}} appears the following exception: {code} Exception in thread "main" java.lang.IllegalArgumentException: can't serialize class MatchAfterProjectIssue$Age at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:272) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:173) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:228) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:173) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:228) at org.bson.BasicBSONEncoder.putIterable(BasicBSONEncoder.java:297) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:236) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:173) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:119) at com.mongodb.DefaultDBEncoder.writeObject(DefaultDBEncoder.java:27) at com.mongodb.OutMessage.putObject(OutMessage.java:289) at com.mongodb.OutMessage.writeQuery(OutMessage.java:211) at com.mongodb.OutMessage.query(OutMessage.java:84) at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:285) at com.mongodb.DB.command(DB.java:262) at com.mongodb.DB.command(DB.java:244) at com.mongodb.DB.command(DB.java:301) at com.mongodb.DB.command(DB.java:199) at org.springframework.data.mongodb.core.MongoTemplate$1.doInDB(MongoTemplate.java:323) at org.springframework.data.mongodb.core.MongoTemplate$1.doInDB(MongoTemplate.java:321) at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:391) at org.springframework.data.mongodb.core.MongoTemplate.executeCommand(MongoTemplate.java:321) at org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1328) at org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1305) {code} Looks like this happens because the project stage, being first, sets the {{AggregationOperationContext}} to the newly created {{ExposedFieldsAggregationOperationContext}} which does not use custom converters. When match stage goes first it uses the proper {{AggregationOperationContext}} - {{TypeBasedAggregationOperationContext}}. The relevant code is {{Aggregation#toDbObject}} method. Attached gist and file contains code to reproduce the problem. Thank you!

    Spring JIRA | 3 years ago | Konstantin Lutovich
    java.lang.IllegalArgumentException: can't serialize class MatchAfterProjectIssue$Age
  6. 0

    I have an aggregation pipeline with two stages (match, project) and a custom converter for the entity being matched by. When {{MongoTemplate#aggregate}} is called with {{Aggregation.newAggregation(match, project)}} everything works as expected, but when it is called with {{Aggregation.newAggregation(project, match)}} appears the following exception: {code} Exception in thread "main" java.lang.IllegalArgumentException: can't serialize class MatchAfterProjectIssue$Age at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:272) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:173) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:228) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:173) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:228) at org.bson.BasicBSONEncoder.putIterable(BasicBSONEncoder.java:297) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:236) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:173) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:119) at com.mongodb.DefaultDBEncoder.writeObject(DefaultDBEncoder.java:27) at com.mongodb.OutMessage.putObject(OutMessage.java:289) at com.mongodb.OutMessage.writeQuery(OutMessage.java:211) at com.mongodb.OutMessage.query(OutMessage.java:84) at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:285) at com.mongodb.DB.command(DB.java:262) at com.mongodb.DB.command(DB.java:244) at com.mongodb.DB.command(DB.java:301) at com.mongodb.DB.command(DB.java:199) at org.springframework.data.mongodb.core.MongoTemplate$1.doInDB(MongoTemplate.java:323) at org.springframework.data.mongodb.core.MongoTemplate$1.doInDB(MongoTemplate.java:321) at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:391) at org.springframework.data.mongodb.core.MongoTemplate.executeCommand(MongoTemplate.java:321) at org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1328) at org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1305) {code} Looks like this happens because the project stage, being first, sets the {{AggregationOperationContext}} to the newly created {{ExposedFieldsAggregationOperationContext}} which does not use custom converters. When match stage goes first it uses the proper {{AggregationOperationContext}} - {{TypeBasedAggregationOperationContext}}. The relevant code is {{Aggregation#toDbObject}} method. Attached gist and file contains code to reproduce the problem. Thank you!

    Spring JIRA | 3 years ago | Konstantin Lutovich
    java.lang.IllegalArgumentException: can't serialize class MatchAfterProjectIssue$Age

    1 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

      can't serialize class org.springframework.data.geo.Point

      at org.bson.BasicBSONEncoder._putObjectField()
    2. MongoDB Java Driver
      DB.command
      1. org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:299)
      2. org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:194)
      3. org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:255)
      4. org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:194)
      5. org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:255)
      6. org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:208)
      7. org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:255)
      8. org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:194)
      9. org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:255)
      10. org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:194)
      11. org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:255)
      12. org.bson.BasicBSONEncoder.putIterable(BasicBSONEncoder.java:324)
      13. org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:263)
      14. org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:194)
      15. org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:136)
      16. com.mongodb.DefaultDBEncoder.writeObject(DefaultDBEncoder.java:36)
      17. com.mongodb.OutMessage.putObject(OutMessage.java:289)
      18. com.mongodb.OutMessage.writeQuery(OutMessage.java:211)
      19. com.mongodb.OutMessage.query(OutMessage.java:86)
      20. com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:81)
      21. com.mongodb.DB.command(DB.java:320)
      22. com.mongodb.DB.command(DB.java:299)
      23. com.mongodb.DB.command(DB.java:374)
      24. com.mongodb.DB.command(DB.java:246)
      24 frames
    3. Spring Data MongoDB - Core
      AggregationTests.serializePoinInCriteriaNearSphere
      1. org.springframework.data.mongodb.core.MongoTemplate$2.doInDB(MongoTemplate.java:357)
      2. org.springframework.data.mongodb.core.MongoTemplate$2.doInDB(MongoTemplate.java:1)
      3. org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:442)
      4. org.springframework.data.mongodb.core.MongoTemplate.executeCommand(MongoTemplate.java:355)
      5. org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1497)
      6. org.springframework.data.mongodb.core.MongoTemplate.aggregate(MongoTemplate.java:1432)
      7. org.springframework.data.mongodb.core.aggregation.AggregationTests.serializePoinInCriteriaNearSphere(AggregationTests.java:1083)
      7 frames
    4. 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:497)
      4 frames
    5. JUnit
      RunBefores.evaluate
      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.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      5 frames
    6. Spring TestContext
      RunBeforeTestMethodCallbacks.evaluate
      1. org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:73)
      1 frame
    7. JUnit
      RunAfters.evaluate
      1. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      1 frame
    8. Spring TestContext
      RunAfterTestMethodCallbacks.evaluate
      1. org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:82)
      1 frame
    9. JUnit
      RunRules.evaluate
      1. org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:239)
      2. org.junit.rules.RunRules.evaluate(RunRules.java:20)
      2 frames
    10. Spring TestContext
      SpringRepeat.evaluate
      1. org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:73)
      1 frame
    11. JUnit
      ParentRunner.runLeaf
      1. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      1 frame
    12. Spring TestContext
      SpringJUnit4ClassRunner.runChild
      1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:224)
      2. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83)
      2 frames
    13. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      5 frames
    14. Spring TestContext
      RunAfterTestClassCallbacks.evaluate
      1. org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
      2. org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68)
      2 frames
    15. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      1 frame
    16. Spring TestContext
      SpringJUnit4ClassRunner.run
      1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163)
      1 frame
    17. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
      1 frame
    18. 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:675)
      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