java.lang.RuntimeException

Problem encoding [com.test.model.Concert@663257b8] at concerts

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web3

  • via Unknown by Sydney,
  • via Unknown by Sydney,
  • via Unknown by ricardo,
  • Stack trace

    • java.lang.RuntimeException: Problem encoding [com.test.model.Concert@663257b8] at concerts at com.google.code.twig.translator.ChainedTranslator.encode(ChainedTranslator.java:67) at com.google.code.twig.translator.FieldTranslator.encode(FieldTranslator.java:341) at com.google.code.twig.standard.StandardCommonStoreCommand.instanceToEntity(StandardCommonStoreCommand.java:329) at com.google.code.twig.standard.StandardCommonStoreCommand.instanceToKey(StandardCommonStoreCommand.java:242) at com.google.code.twig.standard.TranslatorObjectDatastore.associate(TranslatorObjectDatastore.java:551) at com.google.code.twig.standard.TranslatorObjectDatastore.associate(TranslatorObjectDatastore.java:526) at com.google.code.twig.standard.TranslatorObjectDatastore.associate(TranslatorObjectDatastore.java:519) at com.google.code.twig.standard.TranslatorObjectDatastore.associate(TranslatorObjectDatastore.java:481) at com.google.code.twig.standard.TranslatorObjectDatastore.associate(TranslatorObjectDatastore.java:475) at com.test.model.MyDao.associate(MyDao.java:59) at com.test.MyConcurrencyTest.testConcurrency(MyConcurrencyTest.java:55) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) 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:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: java.lang.RuntimeException: Problem encoding com.test.model.Concert@663257b8 at concerts at com.google.code.twig.translator.ChainedTranslator.encode(ChainedTranslator.java:67) at com.google.code.twig.standard.CollectionTranslator.encode(CollectionTranslator.java:164) at com.google.code.twig.translator.ChainedTranslator.encode(ChainedTranslator.java:57) ... 35 more Caused by: java.lang.IllegalStateException: Referenced instance com.test.model.Concert@663257b8 was not associated. at com.google.code.twig.standard.RelationTranslator.encode(RelationTranslator.java:165) at com.google.code.twig.translator.ChainedTranslator.encode(ChainedTranslator.java:57) ... 37 more

    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

    We couldn't find other users who have seen this exception.