java.lang.IllegalStateException

Final field private final int java.lang.String.count cannot be stored

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web6778

  • via Google Groups by Sébastien Tromp, 6 months ago
    Final field private final int java.lang.String.count cannot be stored
  • via Google Groups by ZachIngraham, 6 months ago
    Final field private final long com.pabutab.dataObjects.FoodAttribute.foodID cannot be stored
  • via Google Groups by Harsh Jegadeesan, 1 year ago
    Final field private final char java.lang.Character.value cannot be stored
  • Stack trace

    • java.lang.IllegalStateException: Final field private final int java.lang.String.count cannot be stored at com.google.code.twig.annotation.AnnotationConfiguration.store(AnnotationConfiguration.java:126) at com.google.code.twig.standard.TranslatorObjectDatastore$ConfigurationFieldTranslator.stored(TranslatorObjectDatastore.java:673) at com.google.code.twig.translator.FieldTranslator.encode(FieldTranslator.java:333) at com.google.code.twig.standard.StandardCommonStoreCommand.instanceToEntity(StandardCommonStoreCommand.java:284) at com.google.code.twig.standard.StandardCommonStoreCommand.instancesToEntities(StandardCommonStoreCommand.java:197) at com.google.code.twig.standard.StandardMultipleStoreCommand.now(StandardMultipleStoreCommand.java:31) at com.google.code.twig.standard.RelationTranslator.instancesToKeys(RelationTranslator.java:189) at com.google.code.twig.standard.RelationTranslator.access$000(RelationTranslator.java:26) at com.google.code.twig.standard.RelationTranslator$1.get(RelationTranslator.java:131) at com.google.code.twig.standard.RelationTranslator$1.get(RelationTranslator.java:125) at com.google.code.twig.standard.StandardEncodeCommand.dereferencePropertyValue(StandardEncodeCommand.java:58) at com.google.code.twig.standard.StandardEncodeCommand.transferProperties(StandardEncodeCommand.java:41) at com.google.code.twig.standard.StandardCommonStoreCommand.instanceToEntity(StandardCommonStoreCommand.java:294) at com.google.code.twig.standard.StandardSingleStoreCommand.now(StandardSingleStoreCommand.java:58) at com.google.code.twig.standard.TranslatorObjectDatastore.store(TranslatorObjectDatastore.java:161) at com.fiveorbs.server.access.embeddedmap.TestEmbeddedMapPersistence.testEmbeddedMap(TestEmbeddedMapPersistence.java:27)

    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

    You’re the first here who have seen this exception.