Uploaded image for project: 'Spring Data for Apache Cassandra'
  1. Spring Data for Apache Cassandra
  2. DATACASS-777

ConcurrentModificationException in CassandraTemplate.getTableName

    XMLWordPrintable

    Details

      Description

      Just got this:

       

      2020-06-18 12:51:26.560+0000 [http-nio-8080-exec-2] ERROR o.a.c.c.C.[.[.[/].[dispatcherServlet] vin=[] uid=[] req=[] - [log] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.util.ConcurrentModificationException] with root cause
      java.util.ConcurrentModificationException: null
      at java.base/java.util.HashMap.computeIfAbsent(Unknown Source)
      at org.springframework.data.cassandra.core.mapping.CassandraMappingContext.lambda$addPersistentEntity$3(CassandraMappingContext.java:318)
      at java.base/java.util.Optional.ifPresent(Unknown Source)
      at org.springframework.data.cassandra.core.mapping.CassandraMappingContext.addPersistentEntity(CassandraMappingContext.java:311)
      at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:248)
      at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:191)
      at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:85)
      at org.springframework.data.mapping.context.MappingContext.getRequiredPersistentEntity(MappingContext.java:73)
      at org.springframework.data.cassandra.core.EntityOperations.getRequiredPersistentEntity(EntityOperations.java:90)
      at org.springframework.data.cassandra.core.EntityOperations.getTableName(EntityOperations.java:100)
      at org.springframework.data.cassandra.core.CassandraTemplate.getTableName(CassandraTemplate.java:281)

        Attachments

          Activity

            People

            Assignee:
            mp911de Mark Paluch
            Reporter:
            cfredri4 cfredri4
            Last updater:
            Mark Paluch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              13 weeks, 3 days ago