java.lang.IllegalStateException: Could not set value [] to field private java.util.Set com.test.Foo.items

Google Groups | Miroslav Genov | 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

    Set<String> is decoded as ArrayList<String> ?

    Google Groups | 5 years ago | Miroslav Genov
    java.lang.IllegalStateException: Could not set value [] to field private java.util.Set com.test.Foo.items
  2. 0

    Issue With Fetching Complex Object

    Google Groups | 6 years ago | dedee
    java.lang.IllegalStateException: Problem translating field private java.util.List org.fluid.server.core.gae.model.app.Application.modules with properties [[SimpleProperty value=[org_fluid_server_core_gae_model_tenant_Tenant(10001)/ org_fluid_server_core_gae_model_app_Application(1)/ org_fluid_server_core_gae_model_app_Module(1001)] path=modules indexed=false]]

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Could not set value [] to field private java.util.Set com.test.Foo.items

      at com.google.code.twig.translator.FieldTranslator.setFieldValue()
    2. com.google.code
      StandardDecodeCommand$1.next
      1. com.google.code.twig.translator.FieldTranslator.setFieldValue(FieldTranslator.java:201)
      2. com.google.code.twig.translator.FieldTranslator.decodeField(FieldTranslator.java:188)
      3. com.google.code.twig.standard.TranslatorObjectDatastore$ObjectFieldTranslator.decodeField(TranslatorObjectDatastore.java:981)
      4. com.google.code.twig.translator.FieldTranslator.decode(FieldTranslator.java:127)
      5. com.google.code.twig.standard.StandardDecodeCommand.entityToInstance(StandardDecodeCommand.java:118)
      6. com.google.code.twig.standard.StandardDecodeCommand$1.next(StandardDecodeCommand.java:180)
      6 frames
    3. Guava
      Lists.newArrayList
      1. com.google.common.collect.ForwardingIterator.next(ForwardingIterator.java:48)
      2. com.google.common.collect.Lists.newArrayList(Lists.java:145)
      2 frames
    4. com.google.code
      StandardRootFindCommand$3.now
      1. com.google.code.twig.standard.StandardRootFindCommand$3.now(StandardRootFindCommand.java:278)
      2. com.google.code.twig.standard.StandardRootFindCommand$3.now(StandardRootFindCommand.java:274)
      2 frames