java.lang.RuntimeException: Problem encoding [com.test.model.Concert@663257b8] at concerts

Google Groups | Sydney | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Association

    Google Groups | 5 years ago | Sydney
    java.lang.RuntimeException: Problem encoding [com.test.model.Concert@663257b8] at concerts
  2. 0

    Problem encoding runtime exception

    Google Groups | 5 years ago | Sydney
    java.lang.RuntimeException: Problem encoding [com.xxxx.server.model.domain.xxx@1f] at xxxx

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Referenced instance com.test.model.Concert@663257b8 was not associated.

      at com.google.code.twig.standard.RelationTranslator.encode()
    2. com.google.code
      TranslatorObjectDatastore.associate
      1. com.google.code.twig.standard.RelationTranslator.encode(RelationTranslator.java:165)
      2. com.google.code.twig.translator.ChainedTranslator.encode(ChainedTranslator.java:57)
      3. com.google.code.twig.standard.CollectionTranslator.encode(CollectionTranslator.java:164)
      4. com.google.code.twig.translator.ChainedTranslator.encode(ChainedTranslator.java:57)
      5. com.google.code.twig.translator.FieldTranslator.encode(FieldTranslator.java:341)
      6. com.google.code.twig.standard.StandardCommonStoreCommand.instanceToEntity(StandardCommonStoreCommand.java:329)
      7. com.google.code.twig.standard.StandardCommonStoreCommand.instanceToKey(StandardCommonStoreCommand.java:242)
      8. com.google.code.twig.standard.TranslatorObjectDatastore.associate(TranslatorObjectDatastore.java:551)
      9. com.google.code.twig.standard.TranslatorObjectDatastore.associate(TranslatorObjectDatastore.java:526)
      10. com.google.code.twig.standard.TranslatorObjectDatastore.associate(TranslatorObjectDatastore.java:519)
      11. com.google.code.twig.standard.TranslatorObjectDatastore.associate(TranslatorObjectDatastore.java:481)
      12. com.google.code.twig.standard.TranslatorObjectDatastore.associate(TranslatorObjectDatastore.java:475)
      12 frames
    3. com.test.model
      MyDao.associate
      1. com.test.model.MyDao.associate(MyDao.java:59)
      1 frame
    4. com.test
      MyConcurrencyTest.testConcurrency
      1. com.test.MyConcurrencyTest.testConcurrency(MyConcurrencyTest.java:55)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
      7. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
      9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
      10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
      11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
      12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
      13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
      14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
      15. org.junit.runners.ParentRunner.run(ParentRunner.java:300)
      15 frames
    7. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
      1 frame
    8. 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:467)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
      5 frames