Uploaded image for project: 'Spring Data GemFire'
  1. Spring Data GemFire
  2. SGF-494

Fix bug in GemfirePersistentEntity caused by Spring Data Commons ClassGeneratingPropertyAccessorFactory

    XMLWordPrintable

    Details

    • Sprint:
      Hopper SR2

      Description

      The SDC ClassGeneratingPropertyAccessorFactory prevents interface-based entity properties from being accessed, causing the following Exception...

      java.lang.IncompatibleClassChangeError: Found interface org.springframework.data.gemfire.repository.sample.Algorithm, but class was expected
        at org.springframework.data.gemfire.repository.sample.Algorithm_Accessor_6zeakd.getProperty(Unknown Source)
        at org.springframework.data.mapping.model.IdPropertyIdentifierAccessor.getIdentifier(IdPropertyIdentifierAccessor.java:58)
        at org.springframework.data.repository.core.support.PersistentEntityInformation.getId(PersistentEntityInformation.java:51)
        at org.springframework.data.gemfire.repository.query.DefaultGemfireEntityInformationTest.interfaceBasedEntity(DefaultGemfireEntityInformationTest.java:87)
      

      Which broke the Spring Data GemFire build.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jblum John Blum
              Reporter:
              jblum John Blum
              Last updater:
              Oliver Drotbohm Oliver Drotbohm
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0.25d Original Estimate - 0.25d
                  0.25d
                  Remaining:
                  Remaining Estimate - 1d
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified