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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Sébastien Tromp, 1 year ago
Final field private final int java.lang.String.count cannot be stored
via Google Groups by ZachIngraham, 1 year ago
Final field private final long com.pabutab.dataObjects.FoodAttribute.foodID cannot be stored
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.