java.lang.IllegalStateException: Problem translating field private final java.util.List com.test.model.Concert.bands with properties [[SimpleProperty value=[com_test_model_Band(201)] path=bands indexed=false]]

Google Groups | Sydney | 5 years ago
  1. 0

    List activation

    Google Groups | 5 years ago | Sydney
    java.lang.IllegalStateException: Problem translating field private final java.util.List com.test.model.Concert.bands with properties [[SimpleProperty value=[com_test_model_Band(201)] path=bands indexed=false]]
  2. 0
    When you have no build parameters, uncheck 'This build is parameterized'
  3. 0

    GitHub comment 6142#257980655

    GitHub | 2 months ago | colinsurprenant
    java.lang.ClassCastException: org.logstash.bivalues.StringBiValue cannot be cast to java.util.List
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ReTrace

    proguard | 7 months ago | nates
    java.lang.ClassCastException: java.util.LinkedHashSet cannot be cast to java.util.List

    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.ClassCastException

      com.test.model.Concert cannot be cast to java.util.List

      at com.google.code.twig.standard.CollectionTranslator.createCollection()
    2. com.google.code
      TranslatorObjectDatastore.activateAll
      1. com.google.code.twig.standard.CollectionTranslator.createCollection(CollectionTranslator.java:141)
      2. com.google.code.twig.standard.CollectionTranslator.decode(CollectionTranslator.java:47)
      3. com.google.code.twig.translator.ChainedTranslator.decode(ChainedTranslator.java:75)
      4. com.google.code.twig.translator.FieldTranslator.decodeField(FieldTranslator.java:152)
      5. com.google.code.twig.standard.TranslatorObjectDatastore$ObjectFieldTranslator.decodeField(TranslatorObjectDatastore.java:963)
      6. com.google.code.twig.translator.FieldTranslator.decode(FieldTranslator.java:122)
      7. com.google.code.twig.standard.StandardDecodeCommand.entityToInstance(StandardDecodeCommand.java:119)
      8. com.google.code.twig.standard.StandardDecodeCommand.keysToInstances(StandardDecodeCommand.java:235)
      9. com.google.code.twig.standard.StandardUntypedMultipleLoadCommand.now(StandardUntypedMultipleLoadCommand.java:20)
      10. com.google.code.twig.standard.TranslatorObjectDatastore.doRefreshActivate(TranslatorObjectDatastore.java:731)
      11. com.google.code.twig.standard.TranslatorObjectDatastore.activateAll(TranslatorObjectDatastore.java:768)
      11 frames
    3. com.test
      MyConcurrencyTest.testAssociation
      1. com.test.MyConcurrencyTest.testAssociation(MyConcurrencyTest.java:73)
      1 frame
    4. 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
    5. 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
    6. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
      1 frame
    7. 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